/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Raleway', system-ui, sans-serif;
    color: #1a2e23;
    background: #FDFCF7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.15; }

/* ─── Utility ─── */
.section-eyebrow { display: block; }
.section-title { }

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 1rem;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
    background: transparent;
}
.site-header.scrolled {
    background: rgba(27, 67, 50, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}
.site-header .max-w-7xl {
    transition: padding 0.3s ease;
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4A843;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Buttons ─── */
.btn-gold {
    background: linear-gradient(135deg, #D4A843 0%, #C49A30 100%);
    color: #1a2e23;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #E0B855 0%, #D4A843 100%);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
}
.btn-outline:hover {
    background: rgba(253, 252, 247, 0.08);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        160deg,
        #0d2119 0%,
        #1B4332 25%,
        #2f633a 50%,
        #1B4332 75%,
        #0d2119 100%
    );
    overflow: hidden;
    padding: 6rem 1rem 4rem;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 40%, rgba(47, 99, 58, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-headline {
    font-weight: 600;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-subtitle {
    text-shadow: 0 1px 20px rgba(0,0,0,0.2);
}
.hero-cta {
    position: relative;
    z-index: 2;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}
.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(212,168,67,0.6), transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Sections ─── */
.section-about, .section-lodging, .section-amenities, .section-location, .section-contact {
    position: relative;
}

/* ─── About ─── */
.about-img-main {
    box-shadow: 0 25px 60px rgba(27,67,50,0.2);
}
.about-img-accent {
    box-shadow: 0 15px 40px rgba(27,67,50,0.15);
}

/* ─── Lodging Cards ─── */
.lodging-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}
.lodging-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(212,168,67,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.lodging-card-img {
    position: relative;
    overflow: hidden;
}
.lodging-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,67,50,0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* ─── Amenities ─── */
.amenity-list { }
.amenity-list > div {
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(27,67,50,0.08);
}
.amenity-list > div:last-child {
    border-bottom: none;
}
.amenity-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(27,67,50,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink-0;
}

/* ─── Contact Form ─── */
.input-field {
    border: 1px solid rgba(27,67,50,0.2);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #1a2e23;
    background: #FDFCF7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder {
    color: rgba(26,46,35,0.35);
}
.input-field:focus {
    border-color: #1B4332;
    box-shadow: 0 0 0 3px rgba(27,67,50,0.1);
}

/* ─── Footer ─── */
#footer { }

/* ─── Back to Top ─── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #1B4332;
    color: #D4A843;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 90;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #143225;
    transform: translateY(-2px);
}

/* ─── Mobile Menu ─── */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(27, 67, 50, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: mobileMenuIn 0.3s ease;
}
@keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}
.hamburger-line {
    transition: all 0.3s ease;
}
#mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
#mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Reveal Animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up, .reveal-left, .reveal-right {
        opacity: 0;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-up { transform: translateY(30px); }
    .reveal-left { transform: translateX(-30px); }
    .reveal-right { transform: translateX(30px); }
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 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-up, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero { padding: 5rem 1rem 3rem; }
    .hero-headline { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-about, .section-amenities { padding: 4rem 1rem; }
    .section-lodging, .section-location, .section-contact { padding: 4rem 1rem; }
    .about-img-accent { display: none; }
    .about-badge { display: none !important; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta a { width: 100%; text-align: center; }
}
