/* TRISHULI LUXURY THEME - SENIOR FRONTEND */
html,
body {
    width: 100%;
    max-width: 100%;
    /* Ensures body never exceeds screen width */
    overflow-x: hidden;
    /* Cuts off anything sticking out (menu/rows) */
    position: relative;
    /* Stabilizes layout */
    margin: 0;
    padding: 0;
}

:root {
    /* Refined Luxury Palette */
    --color-forest: #1A4D2E;
    --color-forest-dark: #124227;
    --color-gold: #C9A368;
    --color-gold-deep: #d58f27;
    /* WCAG AA compliant on light backgrounds */
    --color-gold-soft: #E5D5B7;
    --color-cream: #FAF9F6;
    --color-white: #ffffff;
    --color-text: #2C2C2C;
    /* Darker for better legibility */
    --color-text-muted: #666666;
    --color-heading: #0F1711;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --fs-base: 1rem;
    --fs-sm: 0.875rem;
    --fs-xs: 0.75rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-h1: clamp(2.5rem, 8vw, 5rem);
    --fs-h2: clamp(2rem, 5vw, 3.5rem);
    --fs-h3: clamp(1.5rem, 3vw, 2.25rem);

    /* Spacing System */
    --space-unit: 1rem;
    --space-xs: calc(var(--space-unit) * 0.5);
    /* 8px */
    --space-sm: var(--space-unit);
    /* 16px */
    --space-md: calc(var(--space-unit) * 2);
    /* 32px */
    --space-lg: calc(var(--space-unit) * 4);
    /* 64px */
    --space-xl: calc(var(--space-unit) * 6);
    /* 96px */
    --section-pad: var(--space-xl);

    /* UI Elements */
    --border-radius: 25px;
    /* Sharper edges for luxury feel */
    --transition-base: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --focus-ring: 2px solid var(--color-gold-deep);
}

.room-meta {
    color: var(--color-gold-deep) !important;
}

/* --- Base Accessibility & Typography --- */
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.site-header {
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.header-scrolled {
    background-color: var(--color-forest-dark) !important;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Focus states for WCAG 2.2 */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

a {
    text-decoration: none;
    transition: var(--transition-base);
    color: inherit;
}


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

input::placeholder {
    color: rgb(246, 224, 151) !important;
}

/* --- Luxury Utilities --- */
.section-pad {
    padding: var(--section-pad) 0;
}

.bg-cream {
    background-color: var(--color-cream);
}

.bg-forest {
    background-color: var(--color-forest) !important;
}

.text-gold {
    color: var(--color-gold-deep) !important;
    /* Accessible gold for text */
}

.text-white {
    color: var(--color-white) !important;
}

.text-forest {
    color: var(--color-forest) !important;
}

.font-serif {
    font-family: var(--font-serif);
}

.ls-1 {
    letter-spacing: 0.1em;
}

.ls-2 {
    letter-spacing: 0.2em;
}


/* Custom Icons */
.custom-icon {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) saturate(100%) invert(73%) sepia(21%) saturate(928%) hue-rotate(359deg) brightness(91%) contrast(88%);
}

/* Gold Filter */
.meta-icon {
    height: 16px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    opacity: 0.7;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 12px;
    height: 18px;
    width: 18px;
    opacity: 0.5;
}

/* --- Typography Enhancements --- */
.hero-title {
    color: var(--color-white);
    font-size: var(--fs-h1);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-subtitle {
    color: #f1f1f1 !important;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--color-gold-deep);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-size: var(--fs-h2);
    letter-spacing: -0.01em;
    color: var(--color-heading);
}


/* --- Premium Buttons --- */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background: var(--color-gold-deep);
    color: var(--color-white);
}

.btn-gold:hover {
    background: var(--color-forest);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--color-forest);
    color: var(--color-white);
}

.btn-green:hover {
    background: var(--color-forest-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    border-color: var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-forest);
}

.btn-outline-dark {
    border-color: var(--color-forest);
    color: var(--color-forest);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--color-forest);
    color: var(--color-white);
}

.btn-link {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-gold-deep);
    border-bottom: 1px solid currentColor;
    font-style: italic;
    padding-bottom: 2px;
}

.btn-link:hover {
    color: var(--color-forest);
    border-bottom-color: var(--color-forest);
}


/* --- Navigation & Header --- */
.site-header {
    padding: 20px 0;
    background: var(--color-forest);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    position: relative;
}

.nav-link:hover {
    color: var(--color-gold-soft);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold-soft);
    transition: var(--transition-base);
}

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

.nav-item .dropdown-menu {
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    border: none;
}

.nav-item .dropdown-menu li a {
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.nav-item .dropdown-menu li a:hover {
    background: var(--color-cream);
    color: var(--color-gold-deep);
    padding-left: 2.25rem;
}


/* Mobile Navigation */
.mobile-nav {
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.mobile-nav-link {
    font-size: 0.9rem;
    padding: 5px 0;
}

.mobile-nav-item .submenu-toggle {
    transition: transform 0.3s;
    font-size: 0.8rem;
    color: #aaa;
}

.mobile-nav-item.open .submenu-toggle {
    transform: rotate(180deg);
}

.mobile-nav-item .submenu {
    display: none;
    padding: 10px 0 0 15px;
    margin-top: 8px;
    border-left: 2px solid var(--color-gold);
}

.mobile-nav-item.open .submenu {
    display: block;
}

.mobile-nav-item .submenu li {
    padding: 8px 0;
}

.mobile-nav-item .submenu li a {
    font-size: 0.85rem;
    color: #666;
}

.mobile-nav-item .submenu li a:hover {
    color: var(--color-forest);
}

/* Hero */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: #000;
    margin-top: 80px;
}

.hero-swiper,
.swiper-slide {
    height: 100%;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Booking Bar - Legacy Styles (Keeping for Home Page if needed, but Booking Page uses .booking-hero) */
.booking-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.booking-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.booking-home-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.form-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-forest);
    font-weight: 700;
    margin-bottom: 5px;
}

.form-control,
.form-select {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0 10px 30px;
    background: transparent;
    width: 100%;
    border-radius: 0;
}

.input-wrap {
    position: relative;
}

/* Cards & Hover */
.transition-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Zoom Animation */
.hover-zoom-container {
    overflow: hidden;
}

.hover-zoom-img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-zoom-container:hover .hover-zoom-img {
    transform: scale(1.1);
}

/* --- Luxury Cards --- */
.room-card {
    background: var(--color-white);
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-gold-soft);
}

.price-tag {
    background: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    color: var(--color-forest);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}


/* Activities & Gallery */
.activity-card {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.activity-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    transition: var(--transition-base);
}

.activity-card:hover .activity-overlay {
    background: linear-gradient(to top, rgba(10, 35, 21, 0.9) 0%, transparent 80%);
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 320px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 21, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--color-white);
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}


/* --- Premium Footer --- */
.site-footer {
    background: var(--color-forest-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
    font-size: 0.9rem;
    border-top: 1px solid rgba(201, 163, 104, 0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--space-md);
}

.footer-heading {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-gold-soft);
    padding-left: 8px;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    gap: 12px;
}

.contact-list i {
    color: var(--color-gold-soft);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}


/* Animations */
.animate-up,
.animate-fade,
.reveal-img {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-up {
    transform: translateY(30px);
}

.is-revealed.animate-up,
.is-revealed.animate-fade {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s ease;
}

.reveal-img {
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1), opacity 1.2s ease;
}

.reveal-img.is-revealed {
    opacity: 1;
    transform: scale(1);
}

.delay-100 {
    transition-delay: 0.1s !important;
}

.delay-200 {
    transition-delay: 0.2s !important;
}

.delay-300 {
    transition-delay: 0.3s !important;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Swiper Nav */
.theme-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.theme-nav-btn:hover {
    background: var(--color-forest-dark);
    color: white;
}

/* Flatpickr Fix */
.flatpickr-calendar {
    display: none !important;
    opacity: 0;
}

.flatpickr-calendar.open {
    display: inline-block !important;
    opacity: 1;
    z-index: 9999;
}

/* Enhanced Card Styles */
.blog-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-color: #e0e0e0 !important;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.blog-card-image {
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.blog-card-content {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.room-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0 !important;
    transition: all 0.4s ease;
}

.room-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.room-card .room-media {
    position: relative;
    overflow: hidden;
}

.room-card .price-tag {
    background: linear-gradient(135deg, #f0f0f0, #fff) !important;
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-card {
    background: linear-gradient(135deg, #f9f9f7 0%, #f0f0f0 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
    transition: all 0.3s ease;
}

.detail-card:hover {
    background: linear-gradient(135deg, var(--color-gold), rgba(201, 163, 104, 0.8));
    color: white;
    transform: translateX(6px);
}

.detail-card:hover strong {
    color: white;
}

.booking-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-top: 4px solid var(--color-gold);
    position: sticky;
    top: 140px;
}

.booking-card input,
.booking-card select {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.booking-card input:focus,
.booking-card select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(201, 163, 104, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.gallery-grid img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Pagination Enhancements */
.pagination .page-link {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    color: var(--color-text);
    font-weight: 500;
}

.pagination .page-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.pagination .page-item.active .page-link {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
}

/* Section Title Enhancements */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* Centered divider (default for centered headings) */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--color-gold);
}

/* Left-aligned divider for 2-column layouts */
.section-title.text-left::after {
    left: 0;
    transform: none;
}

/* Sticky sidebar for larger screens */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 120px;
    }
}

/* Ensure card anchors fill their card so the whole card is clickable */
.grid-link {
    display: block;
}

/* Simple hero used on listing pages: white gap over header */
.page-hero-simple {
    background: white;
    padding: 36px 0;
    margin-top: 70px;
    /* creates white gap over fixed header */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.page-hero-simple .page-hero-content {
    padding: 0;
}

/* Detail hero image (full width image above content) */
.detail-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 32px;
}

/* When heading is left-aligned we keep divider left */
.section-title.text-left::after,
.section-title.align-left::after {
    left: 0;
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .booking-wrapper {
        margin-top: 0;
        padding: 20px 0;
        background: var(--bg-cream);
    }

    .booking-card {
        position: static;
        top: auto;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ==========================================================================
   BOOKING PAGE MODULE (Trishuli Luxury Refined)
   ========================================================================== */

/* Booking Hero */
.booking-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--color-white);
    margin-top: 80px;
}

.booking-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 77, 46, 0.95), rgba(26, 77, 46, 0.6));
}

.booking-hero__content {
    position: relative;
    z-index: 2;
}

.booking-hero__subtitle {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.booking-hero__title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.booking-hero__desc {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
}

/* Progress Steps */
.booking-progress {
    margin-top: -60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.booking-progress__track {
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.booking-progress__track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100px;
    right: 100px;
    height: 1px;
    background: #eee;
    z-index: 1;
    transform: translateY(-50%);
}

.booking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-step__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #eee;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: inherit;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.booking-step__label {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
    transition: inherit;
}

.booking-step.active {
    transform: scale(1.1);
}

.booking-step.active .booking-step__icon {
    background: var(--color-gold-deep);
    color: var(--color-white);
    border-color: var(--color-gold-deep);
    box-shadow: 0 10px 25px rgba(141, 110, 63, 0.3);
}

.booking-step.active .booking-step__label {
    color: var(--color-gold-deep);
}

.booking-step.completed .booking-step__icon {
    background: var(--color-forest);
    color: var(--color-white);
    border-color: var(--color-forest);
}


/* Layout Grid */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Main Form Area */
.booking-layout__main {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.booking-form__header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.booking-form__title {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--color-forest);
}

.booking-form__subtitle {
    color: var(--color-text);
    font-size: 1rem;
    opacity: 0.8;
}

.booking-form__step {
    display: none;
    animation: slideUpFade 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.booking-form__step.active {
    display: block;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Room Result Cards (Booking Search) ─────────────── */
.rooms-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.room-result-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.room-result-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.room-result-card--selected {
    border-color: var(--color-gold, #c9a84c);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}

.room-result__image-wrap {
    position: relative;
    width: 280px;
    min-height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.room-result__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-result-card:hover .room-result__image {
    transform: scale(1.05);
}

.room-result__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.room-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.room-badge--available {
    background: rgba(34, 139, 34, 0.85);
    color: #fff;
}

.room-badge--info {
    background: rgba(201, 168, 76, 0.9);
    color: #fff;
}

.room-result__body {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

.room-result__name {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-forest, #2c5530);
    margin: 0 0 6px;
}

.room-result__desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #777;
}

.meta-item i {
    color: var(--color-gold, #c9a84c);
    font-size: 0.75rem;
}

.room-result__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.amenity-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f5f7f5;
    border: 1px solid #e8ece8;
    border-radius: 20px;
    font-size: 0.72rem;
    color: #555;
}

.amenity-pill i {
    color: var(--color-gold, #c9a84c);
    font-size: 0.68rem;
}

.amenity-pill--more {
    background: transparent;
    border-color: transparent;
    color: #999;
    font-weight: 500;
}

.room-result__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.room-result__pricing {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-label {
    font-size: 0.75rem;
    color: #999;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold, #c9a84c);
}

.price-unit {
    font-size: 0.75rem;
    color: #999;
}

.room-result__action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
}

.qty-select-premium {
    padding: 6px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    width: 70px;
    text-align: center;
}

.qty-select-premium:focus {
    outline: none;
    border-color: var(--color-gold, #c9a84c);
}

.room-result-card--selected .qty-select-premium {
    border-color: var(--color-gold, #c9a84c);
    background: #fffdf5;
}

/* Responsive room cards */
@media (max-width: 768px) {
    .room-result-card {
        flex-direction: column;
    }

    .room-result__image-wrap {
        width: 100%;
        height: 200px;
    }

    .room-result__footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .room-result__action {
        justify-content: flex-end;
    }
}

/* Form Controls */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-forest);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-heading);
    background: #fafafa;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: var(--color-white);
    border-color: var(--color-gold-deep);
    box-shadow: 0 5px 15px rgba(141, 110, 63, 0.1);
    outline: none;
}


.form-input.error {
    border-color: #ff4d4d;
    background: #fffafa;
}

/* Payment Module */
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.payment-option {
    cursor: pointer;
}

.payment-option__input {
    display: none;
}

.payment-option__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.payment-option:hover .payment-option__card {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.payment-option__input:checked+.payment-option__card {
    border-color: var(--color-forest);
    background: rgba(26, 77, 46, 0.03);
    box-shadow: 0 10px 25px rgba(26, 77, 46, 0.1);
}

.payment-option__title {
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 8px;
    font-size: 1rem;
}

.payment-option__desc {
    font-size: 0.8rem;
    color: #888;
}

/* Summary Sidebar */
.booking-summary {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 120px;
    border-top: 5px solid var(--color-gold-deep);
}


.booking-summary__title {
    font-size: 1.6rem;
    color: var(--color-forest);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.booking-summary__room {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #eee;
}

.booking-summary__img {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.booking-summary__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-heading);
}

.room-cat {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
}

.date-row,
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price-row.total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--color-forest);
    color: var(--color-forest);
    font-weight: 800;
    font-size: 1.4rem;
}

/* Review Cards (Step 4) */
.review-card {
    background: #f9f9f7;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.review-card__title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-forest);
    font-weight: 700;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.review-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 800;
    margin-bottom: 4px;
}

.review-value {
    font-weight: 700;
    color: var(--color-heading);
    font-size: 1rem;
}

/* Actions */
.booking-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-primary {
    flex: 2;
    background: var(--color-forest);
    color: white;
    border: none;
    padding: 16px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--color-forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 77, 46, 0.2);
}

.btn-secondary {
    flex: 1;
    background: white;
    color: var(--color-text);
    border: 1px solid #ddd;
    padding: 16px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Premium Search Form */
.form-label-premium {
    display: block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-forest);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input-premium,
.form-select-premium {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    background: #fcfcfc;
    font-size: 0.95rem;
    color: var(--color-heading);
    transition: all 0.3s ease;
}

.form-input-premium:focus,
.form-select-premium:focus {
    border-color: var(--color-gold-deep);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(210, 175, 118, 0.1);
}

.btn-availability-search {
    width: 100%;
    background: var(--color-gold-deep);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(210, 175, 118, 0.3);
}

.btn-availability-search:hover {
    background: var(--color-forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.2);
}

.btn-availability-search:active {
    transform: scale(0.98);
}

/* Fix sticky sidebar z-index */
.booking-summary {
    z-index: 100;
}

/* Mobile Fixed Action Bar */
@media (max-width: 991px) {
    .booking-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        margin: 0;
        padding: 15px 20px env(safe-area-inset-bottom);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
        display: flex !important;
        /* Ensure visibility */
    }

    body.booking-page {
        padding-bottom: 100px;
        /* Spacer for fixed buttons */
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .booking-layout {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-layout__sidebar {
        order: -1;
    }

    .booking-summary {
        position: static;
        margin-bottom: 40px;
    }

    .booking-hero {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .booking-progress__track {
        padding: 15px 25px;
    }

    .booking-progress__track::after {
        display: none;
    }

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

    .payment-options {
        grid-template-columns: 1fr;
    }

    .booking-layout__main {
        padding: 30px 20px;
    }
}

/* --- New Linear Booking Bar --- */

.booking-container.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: -60px;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.booking-form-linear {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.form-item-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.form-item-group:hover {
    background: rgba(246, 224, 151, 0.1);
}

.form-item-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-forest);
    font-weight: 700;
    margin-bottom: 4px;
    padding-left: 24px;
    /* Align with input text */
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-linear {
    position: absolute;
    left: 0;
    color: var(--color-gold-deep);
    font-size: 1.1rem;
}

.form-control-linear,
.form-select-linear {
    width: 100%;
    border: none;
    background: transparent;
    padding: 5px 5px 5px 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-heading);
    cursor: pointer;
    outline: none;
}

.form-control-linear::placeholder {
    color: #999 !important;
    font-weight: 400;
}

.form-control-linear:focus,
.form-select-linear:focus {
    box-shadow: none;
}

/* Vertical Divider */
.form-divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
}

/* Submit Button */
.search-btn {
    background: var(--color-gold-deep);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 163, 104, 0.4);
}

.search-btn:hover {
    background: var(--color-forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 46, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .booking-container.glass-panel {
        border-radius: 20px;
        padding: 30px;
        margin-top: -40px;
    }

    .booking-form-linear {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .form-divider {
        display: none;
    }

    .form-item-group {
        border-bottom: 1px solid #eee;
        border-radius: 0;
        padding: 0 0 15px 0;
    }

    .form-item-group:hover {
        background: transparent;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* --- New Accommodation Section Design --- */

.bg-dark-brown {
    background-color: #433D35;
    /* Dark Earthy Brown */
    color: #fff;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Navigation Buttons */
.nav-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f5f0;
    /* Light cream */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #8D7B66;
    /* Muted Gold/Brown */
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-circle-btn:hover {
    background: #e3ddd3;
    color: #5e4c35;
    transform: scale(1.05);
}

/* Premium Room Card */
.room-card-premium {
    position: relative;
    background: #124227;
    border-radius: 24px;
    /* Stronger radius as per design */
    height: 100%;
}

.card-img-wrap {
    height: 320px;
    /* Reduced height relative to content */
    overflow: hidden;
}

.card-img-wrap img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.room-card-premium:hover .card-img-wrap img {
    transform: scale(1.08);
    /* Subtle zoom */
}

/* Badges */
.badge-pill-white {
    background: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    color: #4a4a4a;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-wishlist {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    /* Glassmorphism */
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.btn-wishlist:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #d63031;
    /* Heart red */
}

/* Amenities */
.amenities-grid {
    flex-wrap: wrap;
}

.amenity-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.amenity-item i {
    opacity: 0.7;
}

/* Footer Stars */
.stars i {
    margin-right: 2px;
}

/* --- Circular Gallery CTA Section --- */
.cta-gallery-section {
    padding-bottom: 0;
    margin-bottom: -1px;
}

.btn-pill-gold {
    display: inline-flex;
    align-items: center;
    padding: 6px 6px 6px 20px;
    background: white;
    border: 1px solid #dcdcdc;
    color: var(--color-heading);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-pill-gold .icon-circle {
    width: 36px;
    height: 36px;
    background: #C9A368;
    /* Gold */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.btn-pill-gold .icon-circle i {
    transform: rotate(-45deg);
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.btn-pill-gold:hover {
    border-color: #C9A368;
    color: #C9A368;
}

.btn-pill-gold:hover .icon-circle {
    transform: scale(1.1);
}

.btn-pill-gold:hover .icon-circle i {
    transform: rotate(0deg);
}

.circular-gallery-wrapper {
    margin-bottom: -80px;
    /* Overlap into the footer/newsletter */
    position: relative;
    z-index: 20;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
    /* Allow shadow */
}

.circular-gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.circle-img-item {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #e0e0e0;
}

.circle-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.circle-img-item:hover img {
    transform: scale(1.1);
}

/* Sizes */
.circle-img-item.size-sm {
    width: 100px;
    height: 100px;
}

.circle-img-item.size-md {
    width: 140px;
    height: 140px;
}

.circle-img-item.size-lg {
    width: 200px;
    height: 200px;
}

.circle-img-item.size-xl {
    width: 280px;
    height: 280px;
    z-index: 25;
    margin-bottom: 20px;
}

/* Adjust overlapped section */
.newsletter-section {
    padding-top: 140px !important;
    /* Space for the circles */
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .circular-gallery-wrapper {
        margin-bottom: -50px;
        gap: 10px !important;
    }

    .circle-img-item.size-xl {
        width: 200px;
        height: 200px;
    }

    .circle-img-item.size-lg {
        width: 150px;
        height: 150px;
    }

    .circle-img-item.size-md {
        width: 100px;
        height: 100px;
    }

    .circle-img-item.size-sm {
        width: 80px;
        height: 80px;
    }

    .newsletter-section {
        padding-top: 100px !important;
    }
}

/* ================================================
   PAGE TEMPLATE COMPONENT STYLES
   ================================================ */

/* Page Hero Section */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 120px 0 60px;
    background: var(--color-forest);
    margin-top: 80px;
    overflow: hidden;
}

.page-hero--full {
    min-height: 60vh;
}

.page-hero--compact {
    min-height: 280px;
    padding: 100px 0 50px;
}

.page-hero--minimal {
    min-height: 180px;
    padding: 80px 0 40px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
}

.page-hero__subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: 1.5rem;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs__item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs__item::after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.5;
}

.breadcrumbs__item:last-child::after {
    display: none;
}

.breadcrumbs__item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs__item a:hover {
    color: var(--color-gold);
}

.breadcrumbs__item [aria-current="page"] {
    color: var(--color-gold);
}

/* Confirmation Components */
.confirmation-success__icon svg {
    filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.3));
}

.confirmation-success__reference {
    display: inline-block;
    background: var(--color-cream);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(201, 163, 104, 0.3);
}

.confirmation-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.confirmation-card__header {
    background: var(--color-forest) !important;
}

.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.stay-info-item__label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stay-info-item__value {
    font-size: 1rem;
    color: var(--color-heading);
}

.stay-info-item__note {
    font-size: 0.75rem;
    font-style: italic;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    text-align: center;
}

.spinner-ring {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    margin: 6px;
    border: 4px solid var(--color-gold);
    border-radius: 50%;
    animation: spinner-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--color-gold) transparent transparent transparent;
}

.spinner-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes spinner-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    display: block;
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Skeleton Loaders */
.skeleton-loader {
    padding: 1rem 0;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skeleton-image {
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 1rem;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Error Boundary */
.error-boundary {
    max-width: 500px;
    margin: 2rem auto;
}

.error-boundary__icon {
    opacity: 0.8;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-forest);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {

    .site-header,
    .site-footer,
    .page-hero,
    .confirmation-actions,
    .next-steps,
    .contact-info,
    .mobile-menu-drawer,
    .mobile-menu-overlay {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .confirmation-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    .confirmation-card__header {
        background: #f5f5f5 !important;
        color: black !important;
    }

    .status-badge {
        border: 1px solid currentColor;
    }

    a[href]::after {
        content: none !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-hero {
        min-height: 220px;
        padding: 100px 0 40px;
    }

    .page-hero--full {
        min-height: 40vh;
    }

    .page-hero__title {
        font-size: 1.75rem;
    }

    .breadcrumbs__list {
        font-size: 0.75rem;
    }

    .confirmation-success__reference {
        padding: 0.75rem 1.5rem;
    }

    .stay-info-grid {
        text-align: center;
    }

    .confirmation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .confirmation-actions .theme-btn {
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   MODERN GALLERY LIGHTBOX
   ========================================================================== */
.trishuli-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(13, 22, 16, 0.95);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 40px;
}

.trishuli-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-frame {
    position: relative;
    max-width: 85vw;
    max-height: 80vh;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.trishuli-lightbox.active .lightbox-frame {
    transform: scale(1);
}

.lightbox-frame::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    pointer-events: none;
    opacity: 0.5;
}

.lightbox-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    user-select: none;
}

/* Controls */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--color-gold);
}

/* Caption / Counter */
.lightbox-info {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Auto Slide Progress Bar */
.lightbox-progress {
    position: absolute;
    bottom: -15px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-progress-bar {
    height: 100%;
    background: var(--color-gold);
    width: 0%;
}

@media (max-width: 991px) {
    .lightbox-prev {
        left: 10px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-next {
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-frame {
        max-width: 95vw;
        padding: 10px;
    }
}