/* =============================================
   TOWNEPLACE SUITES BREAKFAST ROOM
   Confident corporate · Forest green + off-white
   ============================================= */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* NAV */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(47, 80, 47, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav-fixed.scrolled {
    box-shadow: 0 1px 20px rgba(22, 36, 22, 0.08);
}
.nav-logo-wrap {
    width: 40px;
    height: 40px;
    background: #2f502f;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}
.nav-logo-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #fdfcf8;
}
.nav-logo-wrap:hover {
    transform: scale(1.05);
    background: #3d663d;
}
.nav-brand { display: none; }
@media (min-width: 768px) {
    .nav-brand { display: block; }
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a7c4a;
    transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta { transition: background 0.2s ease, transform 0.2s ease; }
.nav-cta:hover { transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-toggle { display: none; }
.nav-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #2f502f;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active .nav-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.active .nav-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 767px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(253, 252, 248, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(47, 80, 47, 0.08);
        box-shadow: 0 8px 32px rgba(22, 36, 22, 0.1);
    }
    .nav-mobile-link { display: block; }
}
.nav-mobile-link { display: none; }

/* HERO */
.hero {
    position: relative;
    background: #223a22;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 36, 22, 0.85) 0%, rgba(34, 58, 34, 0.6) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.hero > div { position: relative; z-index: 2; }
.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.hero-badge {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}
.hero-actions { gap: 1rem; }
.hero-btn-primary {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.hero-btn-secondary {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hero-btn-secondary:hover { transform: translateY(-2px); }
.hero-stats { gap: 2.5rem; }
.hero-img-main,
.hero-img-accent {
    position: absolute;
    inset: 0;
}
.hero-img-accent {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    z-index: 3;
}
@media (max-width: 1023px) {
    .hero { padding-top: 80px; }
    .hero-img-accent { display: none; }
    .hero-img-main { min-height: 50vh; }
}
@media (min-width: 1024px) {
    .hero-img-main { position: absolute; inset: 0; }
}

/* SECTIONS */
.section { position: relative; }
.label { letter-spacing: 0.12em; }
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.section-title-light {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.section-sub {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
}

/* MENU CARDS */
.menu-card { cursor: default; }
.menu-card-icon {
    flex-shrink: 0;
    border-radius: 12px;
    transition: background 0.3s ease;
}

/* EXPERIENCE IMAGES */
.exp-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(22, 36, 22, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.exp-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(22, 36, 22, 0.18);
}

/* INFO CARDS */
.info-card {
    padding: 2rem;
    background: #fdfcf8;
    border: 1px solid rgba(47, 80, 47, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(22, 36, 22, 0.1);
    border-color: rgba(47, 80, 47, 0.2);
}
.info-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 80, 47, 0.08);
    border-radius: 12px;
}

/* CTA SECTION */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(74, 124, 74, 0.3) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section > div { position: relative; z-index: 1; }
.cta-btn-primary {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.cta-btn-secondary {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cta-btn-secondary:hover { transform: translateY(-2px); }

/* FOOTER */
.footer {
    position: relative;
}
.footer-bottom { border-top: 1px solid rgba(47, 80, 47, 0.3); }

/* SCROLL REVEAL (below-fold only, progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    /* Default visible state — no JS needed */
    .reveal { opacity: 1; transform: translateY(0); }
    /* Animated state applied by JS */
    .reveal-animated {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-animated.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    /* Stagger delays */
    .reveal-animated.delay-1 { transition-delay: 0.1s; }
    .reveal-animated.delay-2 { transition-delay: 0.2s; }
    .reveal-animated.delay-3 { transition-delay: 0.3s; }
    .reveal-animated.delay-4 { transition-delay: 0.4s; }
}
/* If JS is disabled, everything stays visible (opacity:1 from above) */

/* Selection color */
::selection {
    background: rgba(74, 124, 74, 0.2);
    color: #162416;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf8f2; }
::-webkit-scrollbar-thumb { background: #b8d4b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8fbc8f; }
