/* Eyeseeyou Car Wash - Clean & Modern Theme */

:root {
    /* Logo Colors */
    --primary: #1ba1e2; /* Bright Blue */
    --primary-dark: #1282b8;
    --secondary: #008d75; /* Teal/Green-blue */
    
    /* Grays & Neutrals */
    --white: #ffffff;
    --bg-light: #f8fafc; /* Very light gray for alternate sections */
    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --border: #e2e8f0; /* Slate 200 */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Common Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.title-underline {
    height: 4px;
    width: 60px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.title-underline.left {
    margin-left: 0;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
}

/* Navigation Element */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
    box-shadow: var(--shadow-sm);
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Split Layout Hero Section */
.hero {
    padding-top: 120px; /* offset for fixed navbar */
    padding-bottom: 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    margin-bottom: 3rem;
}

/* Badges */
.payment-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
}

.badge i {
    color: var(--primary);
}

/* Hero Image Side */
.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(27, 161, 226, 0.39);
}

.cta-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 161, 226, 0.4);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.card-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.service-info {
    padding: 2rem;
    flex: 1;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features List */
.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.features-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 3rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-list li:hover .icon-box {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.feature-desc {
    padding-top: 0.25rem;
}

.feature-desc strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-desc p {
    color: var(--text-muted);
}

/* App Promo Card */
.app-promo-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #006050 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.app-promo-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.app-promo-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.app-btn {
    width: 100%;
    max-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn.apple {
    background-color: #000;
    color: #fff;
}

.app-btn.google {
    background-color: #fff;
    color: #000;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Location Header Grid */
.location-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.location-header .location-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.location-header .address {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer Section */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-container, .features-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-actions {
        display: flex;
        justify-content: center;
    }
    
    .payment-badges {
        justify-content: center;
    }

    .title-underline.left {
        margin: 0 auto 1.5rem;
    }
    
    .features-text {
        text-align: center;
    }
    
    .feature-list li {
        text-align: left;
    }
    
    .location-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

/* ========================================= */
/* Blog Section Styles */
/* ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.blog-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Single Blog Post Layout */
.blog-post {
    background-color: var(--white);
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 3rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary);
}

.blog-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 1rem;
}

.blog-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.blog-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.blog-body strong {
    color: var(--primary-dark);
}

.blog-cta {
    margin-top: 5rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.blog-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .blog-body p {
        font-size: 1.05rem;
    }
}
