/* ============================================
   Triple H Resort — Styles
   Classic & Elegant | Forest Green + Off-White
   ============================================ */

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

:root {
    --forest-dark: #0D2818;
    --forest: #1B4332;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --forest-pale: #52B788;
    --cream: #F5F5F0;
    --cream-light: #FAFAF7;
    --warm-white: #FEFEFC;
    --warm-gray: #6B6B6B;
    --warm-gray-light: #9A9A9A;
    --gold: #B8860B;
    --gold-light: #D4A843;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(13, 40, 24, 0.06);
    --shadow-md: 0 4px 20px rgba(13, 40, 24, 0.08);
    --shadow-lg: 0 8px 40px rgba(13, 40, 24, 0.12);
    --shadow-xl: 0 16px 60px rgba(13, 40, 24, 0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--forest-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest-dark);
    margin-bottom: 20px;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--warm-gray);
    max-width: 600px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--forest);
    color: var(--cream-light);
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--cream-light);
    border-color: rgba(245, 245, 240, 0.5);
}

.btn-outline:hover {
    background: rgba(245, 245, 240, 0.1);
    border-color: var(--cream-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream-light);
    letter-spacing: 0.08em;
    transition: color var(--transition);
}

.navbar.scrolled .logo-mark {
    color: var(--forest);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream-light);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--forest-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.8);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--forest-pale);
    transition: width var(--transition);
}

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

.nav-link:hover {
    color: var(--cream-light);
}

.navbar.scrolled .nav-link {
    color: var(--warm-gray);
}

.navbar.scrolled .nav-link:hover {
    color: var(--forest);
}

.nav-cta {
    background: var(--forest);
    color: var(--cream-light) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.06em;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--forest-dark);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    color: var(--cream-light) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream-light);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--cream-light);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--forest-dark);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--forest-dark) 0%,
        var(--forest) 30%,
        var(--forest-mid) 55%,
        var(--forest-light) 80%,
        var(--forest-pale) 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 106, 79, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(82, 183, 136, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream-light);
    margin-bottom: 24px;
}

.hero-title br {
    display: none;
}

@media (min-width: 768px) {
    .hero-title br {
        display: block;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: rgba(245, 245, 240, 0.75);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(245, 245, 240, 0.55);
    flex-wrap: wrap;
}

.hero-trust a {
    color: rgba(245, 245, 240, 0.7);
    transition: color var(--transition);
}

.hero-trust a:hover {
    color: var(--cream-light);
}

.trust-sep {
    opacity: 0.4;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 245, 240, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--forest-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

.about-content {
    padding: 20px 0;
}

.about-content .section-lead {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest);
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

/* ── Accommodations ── */
.accommodations {
    padding: 120px 0;
    background: var(--warm-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-lead {
    margin: 0 auto;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.room-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.room-image {
    overflow: hidden;
    height: 240px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-info {
    padding: 28px;
}

.room-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 10px;
}

.room-description {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.room-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-features li {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    background: rgba(27, 67, 50, 0.08);
    color: var(--forest-mid);
    border-radius: 20px;
}

/* ── Amenities ── */
.amenities {
    padding: 120px 0;
    background: var(--forest-dark);
}

.amenities .section-eyebrow {
    color: var(--forest-pale);
}

.amenities .section-title {
    color: var(--cream-light);
}

.amenities .section-lead {
    color: rgba(245, 245, 240, 0.6);
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.amenity-card {
    background: rgba(245, 245, 240, 0.05);
    border: 1px solid rgba(245, 245, 240, 0.08);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
}

.amenity-card:hover {
    background: rgba(245, 245, 240, 0.08);
    border-color: rgba(82, 183, 136, 0.3);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(82, 183, 136, 0.15);
    margin-bottom: 20px;
}

.amenity-icon svg {
    color: var(--forest-pale);
}

.amenity-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream-light);
    margin-bottom: 8px;
}

.amenity-desc {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.55);
    line-height: 1.7;
}

/* ── Location ── */
.location {
    padding: 120px 0;
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.location-list {
    list-style: none;
    margin: 32px 0;
}

.location-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.location-item-label {
    font-weight: 500;
    color: var(--forest-dark);
}

.location-item-dist {
    font-size: 0.85rem;
    color: var(--warm-gray-light);
}

.location-address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    background: rgba(27, 67, 50, 0.06);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--forest-mid);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-lg);
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--warm-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--warm-gray);
    transition: color var(--transition);
}

.contact-item svg {
    color: var(--forest);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--warm-gray);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--forest);
}

/* ── Form ── */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--forest-dark);
    background: var(--warm-white);
    border: 1.5px solid rgba(27, 67, 50, 0.15);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-mid);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(45, 106, 79, 0.08);
    border-radius: var(--radius-sm);
    color: var(--forest);
    font-weight: 500;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
}

/* ── Footer ── */
.footer {
    background: var(--forest-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--forest-pale);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h5,
.footer-contact h5 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-pale);
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.55);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--cream-light);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.55);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(245, 245, 240, 0.55);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--cream-light);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 245, 240, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 245, 240, 0.3);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* ── Mobile Menu ── */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--forest-dark);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        color: rgba(245, 245, 240, 0.8) !important;
        font-size: 1rem;
    }

    .nav-link:hover {
        color: var(--cream-light) !important;
    }

    .nav-cta {
        color: var(--cream-light) !important;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }
}

/* ── Responsive ── */
@media (max-width: 1023px) {
    .about-grid,
    .location-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 360px;
    }

    .about-image-accent {
        display: none;
    }

    .room-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .location-map {
        height: 320px;
    }
}
