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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Hero ── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(4, 120, 87, 0.78) 50%,
        rgba(6, 95, 70, 0.85) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(167, 243, 208, 0.3);
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0.7; }
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Navigation ── */
.nav-link {
    position: relative;
}

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

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

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Default state: visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Menu Items ── */
.menu-item {
    transition: transform 0.2s ease;
}

.menu-item:hover {
    transform: translateX(4px);
}

/* ── Gallery Images ── */
.rounded-2xl img,
.rounded-3xl img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Form Focus States ── */
input:focus,
textarea:focus {
    outline: none;
}

/* ── Button Hover Effects ── */
button,
a[href] {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Selection ── */
::selection {
    background: rgba(16, 185, 129, 0.2);
    color: #064E3B;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDFBF7;
}

::-webkit-scrollbar-thumb {
    background: #A7F3D0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6EE7B7;
}
