/* ========================================
   Acadiana Home Works — Styles
   Classic & Elegant | Emerald + Cream
======================================== */

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

:root {
    --emerald-900: #064E3B;
    --emerald-800: #065F46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #FDFCF8;
    --cream-100: #F5F5DC;
    --cream-200: #EBEBC8;
    --cream-300: #E8E4C9;
    --text-dark: #1A1A1A;
    --text-medium: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
    --shadow-md: 0 4px 20px rgba(6, 78, 59, 0.1);
    --shadow-lg: 0 10px 40px rgba(6, 78, 59, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--emerald-900);
    color: var(--cream-100);
    border-color: var(--emerald-900);
}

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

.btn-outline {
    background: transparent;
    color: var(--cream-100);
    border-color: var(--cream-100);
}

.btn-outline:hover {
    background: var(--cream-100);
    color: var(--emerald-900);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Section Headers --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    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);
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}

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

.section-header--centered {
    text-align: center;
}

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

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

.navbar.scrolled {
    background: rgba(253, 252, 248, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-100);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo-text {
    color: var(--emerald-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.938rem;
    font-weight: 500;
    color: rgba(245, 245, 220, 0.85);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cream-100);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--cream-100);
}

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

.navbar.scrolled .nav-link::after {
    background: var(--emerald-700);
}

.navbar.scrolled .nav-link:hover {
    color: var(--emerald-900);
}

.nav-cta {
    background: var(--cream-100);
    color: var(--emerald-900) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
}

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

.nav-cta:hover {
    background: var(--white);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    background: var(--emerald-900);
    color: var(--cream-100) !important;
}

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

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

.navbar.scrolled .nav-toggle-bar {
    background: var(--emerald-900);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #047857 0%,
        #064E3B 25%,
        #065F46 50%,
        #047857 75%,
        #022C22 100%
    );
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(5, 150, 105, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 95, 70, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(4, 120, 87, 0.3) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5F5DC' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 245, 220, 0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--cream-100);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--cream-200);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(245, 245, 220, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(245, 245, 220, 0.7);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 245, 220, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

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

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid rgba(6, 78, 59, 0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 78, 59, 0.12);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--emerald-900);
}

.service-description {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    width: 100%;
    height: 700px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--emerald-900);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.1;
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(6, 78, 59, 0.12);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--emerald-900);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--text-light);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    background: rgba(6, 78, 59, 0.15);
    align-self: stretch;
}

/* ========================================
   WHY US SECTION
======================================== */
.why-us {
    padding: 100px 0;
    background: var(--cream-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.why-card {
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(6, 78, 59, 0.06);
    transition: var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(6, 78, 59, 0.12);
}

.why-card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(6, 78, 59, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--emerald-900);
}

.why-card-text {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--emerald-900);
}

.testimonials .section-eyebrow {
    color: rgba(245, 245, 220, 0.6);
}

.testimonials .section-title {
    color: var(--cream-100);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 245, 220, 0.1);
    border-radius: 8px;
    padding: 40px 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 0.938rem;
    color: rgba(245, 245, 220, 0.85);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    color: rgba(245, 245, 220, 0.5);
    font-style: normal;
}

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

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

.contact-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 10px;
    flex-shrink: 0;
}

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

.contact-value {
    font-size: 1rem;
    color: var(--emerald-900);
    font-weight: 500;
}

.contact-value:hover {
    color: var(--emerald-700);
}

.contact-hours {
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(6, 78, 59, 0.06);
}

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

.contact-hours-text {
    font-size: 0.938rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(6, 78, 59, 0.06);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--emerald-900);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(6, 78, 59, 0.15);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    color: var(--text-dark);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-700);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.08);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23064E3B'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 8px;
    margin-top: 20px;
}

.form-success.show {
    display: flex;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--emerald-900);
}

/* ========================================
   MAP SECTION
======================================== */
.map-section {
    background: var(--emerald-900);
}

.map-container {
    opacity: 0.9;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--emerald-900);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-100);
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(245, 245, 220, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 245, 220, 0.5);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-links li {
    font-size: 0.938rem;
    color: rgba(245, 245, 220, 0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 245, 220, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(245, 245, 220, 0.4);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    max-width: 500px;
    text-align: right;
}

/* ========================================
   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);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--emerald-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: rgba(245, 245, 220, 0.85) !important;
        font-size: 1.125rem;
    }
    
    .nav-link::after {
        background: var(--cream-100) !important;
    }
    
    .nav-cta {
        background: var(--cream-100) !important;
        color: var(--emerald-900) !important;
        margin-top: 8px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
    }
    
    .stat-item {
        text-align: center;
    }
}
