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

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

body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

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

/* ── Navigation ── */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 52, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-scrolled .nav-link {
    color: #1a3c34;
}

.nav-link {
    color: #2d4a3d;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #4a7f64;
    transition: width 0.3s ease;
}

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

/* ── Mobile Menu ── */
.mobile-menu {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    pointer-events: all;
    opacity: 1;
}

.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ── Hero ── */
.hero {
    position: relative;
    background: #1a3c34;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 38, 30, 0.6) 0%,
        rgba(26, 60, 52, 0.7) 50%,
        rgba(15, 38, 30, 0.85) 100%
    );
}

.hero-content {
    padding: 0 1rem;
    max-width: 900px;
}

.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-headline {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-sub {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary-inner {
    display: inline-block;
    padding: 16px 40px;
    background: #1a3c34;
    color: #FAFAF7;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    border: 1px solid #1a3c34;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover .btn-primary-inner {
    background: transparent;
    color: #FAFAF7;
}

.btn-secondary {
    display: inline-block;
}

.btn-secondary-inner {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: #bcd4c8;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    border: 1px solid rgba(188, 212, 200, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover .btn-secondary-inner {
    border-color: #bcd4c8;
    background: rgba(188, 212, 200, 0.1);
}

/* ── Scroll Indicator ── */
.hero-scroll {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.scroll-text {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

.scroll-icon {
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Divider ── */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26, 60, 52, 0.15), transparent);
    margin: 0;
}

/* ── Section Header ── */
.eyebrow {
    font-family: 'Montserrat', sans-serif;
}

/* ── Service Cards ── */
.service-card {
    background: #FAFAF7;
    transition: all 0.3s ease;
}

.service-icon svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-link {
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4a7f64;
    transition: width 0.3s ease;
}

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

/* ── Gallery ── */
.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 60, 52, 0);
    transition: background 0.4s ease;
}

.gallery-item:hover::after {
    background: rgba(26, 60, 52, 0.15);
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Contact Form ── */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid rgba(26, 60, 52, 0.2);
    background: transparent;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    color: #1a3c34;
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(26, 60, 52, 0.35);
    font-style: italic;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-bottom-color: #1a3c34;
}

.form-select {
    cursor: pointer;
}

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

.form-success {
    text-align: center;
    padding: 2rem;
    animation: fadeUp 0.5s ease;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-headline br {
        display: none;
    }

    .hero-headline span:nth-child(2) {
        display: block;
        font-size: 1.2rem;
    }

    .btn-primary-inner,
    .btn-secondary-inner {
        padding: 14px 28px;
        font-size: 10px;
    }

    .service-card {
        padding: 0;
    }

    .service-card > div {
        padding: 2rem 1.5rem;
    }

    .gallery-item img {
        height: 250px;
    }
}

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