/* ============================================
   Highway 20 Lodge — Custom Styles
   Clean minimalist · Teal + Slate Grey
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1a;
    
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Manrope', system-ui, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
}
.skip-link:focus {
    top: 0;
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
}

.section-title .text-teal {
    color: var(--teal-700);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 540px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-700);
    color: white;
    border-color: var(--teal-700);
}
.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-700);
}
.btn-outline:hover {
    background: var(--teal-700);
    color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255,255,255,0.12);
    color: white;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 15px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.4s var(--ease-out);
    padding: 20px 0;
}

.site-header.scrolled {
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo svg {
    color: var(--teal-700);
}

.logo-light {
    color: white;
}
.logo-light svg {
    color: var(--teal-300);
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-nav a {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    color: var(--slate-600);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.25s var(--ease-out);
}

.primary-nav a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

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

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-800);
    position: relative;
    transition: all 0.3s var(--ease-out);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 1.5px;
    background: var(--slate-800);
    left: 0;
    transition: all 0.3s var(--ease-out);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 14, 26, 0.55) 0%,
        rgba(8, 14, 26, 0.45) 40%,
        rgba(8, 14, 26, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding-top: 80px;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-300);
    border: 1px solid rgba(94, 234, 212, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    background: rgba(94, 234, 212, 0.08);
}

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

.hero-title em {
    color: var(--teal-300);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* --- Sections --- */
.section {
    padding: 120px 0;
}

/* --- About --- */
.about {
    background: var(--slate-50);
}

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

.about-text p {
    color: var(--slate-600);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--teal-700);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--teal-100);
    border-radius: 16px;
    z-index: -1;
}

/* --- Rooms --- */
.rooms {
    background: white;
}

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

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

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

.room-card {
    background: var(--slate-50);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--slate-100);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    border-color: var(--teal-100);
}

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

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.room-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--teal-700);
    color: white;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

.room-info {
    padding: 28px;
}

.room-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.room-desc {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.room-amenities {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.room-amenities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--slate-700);
    font-weight: 400;
}

.room-amenities svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* --- Amenities --- */
.amenities {
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.amenities::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.amenities-header {
    text-align: center;
    margin-bottom: 72px;
}

.amenities .section-title {
    color: white;
}

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

.amenity-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s var(--ease-out);
}

.amenity-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(94, 234, 212, 0.2);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.12);
    color: var(--teal-400);
    margin-bottom: 20px;
}

.amenity-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.05rem;
    color: white;
    margin-bottom: 10px;
}

.amenity-card p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
}

/* --- Location --- */
.location {
    background: var(--slate-50);
}

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

.location-info p {
    color: var(--slate-600);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 32px;
}

.location-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.location-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--slate-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.location-row svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 3px;
}

.location-row a {
    color: var(--teal-700);
    font-weight: 400;
    transition: color 0.2s;
}

.location-row a:hover {
    color: var(--teal-500);
    text-decoration: underline;
}

.location-tips h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 12px;
}

.location-tips ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-tips li {
    font-size: 0.95rem;
    color: var(--slate-600);
    padding-left: 16px;
    position: relative;
}

.location-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: 50%;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--slate-200);
}

.map-wrapper iframe {
    width: 100%;
    height: 550px;
    display: block;
}

/* --- CTA --- */
.cta {
    background: var(--teal-700);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta .section-label {
    color: var(--teal-200);
}

.cta .section-title {
    color: white;
}

.cta .section-title .text-teal {
    color: var(--teal-200);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta .btn-ghost {
    border-color: rgba(255,255,255,0.3);
}

/* --- Footer --- */
.site-footer {
    background: var(--slate-950);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 56px;
}

.footer-tagline {
    color: var(--slate-500);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-contact h4,
.footer-links h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 20px;
}

.footer-contact p {
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 2;
}

.footer-contact a {
    color: var(--slate-400);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--slate-500);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-600);
    font-size: 13px;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid {
        gap: 48px;
    }
    
    .rooms-grid,
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    /* Mobile nav */
    .nav-toggle {
        display: block;
    }
    
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        padding: 80px 32px 32px;
        box-shadow: -8px 0 40px rgba(0,0,0,0.1);
        transition: right 0.4s var(--ease-out);
        z-index: 100;
    }
    
    .primary-nav.open {
        right: 0;
    }
    
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .primary-nav a {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .primary-nav .btn {
        margin-top: 16px;
        justify-content: center;
    }
    
    /* Hero */
    .hero-content {
        padding-top: 60px;
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 320px;
    }
    
    .about-image::after {
        display: none;
    }
    
    /* Rooms */
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    /* Amenities */
    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    /* Location */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    /* CTA */
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
