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

:root {
    --forest: #1a3c2a;
    --forest-light: #2d5a3f;
    --forest-dark: #0f2419;
    --off-white: #f8f6f1;
    --cream: #efede6;
    --warm-gray: #6b6560;
    --text-dark: #1a1a18;
    --text-light: #f8f6f1;
    --line: rgba(26, 60, 42, 0.12);
    --line-strong: rgba(26, 60, 42, 0.25);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(26, 60, 42, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 60, 42, 0.1);
    --shadow-lg: 0 20px 60px rgba(26, 60, 42, 0.12);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

.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(248, 246, 241, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(248, 246, 241, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--forest);
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1.5px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--forest);
    color: var(--text-light);
}

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

.btn-outline {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--forest);
}

.btn-outline:hover {
    background: var(--forest);
    color: var(--text-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--forest);
    color: var(--forest);
}

.btn-full {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 60, 42, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    background: rgba(26, 60, 42, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--forest);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-card {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: float 6s ease-in-out infinite;
}

.floating-card.stat-1 {
    bottom: 60px;
    left: -40px;
    animation-delay: 0s;
}

.floating-card.stat-2 {
    top: 80px;
    right: -30px;
    animation-delay: 2s;
}

.floating-card.stat-3 {
    bottom: -20px;
    right: 40px;
    animation-delay: 4s;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--forest);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

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

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.2;
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: var(--off-white);
}

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

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 28px;
    border: 1px solid var(--line);
    transition: var(--transition);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(26, 60, 42, 0.08);
    color: var(--forest);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest);
    color: var(--text-light);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

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

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

.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: 3/4;
}

.about-content .section-tag {
    text-align: left;
}

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

.about-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.feature-item svg {
    color: var(--forest);
    flex-shrink: 0;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 120px 0;
    background: var(--off-white);
}

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

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: auto;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img { aspect-ratio: 4/5; }
.gallery-item:nth-child(3) img { aspect-ratio: 4/5.5; }
.gallery-item:nth-child(4) img { aspect-ratio: 4/4.5; }
.gallery-item:nth-child(5) img { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) img { aspect-ratio: 1; }
.gallery-item:nth-child(6) img { aspect-ratio: 1; }

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

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--forest);
}

.testimonials .section-tag {
    color: rgba(248, 246, 241, 0.6);
}

.testimonials .section-title {
    color: var(--text-light);
    margin-bottom: 64px;
}

.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(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}

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

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(248, 246, 241, 0.3);
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(248, 246, 241, 0.85);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248, 246, 241, 0.5);
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

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

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 40px;
}

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

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

.contact-item svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--forest);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--forest-light);
    text-decoration: underline;
}

/* ===== FORM ===== */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray);
    opacity: 0.6;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(26, 60, 42, 0.06);
    border-radius: 8px;
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 400;
}

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

.form-success svg {
    flex-shrink: 0;
}

/* ===== MAP ===== */
.map-section {
    border-top: 1px solid var(--line);
}

.map-section iframe {
    filter: grayscale(0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--forest-dark);
    color: var(--text-light);
    padding: 80px 0 0;
}

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

.footer .logo {
    color: var(--text-light);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(248, 246, 241, 0.6);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(248, 246, 241, 0.6);
    transition: var(--transition);
}

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

.footer-contact p,
.footer-hours p {
    font-size: 0.85rem;
    color: rgba(248, 246, 241, 0.6);
    line-height: 1.7;
    margin-bottom: 4px;
}

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

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

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

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(248, 246, 241, 0.4);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* For reduced motion preference, ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    .floating-card {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        height: 450px;
        order: -1;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

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

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

    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-text {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248, 246, 241, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-visual {
        height: 350px;
    }

    .floating-card.stat-1 {
        left: 10px;
        bottom: 30px;
    }

    .floating-card.stat-2 {
        right: 10px;
        top: 30px;
    }

    .floating-card.stat-3 {
        right: 10px;
        bottom: 0;
    }

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

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

    .gallery-item:nth-child(1) {
        grid-row: span 1;
    }

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

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

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
    }

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

    .floating-card {
        padding: 14px 18px;
    }

    .stat-number {
        font-size: 1.4rem;
    }
}
