/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-950: #041C0F;
    --emerald-900: #072E18;
    --emerald-800: #0B4A26;
    --emerald-700: #1B4332;
    --emerald-600: #2D6A4F;
    --emerald-500: #40916C;
    --cream-50: #FAF8F5;
    --cream-100: #F5F0E8;
    --cream-200: #EDE5D5;
    --cream-300: #E0D5C0;
    --gold-400: #D4A853;
    --gold-500: #C49A3C;
    --gold-600: #B8860B;
    --text-dark: #1A1A1A;
    --text-medium: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', Georgia, 'Times New Roman', serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.nav-logo-accent {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-logo-main {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-800);
    letter-spacing: -0.01em;
}

.nav-logo-sub {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--emerald-600);
    letter-spacing: 0.04em;
}

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

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: color var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--emerald-700);
}

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

.nav-link--cta {
    background: var(--emerald-700);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
}

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

.nav-link--cta:hover {
    background: var(--emerald-800);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--emerald-800);
    transition: transform var(--transition), opacity 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;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 28, 15, 0.55) 0%,
        rgba(11, 74, 38, 0.65) 50%,
        rgba(4, 28, 15, 0.80) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-400);
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn--dark {
    background: var(--emerald-700);
    color: var(--white);
}

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

.btn--full {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    animation: gentle-bounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    color: var(--white);
}

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

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--emerald-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--cream-200);
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
    margin-bottom: 24px;
    color: var(--white);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 12px;
}

.service-card-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.about-image-wrapper {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    max-width: 480px;
}

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

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-feature svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 74, 38, 0.3), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

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

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

.testimonials .section-eyebrow {
    color: var(--gold-400);
}

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

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

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

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--gold-400);
    position: absolute;
    top: 20px;
    left: 28px;
    opacity: 0.5;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin-bottom: 24px;
    margin-top: 20px;
}

.testimonial-author {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-400);
    letter-spacing: 0.05em;
}

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

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

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

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

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--emerald-700);
    color: var(--white);
    flex-shrink: 0;
}

.contact-detail-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--emerald-700);
    transition: color var(--transition);
}

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

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid var(--cream-200);
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 28px;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.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 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

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

.form-success svg {
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 8px;
}

.form-success-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--emerald-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo-main {
    color: var(--white);
}

.footer-brand .nav-logo-accent {
    color: var(--gold-400);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        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;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--cream-200);
        font-size: 1rem;
    }

    .nav-link:last-of-type {
        border-bottom: none;
        margin-top: 8px;
    }

    .nav-link--cta {
        text-align: center;
        margin-top: 8px;
    }

    .hero-headline {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

    .about-image-accent {
        top: -12px;
        left: -12px;
    }

    .about-content {
        max-width: 100%;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
