/* =============================================
   Modern Mountain Haus — Site Styles
   ============================================= */

/* --- Variables --- */
:root {
    --mmh-forest: #2d4a2d;
    --mmh-forest-light: #3d6b3d;
    --mmh-forest-dark: #1a2e1a;
    --mmh-stone: #8b7355;
    --mmh-stone-light: #c4aa84;
    --mmh-cream: #f8f5f0;
    --mmh-charcoal: #2c2c2c;
    --mmh-text: #3a3a3a;
    --mmh-text-light: #6b6b6b;
    --mmh-border: #e0dbd2;
    --mmh-gold: #c9a84c;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* --- Base Reset Overrides --- */
html { font-size: 15px; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    font-family: var(--font-body);
    color: var(--mmh-text);
    background: #fff;
    margin: 0;
    padding-top: 72px; /* nav height */
}

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--mmh-charcoal); }

/* --- Navbar --- */
.mmh-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--mmh-border);
    padding: 0.85rem 0;
    transition: box-shadow 0.2s;
}

.mmh-navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.mmh-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mmh-forest) !important;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.mmh-navbar .nav-link {
    color: var(--mmh-charcoal) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.mmh-navbar .nav-link:hover { color: var(--mmh-forest) !important; background: var(--mmh-cream); }

.btn-book-nav {
    background: var(--mmh-forest) !important;
    color: #fff !important;
    border-radius: 24px !important;
    padding: 0.4rem 1.1rem !important;
    font-weight: 600 !important;
}
.mmh-navbar .nav-link.btn-book-nav { color: #fff !important; }
.btn-book-nav:hover { background: var(--mmh-forest-light) !important; }
.mmh-navbar .nav-link.btn-book-nav:hover { color: #fff !important; }

/* --- Hero Section --- */
.mmh-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, var(--mmh-forest-dark) 0%, var(--mmh-forest) 50%, #3a5c3a 100%);
    background-image: url('/images/mangums%20trail-80.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: -72px;
    padding-top: 72px;
}

/* Fallback texture when image hasn't loaded */
.mmh-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 40%);
}

.mmh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
}

.mmh-hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 3rem;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 720px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mmh-gold);
    margin-bottom: 0.75rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-tv {
    font-size: 0.9rem;
    color: var(--mmh-gold);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-book-hero {
    background: var(--mmh-gold);
    color: var(--mmh-charcoal);
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-book-hero:hover {
    background: #d4b055;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
    color: var(--mmh-charcoal);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- Stats Bar --- */
.mmh-stats {
    background: var(--mmh-forest);
    padding: 2.5rem 0;
}

.stat-item { padding: 0.5rem; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mmh-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
}

/* --- Sections --- */
.mmh-section { padding: 5rem 0; }
.mmh-section--alt { background: var(--mmh-cream); }

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mmh-stone);
    margin-bottom: 0.5rem;
}

.mmh-section h2, .section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--mmh-text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Photo Placeholders (replaced with real images later) --- */
.home-photo-placeholder {
    background: linear-gradient(135deg, var(--mmh-forest-dark), var(--mmh-forest-light));
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* --- Level Photo Carousels --- */
.level-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.level-carousel .carousel-inner {
    aspect-ratio: 4/3;
}

.level-carousel .carousel-item,
.level-carousel img {
    height: 100%;
    object-fit: cover;
}

/* --- Level Content --- */
.level-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--mmh-forest);
}

.level-content p {
    color: var(--mmh-text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--mmh-text);
    padding-left: 1.25rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mmh-forest);
    font-weight: 700;
}

/* --- Amenity Cards --- */
.amenity-card {
    background: #fff;
    border: 1px solid var(--mmh-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.amenity-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.amenity-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--mmh-charcoal);
}

.amenity-card p {
    font-size: 0.875rem;
    color: var(--mmh-text-light);
    margin: 0;
    line-height: 1.6;
}

/* --- Bedroom Cards --- */
.bedroom-card {
    background: #fff;
    border: 1px solid var(--mmh-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bedroom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.bedroom-card--highlight {
    border-color: var(--mmh-forest);
    background: linear-gradient(to bottom right, #fff, #f4f8f4);
}

.bedroom-card--office {
    border-style: dashed;
    border-color: var(--mmh-stone-light);
}

.bedroom-level-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mmh-stone);
    background: var(--mmh-cream);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.75rem;
}

.bedroom-card h5 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--mmh-charcoal);
}

.bedroom-beds {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mmh-forest);
    margin-bottom: 0.4rem;
}

.bedroom-desc {
    font-size: 0.85rem;
    color: var(--mmh-text-light);
    margin: 0;
    line-height: 1.5;
}

/* --- Review Section --- */
.review-summary {
    margin-top: 1rem;
}

.review-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.review-stars {
    color: var(--mmh-gold);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.review-score {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--mmh-charcoal);
    line-height: 1;
}

.review-count {
    color: var(--mmh-text-light);
    font-size: 1rem;
}

.review-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    color: var(--mmh-text-light);
    font-size: 0.85rem;
}

.review-cat strong {
    color: var(--mmh-charcoal);
}

.review-card {
    background: #fff;
    border: 1px solid var(--mmh-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mmh-forest);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mmh-charcoal);
}

.review-meta {
    font-size: 0.78rem;
    color: var(--mmh-text-light);
}

.review-rating {
    font-size: 0.85rem;
    color: var(--mmh-gold);
    font-weight: 700;
    white-space: nowrap;
}

.review-text {
    font-size: 0.9rem;
    color: var(--mmh-text-light);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* --- CTA Quick Info --- */
.cta-quick-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* --- Location Cards --- */.location-card {
    background: #fff;
    border: 1px solid var(--mmh-border);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    height: 100%;
}

.location-distance {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--mmh-forest);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.location-card h5 { margin-bottom: 0.5rem; }

.location-card p {
    font-size: 0.9rem;
    color: var(--mmh-text-light);
    margin: 0;
    line-height: 1.6;
}

/* --- CTA Section --- */
.mmh-cta {
    background: var(--mmh-forest);
    padding: 5rem 0;
}

.mmh-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- Page Hero (interior pages) --- */
.mmh-page-hero {
    background: linear-gradient(135deg, var(--mmh-forest-dark), var(--mmh-forest));
    padding: 4rem 0 3rem;
    color: #fff;
}

.mmh-page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin: 0;
}

.mmh-page-hero--success { background: linear-gradient(135deg, #1a3d1a, var(--mmh-forest-light)); }

.confirmation-icon {
    width: 64px;
    height: 64px;
    background: var(--mmh-gold);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
}

/* --- Calendar --- */
.cal-header .cal-month-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--mmh-charcoal);
}

.cal-nav-btn { border-color: var(--mmh-border); color: var(--mmh-text); }

.cal-legend { font-size: 0.875rem; color: var(--mmh-text-light); }

.legend-item { display: flex; align-items: center; gap: 0.4rem; }

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.legend-available { background: var(--mmh-forest); }
.legend-booked { background: #dc3545; }
.legend-past { background: #dee2e6; }

.mmh-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    border: 1px solid var(--mmh-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--mmh-border);
}

.cal-day-header {
    background: var(--mmh-forest);
    color: rgba(255,255,255,0.85);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.6rem 0;
}

.cal-day {
    background: #fff;
    min-height: 70px;
    padding: 0.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: background 0.15s;
}

@media (min-width: 576px) { .cal-day { min-height: 80px; } }

.cal-day--empty { background: #fafafa; }

.cal-day--past {
    background: #f8f8f8;
}

.cal-day--past .day-number { color: #bbb; }

.cal-day--booked {
    background: #fff5f5;
}

.cal-day--booked .day-number { color: #c0392b; font-weight: 600; }

.cal-day--booked::after {
    content: 'Booked';
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 0.65rem;
    color: #c0392b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cal-day--available:hover {
    background: #f0f8f0;
    cursor: pointer;
}

.cal-day--today .day-number {
    background: var(--mmh-gold);
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.day-number {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mmh-charcoal);
    line-height: 1;
}

.day-book-link {
    display: none;
    font-size: 0.7rem;
    color: var(--mmh-forest);
    text-decoration: none;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cal-day--available:hover .day-book-link { display: block; }

/* --- Booking Form --- */
.booking-form-card {
    background: #fff;
    border: 1px solid var(--mmh-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--mmh-charcoal);
    margin-bottom: 0.35rem;
}

.form-control {
    border-color: var(--mmh-border);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--mmh-forest);
    box-shadow: 0 0 0 3px rgba(45,74,45,0.12);
}

.btn-book-primary {
    background: var(--mmh-forest);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.7rem 2rem;
    transition: background 0.15s, transform 0.15s;
}

.btn-book-primary:hover {
    background: var(--mmh-forest-light);
    color: #fff;
    transform: translateY(-1px);
}

.booking-disclaimer {
    background: var(--mmh-cream);
    border-left: 3px solid var(--mmh-forest);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--mmh-text-light);
    line-height: 1.6;
}

/* --- Confirmation --- */
.confirmation-card {
    background: #fff;
    border: 1px solid var(--mmh-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.confirm-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--mmh-forest);
    border-bottom: 1px solid var(--mmh-border);
    padding-bottom: 1rem;
}

.confirm-details { display: flex; flex-direction: column; gap: 0; }

.confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--mmh-cream);
    font-size: 0.95rem;
}

.confirm-row dt { color: var(--mmh-text-light); font-weight: 500; }
.confirm-row dd { margin: 0; text-align: right; color: var(--mmh-charcoal); }

.confirm-row--full { flex-direction: column; gap: 0.25rem; }
.confirm-row--full dd { text-align: left; color: var(--mmh-text-light); }

.badge-pending {
    background: #fff8e1;
    color: #b8860b;
    border: 1px solid #f0d060;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.confirm-next-steps {
    background: var(--mmh-cream);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.confirm-next-steps h5 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--mmh-forest);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confirm-next-steps ol {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: var(--mmh-text-light);
    line-height: 1.8;
}

/* --- Footer --- */
.mmh-footer {
    background: var(--mmh-charcoal);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff !important;
    margin-bottom: 0.25rem;
}

.footer-tagline { color: var(--mmh-gold); font-size: 0.875rem; margin-bottom: 0.25rem; }
.footer-sub { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }

.mmh-footer h6 {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li { margin-top: 0.35rem; }

.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.footer-links a:hover { color: var(--mmh-gold); }

.footer-email {
    color: var(--mmh-gold);
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
}

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1rem; }

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    text-align: center;
}

/* --- Utility --- */
.btn:focus { box-shadow: 0 0 0 3px rgba(45,74,45,0.2); }
