/* ========================================
   Gary Drake Dryer Vent Cleaning
   Classic & Elegant — Emerald + Cream
   ======================================== */

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

:root {
    --emerald-900: #0d3b25;
    --emerald-800: #1a5c3a;
    --emerald-700: #227a4d;
    --emerald-600: #2d925f;
    --emerald-500: #3da86e;
    --cream-100: #faf8f4;
    --cream-200: #f5f0e8;
    --cream-300: #ebe4d6;
    --cream-400: #e0d5c0;
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 92, 58, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--emerald-800);
}

.logo-icon {
    color: var(--emerald-800);
}

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

.logo-name {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-900);
}

.logo-tagline {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-700);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--emerald-800);
}

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

.nav-cta {
    background-color: var(--emerald-800);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background-color: var(--emerald-700);
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 37, 0.82) 0%,
        rgba(26, 92, 58, 0.72) 50%,
        rgba(13, 59, 37, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.8);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(250, 248, 244, 0.85);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(250, 248, 244, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Trust Bar --- */
.trust-bar {
    background: var(--emerald-900);
    padding: 32px 0;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream-200);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid var(--cream-300);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-500);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--cream-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-800);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--emerald-800);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--cream-200);
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.why-content .section-title {
    margin-bottom: 20px;
}

.why-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

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

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-feature h4 {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.why-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--cream-100);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -16px;
    width: 32px;
    height: 1.5px;
    background: var(--cream-400);
}

.step-number {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--emerald-300);
    color: var(--cream-400);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--cream-200);
}

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

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/500;
}

/* --- Safety Banner --- */
.safety-banner {
    background: var(--emerald-800);
    padding: 72px 0;
}

.safety-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.safety-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 12px;
}

.safety-text p {
    font-size: 1.05rem;
    color: rgba(250, 248, 244, 0.8);
    line-height: 1.7;
}

.safety-banner .btn-primary {
    background: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
    flex-shrink: 0;
}

.safety-banner .btn-primary:hover {
    background: var(--cream-200);
    border-color: var(--cream-200);
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--cream-100);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--cream-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-800);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-detail a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--emerald-800);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--emerald-600);
}

.contact-detail span {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--cream-300);
    box-shadow: var(--shadow-sm);
}

.contact-form h3,
.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--cream-400);
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--cream-100);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-700);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 20px;
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: var(--cream-200);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.logo-light {
    color: var(--cream-200);
    margin-bottom: 16px;
}

.logo-light .logo-name {
    color: var(--cream-100);
}

.logo-light .logo-tagline {
    color: var(--text-muted);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream-400);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--cream-300);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .why-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-image {
        max-width: 500px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        inset: 0;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .nav-list a {
        font-size: 1.1rem;
    }
    
    .nav-cta {
        margin-top: 8px;
    }
    
    .hero-headline br {
        display: block;
    }
    
    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .safety-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .trust-item {
        justify-content: flex-start;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
