/* ===================================
   Zeko Cleaning Services - Luxury Styles
   =================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --color-primary: #1a2744;
    --color-primary-light: #2a3a5c;
    --color-gold: #c9a962;
    --color-gold-light: #d4b97a;
    --color-cream: #faf8f5;
    --color-cream-dark: #f0ede8;
    --color-white: #ffffff;
    --color-text: #3a3a3a;
    --color-text-light: #6b6b6b;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(26, 39, 68, 0.08);
    --shadow-medium: 0 8px 40px rgba(26, 39, 68, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-primary);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.section-label-light {
    color: var(--color-gold-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-title-light {
    color: var(--color-white);
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 40px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 16px 0;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.05em;
    transition: color var(--transition-medium);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-medium);
}

.navbar.scrolled .logo-text {
    color: var(--color-primary);
}

.navbar.scrolled .logo-sub {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-medium);
}

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

.navbar.scrolled .nav-link {
    color: var(--color-primary);
}

.nav-link-cta {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-primary);
}

.navbar.scrolled .nav-link-cta {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.navbar.scrolled .nav-link-cta:hover {
    background-color: var(--color-gold);
    color: var(--color-primary);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background-color: var(--color-primary);
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 39, 68, 0.4) 0%,
        rgba(26, 39, 68, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 var(--container-padding);
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ===================================
   About Section
   =================================== */
.about {
    background-color: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding-left: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-cream-dark);
}

.feature {
    text-align: center;
}

.feature-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.feature-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    text-transform: uppercase;
}

/* ===================================
   Services Section
   =================================== */
.services {
    position: relative;
    background-color: var(--color-primary);
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.services-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 39, 68, 0.95) 0%,
        rgba(26, 39, 68, 0.85) 100%
    );
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-medium);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: var(--color-gold);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--color-gold);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 16px;
    font-weight: 500;
}

.service-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us {
    background-color: var(--color-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 20px;
}

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--color-gold);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.why-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.testimonials-image {
    position: absolute;
    inset: 0;
}

.testimonials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 39, 68, 0.9) 0%,
        rgba(26, 39, 68, 0.7) 50%,
        rgba(26, 39, 68, 0.4) 100%
    );
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-content {
    max-width: 600px;
}

.testimonial-card {
    margin-top: 40px;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
    padding-left: 30px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 30px;
}

.author-name {
    font-weight: 600;
    color: var(--color-white);
}

.author-location {
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    padding-left: 20px;
}

.author-location::before {
    content: '—';
    position: absolute;
    left: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background-color: var(--color-cream);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content .contact-details {
    display: inline-flex;
    flex-direction: column;
    text-align: left;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.contact-value {
    font-size: 1rem;
    color: var(--color-primary);
}

a.contact-value:hover {
    color: var(--color-gold);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-primary);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo-text {
    color: var(--color-white);
}

.footer .logo-sub {
    color: var(--color-gold);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 1.25rem;
        color: var(--color-white);
    }

    .nav-link-cta {
        border-color: var(--color-gold);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content {
        padding-left: 0;
    }

    .about-features {
        justify-content: center;
    }

    .image-accent {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Testimonials */
    .testimonials-overlay {
        background: rgba(26, 39, 68, 0.85);
    }

    .testimonial-quote {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-features {
        flex-direction: column;
        gap: 24px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 0.8rem;
    }
}
