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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(217, 82, 46, 0.15);
    color: #3a2218;
}

/* ─── NAVBAR ─── */
.nav {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(217, 183, 140, 0.2);
}

.nav.scrolled .nav-link {
    color: #6b5b50;
}

.nav.scrolled .menu-line {
    background: #3a2218;
}

.nav.scrolled .logo-text {
    color: #3a2218;
}

/* ─── HERO ─── */
.hero {
    position: relative;
}

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

.hero-img {
    filter: saturate(0.85) brightness(0.7);
}

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(58, 34, 24, 0.82) 0%,
        rgba(58, 34, 24, 0.65) 50%,
        rgba(58, 34, 24, 0.75) 100%
    );
}

.hero-content {
    animation: heroFadeIn 1s ease forwards;
}

.hero-eyebrow {
    animation: heroSlideLeft 0.8s ease 0.2s both;
}

.hero-title {
    animation: heroSlideUp 0.8s ease 0.4s both;
}

.hero-sub {
    animation: heroSlideUp 0.8s ease 0.6s both;
}

.hero-cta {
    animation: heroSlideUp 0.8s ease 0.8s both;
}

.hero-cards {
    animation: heroCards 1s ease 1s both;
}

.stat-card {
    animation: statCard 0.6s ease both;
}

.stat-card:nth-child(1) { animation-delay: 1.2s; }
.stat-card:nth-child(2) { animation-delay: 1.4s; }
.stat-card:nth-child(3) { animation-delay: 1.6s; }

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes heroCards {
    from { opacity: 0; transform: translate(-50%, 40px); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes statCard {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ─── BUTTONS ─── */
.cta-primary {
    box-shadow: 0 4px 20px rgba(217, 82, 46, 0.3);
}

.cta-primary:hover {
    box-shadow: 0 8px 30px rgba(217, 82, 46, 0.4);
    transform: translateY(-2px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ─── SECTIONS ─── */
.section {
    position: relative;
}

/* ─── CARDS ─── */
.card {
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ─── ABOUT ─── */
.about-img-wrap {
    box-shadow: 0 8px 32px rgba(58, 34, 24, 0.1);
}

.about-img {
    transition: transform 0.7s ease;
}

.about-img-wrap:hover .about-img {
    transform: scale(1.03);
}

/* ─── VISIT ─── */
.visit-icon {
    transition: background 0.3s ease, transform 0.3s ease;
}

.visit-item:hover .visit-icon {
    background: rgba(217, 82, 46, 0.1);
    transform: scale(1.05);
}

/* ─── CTA BANNER ─── */
.cta-banner {
    position: relative;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
}

.cta-banner-overlay {
    background: linear-gradient(
        135deg,
        rgba(58, 34, 24, 0.88) 0%,
        rgba(58, 34, 24, 0.78) 100%
    );
}

.cta-input:focus {
    box-shadow: 0 0 0 3px rgba(244, 160, 128, 0.2);
}

.cta-btn:hover {
    box-shadow: 0 4px 20px rgba(217, 82, 46, 0.4);
    transform: translateY(-1px);
}

/* ─── CONTACT FORM ─── */
.form-input:focus {
    box-shadow: 0 2px 0 0 #d9522e;
}

.form-submit:hover {
    box-shadow: 0 4px 20px rgba(217, 82, 46, 0.3);
    transform: translateY(-1px);
}

.contact-link {
    padding: 4px 0;
}

/* ─── FOOTER ─── */
.footer-link {
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

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

/* ─── MOBILE MENU ─── */
.mobile-menu-open {
    overflow: hidden;
}

#mobileMenu.menu-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobileMenu.menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

.scroll-line {
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { height: 0; opacity: 0; }
    50% { height: 40px; opacity: 1; }
    100% { height: 40px; opacity: 0; }
}

/* ─── DECORATIVE ELEMENTS ─── */
.hero-deco {
    animation: decoFloat 6s ease-in-out infinite;
}

.hero-deco:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 8s;
}

@keyframes decoFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.05); }
}

.about-deco {
    animation: decoPulse 8s ease-in-out infinite;
}

@keyframes decoPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.3; }
}
