/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --brand-blue: #003580;
    --brand-ink: #0f172a;
    --brand-gold: #febb02;
    --brand-sky: #e8f0ff;
}

body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    box-shadow: 0 2px 14px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease, background 0.2s ease;
    overflow: visible;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 5px 1rem 0;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-height: auto;
    overflow: visible;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
    margin-left: -5px;
}

.logo-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-accent {
    color: #1B8F4C;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex: 0 1 auto;
    min-width: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-only {
    display: none;
}

.nav-actions {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    position: relative;
    flex-shrink: 0;
    z-index: 1001;
}

/* Shopping Cart Icon */
.shopping-cart-icon {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-link {
    color: var(--text-dark);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--error);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    min-width: 1.2rem;
    text-align: center;
    animation: badgePulse 0.5s ease;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Customer Dropdown */
.customer-dropdown {
    position: relative;
    z-index: 1001;
}

/* Customer Dropdown - visibility controlled by PHP */
.customer-dropdown {
    position: relative;
    z-index: 1001;
}

.customer-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: all 0.2s ease;
    pointer-events: auto;
    z-index: 1001;
    cursor: pointer;
}

.customer-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Login Button - visibility controlled by PHP session state */
#loginBtn {
    /* Default styles only - visibility controlled inline via PHP */
}

#loginBtn.hidden {
    display: none !important;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 0.75rem 0;
    z-index: 2000;
    border: 1px solid #e5e7eb;
    pointer-events: auto;
}

/* Animation only for customer account dropdown, NOT nav menu dropdowns */
.customer-dropdown > .dropdown-menu {
    animation: dropdownSlide 0.25s ease;
}

/* Nav menu dropdowns: no animation to prevent overlap-on-click issues */
.menu-item-with-dropdown > .dropdown-menu {
    animation: none;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.dropdown-item.logout-item:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

.dropdown-item.logout-item:hover i {
    color: #dc2626;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 2;
    pointer-events: none !important;
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.slide-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-prev {
    margin-right: auto;
}

.slide-next {
    margin-left: auto;
}

.slide-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slideshow-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.75rem;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.slide-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}
.hero-eyebrow {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.25rem 0 1.25rem;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 700;
}

.trust-chip i {
    opacity: 0.9;
}

.hero-search {
    margin-top: 1.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem;
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    flex: 1;
    border-right: 1px solid rgba(229, 231, 235, 0.6);
    transition: background 0.2s ease;
    position: relative;
}

.search-field:hover {
    background: rgba(229, 231, 235, 0.3);
    border-radius: 50px;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field i {
    color: #1B8F4C;
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.search-field input {
    border: none;
    padding: 0;
    font-size: 0.9rem;
    outline: none;
    flex: 1;
    background: transparent;
    color: #1f2937;
    font-family: inherit;
    width: 100%;
    font-weight: 600;
}

.search-field input::placeholder {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.88rem;
}

.search-field input[type="date"],
.search-field input[type="number"] {
    cursor: pointer;
    font-weight: 600;
}

.search-field input[readonly] {
    cursor: pointer;
}

/* Date Picker Popup */
.date-picker-popup {
    position: absolute;
    bottom: calc(100% + 0.4rem);
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    z-index: 1000;
    display: none;
    min-width: 320px;
    border: 1px solid rgba(0,0,0,0.04);
    backdrop-filter: blur(6px);
}

.destination-suggestions {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    width: 100%;
    max-width: 360px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.05);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.destination-suggestions.active {
    display: block;
}

.region-categories {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.category-chip {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-dark);
    transition: all 0.15s ease;
}

.category-chip:hover {
    background: rgba(27, 143, 76, 0.08);
    border-color: #1B8F4C;
    color: #0f5132;
}

.category-chip.active {
    background: #1B8F4C;
    color: white;
    border-color: #1B8F4C;
}

.destination-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.destination-suggestions li {
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.15s ease, color 0.15s ease;
}

.destination-suggestions li:hover {
    background: rgba(27, 143, 76, 0.08);
    color: #0f5132;
}

.date-picker-popup.active {
    display: block;
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.date-picker-header h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 800;
}

.date-inputs {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-input-group label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.date-input-group input {
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.date-input-group input:focus {
    border-color: #1B8F4C;
    box-shadow: 0 0 0 3px rgba(27, 143, 76, 0.12);
    transform: translateY(-1px);
}

.date-picker-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.date-picker-actions button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.date-picker-actions .btn-cancel {
    background: var(--bg-light);
    color: var(--text-dark);
}

.date-picker-actions .btn-apply {
    background: var(--primary-color);
    color: white;
}

.date-picker-actions button:hover {
    opacity: 0.9;
}

.search-field {
    position: relative;
}

.search-form button {
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.search-form button:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.hero-bars {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 2;
}

.hero-bars span {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: barPulse 2s ease-in-out infinite;
}

.hero-bars span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-bars span:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-bars span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes barPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.hero-search {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.search-form {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.6fr auto;
    gap: 0.75rem;
    align-items: center;
}

.search-form input {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
}

.search-hint {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.hero-bars {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1rem;
}

.hero-bars span {
    display: block;
    width: 50px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-bars span:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    border: 2px solid #1B8F4C;
    color: #1B8F4C;
    background: transparent;
    padding: 0.7rem 1.4rem;
}

.btn-outline:hover {
    background: #1B8F4C;
    color: var(--white);
}

.btn-sm {
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    animation: none;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin: -0.5rem 0 1.5rem;
    font-size: 1rem;
}

.listing-section {
    padding: 4rem 0;
    background: var(--white);
}

#hotel.listing-section {
    padding-bottom: 3rem;
}

#dining.listing-section {
    padding-top: 3rem;
}

.listing-section.alt-bg {
    background: var(--bg-light);
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.listing-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.listing-body {
    padding: 1.5rem;
    flex: 1;
}

    gap: 1rem;
    padding: 1.25rem 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.listing-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.listing-body p {
    color: var(--text-light);
    line-height: 1.5;
}

.listing-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.listing-amenities span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.listing-amenities i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.listing-price {
    padding: 0.625rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: #1B8F4C;
    text-align: center;
    border-top: none;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.listing-card:hover .listing-price {
    color: #1B8F4C;
    transform: scale(1.02);
}

.book-btn {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}
.listing-card:hover .listing-image {
    transform: scale(1.05);
}

.book-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.discount-deals {
    padding: 1rem;
    background: var(--bg-light);
    border-left: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
}

.discount-deals strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.discount-deals ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.discount-deals li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.discount-badge {
    display: inline-block;
    background: transparent;
    color: #1B8F4C;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #1B8F4C;
    font-weight: 700;
    font-size: 0.8rem;
}

.events-highlight {
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.06), transparent 35%),
                radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.08), transparent 30%),
                var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1rem;
}

.section-kicker {
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0 0 0.25rem 0;
}

.bundle-badge {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

.bundle-banner {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 1.2rem;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.2rem;
}

.bundle-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a8a;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bundle-copy h3 {
    margin: 0.4rem 0 0.5rem 0;
}

.bundle-copy p {
    margin: 0 0 0.9rem 0;
    color: var(--text-light);
}

.bundle-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bundle-pills .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.bundle-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e3a8a;
    line-height: 1.1;
}

.stat-label {
    margin-top: 0.2rem;
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.events-grid .listing-card {
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.package-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem 0.25rem 1.25rem;
}

.package-perks .perk {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    background: var(--bg-light);
    border: 1px dashed var(--border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.package-cta {
    border-top: 1px dashed var(--border);
    gap: 0.6rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,250,251,0.95));
    flex-direction: column;
    text-align: center;
}

.package-cta .book-btn {
    min-width: 150px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
}

.package-price {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 0.95rem;
    flex: 0;
}

.bundle-reminder {
    border-top: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    background: rgba(30, 64, 175, 0.03);
}

.trip-item.bundle-note {
    border: 1px dashed var(--border);
    background: var(--bg-light);
}

@media (max-width: 900px) {
    .bundle-banner {
        grid-template-columns: 1fr;
    }
    .events-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .bundle-badge {
        align-self: flex-start;
    }
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
}

/* Booking Section */
.booking-section {
    padding: 6rem 0 4rem;
    margin-top: 70px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    min-height: 100vh;
    width: 100%;
    display: block;
    visibility: visible;
}

.booking-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0f172a;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    display: block;
    visibility: visible;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    width: 100%;
    background: white;
}

.form-group input[readonly] {
    background: #f8fafc;
    cursor: not-allowed;
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

/* Booking Summary Card */
.booking-summary-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #667eea;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.summary-header {
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-header i {
    color: #667eea;
}

.summary-content {
    display: grid;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.summary-row.info-row {
    color: #6b7280;
    font-size: 0.95rem;
}

.summary-label {
    color: #374151;
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #0f172a;
}

.summary-divider {
    border-top: 2px solid #667eea;
    margin: 0.5rem 0;
}

.total-row {
    padding-top: 0.5rem;
}

.total-row .summary-label {
    font-weight: 700;
    font-size: 1.1rem;
}

.total-value {
    color: #667eea !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
}

.info-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: #856404;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.info-notice i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal !important;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.btn-block {
    width: 100%;
    display: block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.booking-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.booking-message.success {
    background: #d1fae5;
    color: var(--success);
    display: block;
}

.booking-message.error {
    background: #fee2e2;
    color: var(--error);
    display: block;
}

/* Admin Styles */
.admin-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.login-form,
.dashboard-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
}

.login-form h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.dashboard-container {
    max-width: 1200px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.dashboard-header h1 {
    color: var(--text-dark);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
    padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
    background: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.stat-card p {
    color: var(--text-light);
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

table tr:hover {
    background: var(--bg-light);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

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

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

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.btn-danger {
    background: var(--error);
    color: var(--white);
}

/* Advertisement Section */
.ad-section {
    padding: 1.75rem 0;
    background: transparent;
    width: 100%;
    overflow: hidden;
    margin: 1rem 0;
}

.ad-banner-full {
    width: 100%;
    max-width: 1100px;
    height: 120px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.ad-banner-full:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.ad-banner {
    width: 100%;
    max-width: 728px;
    height: 90px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ad-728x90 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
    color: #ffffff !important;
    padding: 3.5rem 0 2.5rem;
    margin-top: 2rem;
}

.footer a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 0.8;
}

.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.footer-newsletter h3 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: none;
    min-width: 240px;
    font-size: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .nav-brand {
    color: var(--white);
}

.footer-brand .brand-text {
    color: var(--white);
}

.footer-brand .brand-accent {
    color: #7CE2A5;
}

.footer-brand .logo-icon {
    background: var(--white);
    border-radius: 10px;
    padding: 4px;
}

.ministry-partner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #00A859 0%, #00733D 100%);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 168, 89, 0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ministry-partner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 89, 0.35);
    background: linear-gradient(135deg, #00C066 0%, #008A4A 100%);
}

.ministry-partner-btn i {
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
}

.footer-col h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #ffffff !important;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

/* Dynamic footer menu: same styling as hardcoded footer lists */
.footer-col ul.footer-menu {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

.footer-col ul li,
.footer-col ul.footer-menu li {
    color: #ffffff !important;
}

.footer-col ul li a,
.footer-col ul.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover,
.footer-col ul.footer-menu li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 999;
}

.ai-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.35);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

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

.ai-toggle:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.ai-toggle i {
    font-size: 1.2rem;
}

.ai-panel {
    position: absolute;
    bottom: 5rem;
    right: 0;
    width: 320px;
    max-height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-panel.active {
    display: flex;
}

.ai-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.ai-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

.ai-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.ai-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Tab Navigation */
.ai-panel-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    background: white;
}

.ai-tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.ai-tab-btn:hover {
    color: var(--primary-color);
    background: #f8fafc;
}

.ai-tab-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-bottom: 3px solid #667eea;
}

.ai-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}
.btn.btn-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}
.btn.btn-outline:hover {
    background: #eef2ff;
}

.ai-tab-content {
    display: none;
}

.ai-tab-content.active {
    display: block;
}

/* Trip Itinerary */
.trip-itinerary {
    max-height: 400px;
    overflow-y: auto;
}

.trip-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.trip-item-type {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.trip-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0.25rem 0;
}

.trip-item-detail {
    font-size: 0.85rem;
    color: #6b7280;
}

.ai-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.ai-quick span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.chip {
    padding: 0.625rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chip:hover {
    background: #667eea;
    color: var(--white);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chip.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ai-quick select {
    padding: 0.625rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
    transition: all 0.2s ease;
}

.ai-quick select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ai-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ai-message {
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 85%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: messageSlide 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message-bot {
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    color: var(--text-dark);
    align-self: flex-start;
    border: 2px solid #dce4f7;
}

.ai-message-user {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    align-self: flex-end;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ai-panel-footer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border-top: 2px solid #f0f0f0;
    background: white;
}

.btn-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-icon.recording {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulseRecord 1.5s ease-in-out infinite;
}

@keyframes pulseRecord {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.6);
    }
}

.ai-panel-footer input {
    flex: 1;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.ai-panel-footer input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Map Section */
.map-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 24px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.google-map {
    height: 520px;
    background: #e5e7eb;
    position: relative;
}

.map-events {
    padding: 30px;
    overflow-y: auto;
    max-height: 520px;
}

.map-events h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.event-item:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
    transform: translateX(5px);
}

.event-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-icon i {
    color: white;
    font-size: 1.3rem;
}

.event-details h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.event-location,
.event-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-location i,
.event-date i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.ai-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

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

.ai-toggle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.ai-toggle i {
    font-size: 1.3rem;
}

.ai-panel {
    position: absolute;
    bottom: 6rem;
    right: 0;
    width: 420px;
    max-height: 600px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-panel.active {
    display: flex;
}

.ai-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
}

.ai-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

.ai-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.ai-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.ai-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.ai-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.ai-quick span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.chip {
    padding: 0.625rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chip:hover {
    background: #667eea;
    color: var(--white);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chip.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ai-quick select {
    padding: 0.625rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
    transition: all 0.2s ease;
}

.ai-quick select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ai-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.ai-message {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 90%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message-bot {
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    color: var(--text-dark);
    align-self: flex-start;
    border: 2px solid #dce4f7;
}

.ai-message-user {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    align-self: flex-end;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ai-panel-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    border-top: 2px solid #f0f0f0;
    background: white;
}

.btn-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-icon.recording {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulseRecord 1.5s ease-in-out infinite;
}

@keyframes pulseRecord {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.6);
    }
}

.ai-panel-footer input {
    flex: 1;
    border: 2px solid #e5e7eb;
    padding: 0.875rem 1.25rem;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.ai-panel-footer input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Footer security and payment */
.footer-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.security {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.payments {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.payment-logos {
    display: flex;
    gap: 0.5rem;
}

.payment {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.payment:hover {
    transform: translateY(-2px);
}

.payment.visa {
    background: linear-gradient(135deg, #1A1F71 0%, #0057A0 100%);
    color: white;
}

.payment.mc {
    background: linear-gradient(135deg, #EB001B 0%, #F79E1B 50%, #FF5F00 100%);
    color: white;
}

.payment.mmg {
    background: linear-gradient(135deg, #00A859 0%, #00733D 100%);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* Hide mobile auth link on desktop */
#mobileAuthLink {
    display: none !important;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none !important;
    }

    .shopping-cart-icon {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        background: var(--white);
        padding: 1rem;
        border-radius: 50%;
        box-shadow: 0 4px 12px var(--shadow);
    }

    .mobile-only {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        pointer-events: none;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
        pointer-events: auto;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        pointer-events: auto;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a:active {
        background-color: rgba(102, 126, 234, 0.1);
    }

    /* Mobile Auth Link - MOBILE: SHOWN */
    #mobileAuthLink {
        display: block !important;
        border-top: 2px solid #f0f0f0;
        color: var(--primary-color) !important;
        font-weight: 600 !important;
        pointer-events: auto !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .booking-form-container {
        padding: 2rem 1.5rem;
    }

    /* MOBILE BOOKING FORM - CRITICAL STYLES */
    .booking-hero {
        position: relative;
        overflow: visible;
        pointer-events: auto;
        touch-action: auto;
    }

    .booking-hero > * {
        pointer-events: auto;
        touch-action: auto;
    }

    .booking-hero .container {
        position: relative;
        z-index: 5;
        pointer-events: auto;
        touch-action: auto;
    }

    .hero-shell {
        position: relative;
        z-index: 10;
        flex-direction: column;
        padding: 1rem;
        pointer-events: auto;
        touch-action: auto;
        min-height: 300px;
    }

    .hero-copy {
        display: none;
        pointer-events: none;
    }

    .booking-form-card {
        position: relative;
        z-index: 10001;
        background: white;
        border-radius: 12px;
        padding: 2rem 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        margin-bottom: 2rem;
        pointer-events: auto !important;
        touch-action: auto !important;
    }

    .booking-form {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 1rem;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-touch-callout: default;
    }

    .booking-field {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        margin: 0;
        -webkit-touch-callout: default;
    }

    .booking-field label {
        pointer-events: auto !important;
        touch-action: auto !important;
        display: block;
        margin-bottom: 0.5rem;
    }

    .booking-field input,
    .booking-field select {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: text;
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
        border: 1px solid #dbe4ff;
        border-radius: 12px;
        background: #f8fafc;
        -webkit-touch-callout: default;
        user-select: text;
        -webkit-user-select: text;
    }

    .booking-field input:focus,
    .booking-field select:focus {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        border-color: var(--primary-color);
        background: white;
    }

    .booking-field select {
        cursor: pointer;
        touch-action: manipulation !important;
    }

    .booking-form .btn {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        width: 100%;
        padding: 1rem !important;
        -webkit-touch-callout: default;
        user-select: none;
        -webkit-user-select: none;
    }

    /* CRITICAL: Ensure autocomplete suggestions are tappable */
    .autocomplete-suggestions {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        z-index: 99999 !important;
        position: absolute !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        -webkit-overflow-scrolling: touch;
    }

    .autocomplete-suggestions .autocomplete-item {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        min-height: 50px !important;
        padding: 12px 16px !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .autocomplete-suggestions .autocomplete-item:active {
        background: #f3f4f6 !important;
    }

    /* Fix for mobile input focus issues */
    .booking-hero {
        isolation: isolate;
    }

    .booking-hero .container {
        isolation: isolate;
    }

    /* Ensure slideshow doesn't interfere with inputs */
    .hero-slideshow,
    .slideshow-nav,
    .hero-overlay {
        pointer-events: none !important;
    }

    .slide-arrow {
        pointer-events: auto !important;
    }

    /* Critical: Allow inputs to receive focus on mobile */
    .booking-form-card,
    .booking-form,
    .booking-field,
    .booking-field input,
    .booking-field select,
    .booking-form .btn {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* iOS Safari specific fixes */
    .booking-field input[type="text"],
    .booking-field input[type="date"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        opacity: 1;
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }

    /* Prevent any transforms on ancestors that could cause stacking issues */
    .booking-hero,
    .booking-hero .container,
    .hero-shell {
        -webkit-transform: none;
        transform: none;
    }

    .hero-eyebrow {
        display: block;
        text-align: center;
        margin-bottom: 1rem;
    }

    .guarantees {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input {
        width: 100%;
    }

    .hero-search {
        padding: 0 1rem;
    }

    .search-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 0.5rem;
        align-items: stretch;
    }

    .search-form:hover {
        transform: none;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid rgba(229, 231, 235, 0.6);
        padding: 0.9rem 1.2rem;
        border-radius: 0;
        width: 100%;
    }

    .search-field:hover {
        border-radius: 14px;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .search-field input {
        font-size: 0.88rem;
    }

    .search-form button {
        width: 100%;
        margin: 0.4rem 0 0 0;
        padding: 1rem;
        border-radius: 16px;
        font-size: 0.88rem;
    }

    .ai-panel {
        width: 90vw;
        max-width: 340px;
        right: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .booking-form-container {
        padding: 1.5rem 1rem;
    }

    /* Ensure booking form stays interactive on very small screens */
    .booking-form-card {
        z-index: 10000 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .booking-form {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    .booking-field input,
    .booking-field select {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        font-size: 16px !important;
    }

    .booking-form .btn {
        pointer-events: auto !important;
        touch-action: auto;
    }

    .hero-search {
        padding: 0 0.75rem;
        margin-top: 1.25rem;
    }

    .search-form {
        border-radius: 18px;
    }

    .search-field {
        padding: 0.8rem 1rem;
    }

    .search-field input {
        font-size: 0.85rem;
    }

    .search-field i {
        font-size: 0.9rem;
    }

    .search-form button {
        font-size: 0.85rem;
        padding: 0.95rem;
    }

    /* Map Section Mobile */
    .map-container {
        grid-template-columns: 1fr;
    }

    .google-map {
        height: 400px;
    }

    .map-events {
        max-height: 500px;
    }
}

/* Page Header for Individual Pages */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 3rem;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.page-header i {
    margin-right: 0.75rem;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

/* AI Bot Avatar Styling - Added */
.ai-bot-avatar {
    font-size: 1.2rem;
    width: 32px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    margin-top: 2px;
}

/* AI Bot Avatar and Message Styling */

/* AI Message Content Wrapper */
.ai-message-bot > div:last-child {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0;
}

.ai-message-user {
    flex-direction: column !important;
    padding: 0.95rem 1.1rem !important;
}

/* Professional AI Chat Message Refinements */
.ai-message-bot {
    word-break: break-word;
}

.ai-message-bot div:last-child {
    width: 100%;
}

.ai-message-user {
    padding: 0.95rem 1.1rem !important;
    word-break: break-word;
}

/* Improve message text size for better readability */
.ai-message {
    font-size: 0.94rem;
}

/* Better spacing in panel body */
.ai-panel-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.ai-panel-body::-webkit-scrollbar {
    width: 6px;
}

.ai-panel-body::-webkit-scrollbar-track {
    background: transparent;
}

.ai-panel-body::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.ai-panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* Booking-inspired homepage hero */
.booking-hero {
    position: relative;
    margin-top: 70px;
    padding: 5rem 0 3.5rem;
    background: linear-gradient(135deg, #0b1b3f 0%, #021027 70%);
    color: white;
    overflow: visible;
}

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

.booking-hero .container {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.booking-hero .hero-shell {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    pointer-events: auto;
    gap: 2.5rem;
    align-items: center;
}

.booking-hero .hero-copy h1 {
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.booking-hero .hero-copy p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 1.25rem;
}

.hero-badge-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.9rem 1rem;
    border-radius: 14px;
}

.hero-stat strong {
    display: block;
    font-size: 1.2rem;
}

.booking-form-card {
    background: white;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    align-items: end;
    pointer-events: auto;
}

.booking-field {
    pointer-events: auto;
}

.booking-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    pointer-events: auto;
}

.booking-field input,
.booking-field select {
    width: 100%;
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
    outline: none;
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease;
    pointer-events: auto;
    -webkit-user-select: text;
    user-select: text;
}

.booking-field input:focus,
.booking-field select:focus {
    border-color: var(--primary-color);
    background: white;
}

.booking-form .btn {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #003580 0%, #0055ff 100%);
}

.guarantees {
    margin-top: 0.9rem;
    color: #0f172a;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.guarantees span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.45rem 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.home-hotels {
    padding: 3.5rem 0 2.5rem;
    background: #f8fafc;
}

.home-hotels .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home-pills .pill {
    background: #e8f0ff;
    color: #003580;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
    border: 1px solid #d0ddff;
}

.home-hotel-grid {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.home-hotel-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,53,128,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,53,128,0.18);
}

.home-hotel-media {
    position: relative;
    padding-top: 62%;
    background-size: cover;
    background-position: center;
}

.home-hotel-media .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,53,128,0.92);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}

.home-hotel-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.home-hotel-body h3 {
    font-size: 1.1rem;
    color: #0f172a;
}

.home-hotel-meta {
    color: #475569;
    font-weight: 700;
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.home-hotel-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-weight: 800;
    color: #003580;
}

.home-hotel-amenities {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.home-hotel-amenities span {
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 700;
}

/* Hotels page shell */
.hotel-hero {
    background: linear-gradient(135deg, #003580 0%, #0b62ff 90%);
    color: white;
    padding: 5rem 0 2.5rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hotel-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1505761671935-60b3a7427bad?auto=format&fit=crop&w=1600&q=80') center/cover;
    opacity: 0.14;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hotel-hero .container {
    position: relative;
    z-index: 1;
}

.hotel-hero h1 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.hotel-hero p {
    max-width: 720px;
    color: rgba(255,255,255,0.85);
}

.hotel-search-card {
    margin-top: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);
}

.hotel-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    align-items: end;
}

.hotel-search-grid .btn {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, #003580 0%, #0b62ff 100%);
}

.hotel-shell {
    background: #f8fafc;
    padding: 3rem 0;
}

.hotel-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.filter-card {
    background: white;
    border-radius: 14px;
    padding: 1.1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    pointer-events: auto;
    touch-action: auto;
}

.filter-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.filter-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chip-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    pointer-events: auto;
    touch-action: manipulation;
}

.chip {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #f8fbff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

.chip:active {
    transform: scale(0.95);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chip.active {
    background: #003580;
    color: white;
    border-color: #003580;
}

.filter-card select,
.filter-card input[type="range"],
.filter-card input[type="text"] {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.results-head .meta {
    font-weight: 800;
    color: #0f172a;
}

.sort-select {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    font-weight: 700;
    color: #0f172a;
}

.hotel-card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hotel-card-list .hotel-card-row {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.hotel-card-list .hotel-card-row.hotel-featured {
    border: 2px solid #f59e0b;
    box-shadow: 0 12px 32px rgba(245,158,11,0.15);
    position: relative;
}

.hotel-card-row .media {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 180px;
}

.hotel-card-row .media .label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,53,128,0.9);
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    font-weight: 800;
}

.hotel-card-row .body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #0f172a;
}

.hotel-card-row .body .location {
    color: #475569;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.hotel-card-row .body .desc {
    color: #475569;
    margin-bottom: 0.7rem;
}

.hotel-card-row .body .amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.hotel-card-row .body .amenities span {
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-weight: 700;
    color: #0f172a;
}

.hotel-card-row .body .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hotel-card-row .price-tag {
    font-size: 1.1rem;
    font-weight: 800;
    color: #003580;
}

.hotel-card-row .btn {
    border-radius: 10px;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #003580 0%, #0b62ff 100%);
}

.hotel-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
}

@media (max-width: 960px) {
    .booking-hero .hero-shell {
        grid-template-columns: 1fr;
    }

    .hotel-layout {
        grid-template-columns: 1fr;
    }

    .hotel-card-list .hotel-card-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* CRITICAL iOS MOBILE FIX - Force inputs to be interactive */
    /* Remove all potentially problematic properties from booking form on mobile */
    
    .booking-hero {
        padding: 4rem 0 2rem;
        /* Reset properties that can break mobile input */
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
        -webkit-perspective: none;
        perspective: none;
        isolation: isolate;
    }

    .home-hotel-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure container is properly positioned */
    .booking-hero .container {
        position: relative !important;
        z-index: 100 !important;
        pointer-events: auto !important;
    }
    
    .booking-hero .hero-shell {
        pointer-events: auto !important;
    }
    
    /* Booking form card must be above everything */
    .booking-form-card {
        position: relative !important;
        z-index: 10001 !important;
        isolation: isolate;
        pointer-events: auto !important;
        /* Remove transforms that can break stacking */
        -webkit-transform: none !important;
        transform: none !important;
    }
    
    .booking-form {
        pointer-events: auto !important;
    }
    
    .booking-field {
        pointer-events: auto !important;
        position: relative !important;
    }

    /* SUPER CRITICAL: Input styles for mobile */
    .booking-field input,
    .booking-field select {
        font-size: 16px !important; /* Prevents iOS zoom */
        min-height: 48px !important; /* Bigger tap target */
        padding: 12px 16px !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-user-select: text !important;
        user-select: text !important;
        /* Ensure no transforms */
        -webkit-transform: none !important;
        transform: none !important;
        /* Ensure proper positioning */
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Ensure slideshow doesn't block */
    .hero-slideshow,
    .hero-slide,
    .hero-overlay,
    .slideshow-nav {
        pointer-events: none !important;
        z-index: 0 !important;
    }
    
    /* Make sure slide arrows can still be clicked */
    .slide-arrow {
        pointer-events: auto !important;
        z-index: 5 !important;
    }
}
