/*
 * MarcoPolo Dhaka - Modern 3D UI Enhancements
 * Added on top of existing style.css
 */

/* ===== 3D PERSPECTIVE UTILITY ===== */
.tilt-3d { transform-style: preserve-3d; perspective: 1000px; }
.tilt-3d:hover { transform: perspective(1000px) rotateX(2deg) rotateY(2deg); }

/* ===== MODERN GLASS EFFECTS ===== */
.glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
}

.glass-dark {
    background: rgba(26,26,46,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ===== 3D CARD EFFECTS ===== */
.room-card, .food-card, .event-card, .offer-card, .feature-card, .news-card {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
}

.room-card:hover, .food-card:hover, .event-card:hover, .offer-card:hover, .feature-card:hover, .news-card:hover {
    transform: perspective(1200px) rotateX(var(--rx, 3deg)) rotateY(var(--ry, 3deg)) translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 10px 30px rgba(0,0,0,0.12), 0 0 0 1px rgba(212,175,55,0.08);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.room-card:hover .room-image img,
.food-card:hover .food-image img,
.event-card:hover .event-image img,
.offer-card:hover .offer-image img {
    transform: scale(1.12);
}

.room-card:hover .room-content,
.event-card:hover .event-content,
.food-card:hover .food-content,
.offer-card:hover .offer-content {
    transform: translateZ(30px);
}

.room-card .room-image,
.food-card .food-image,
.event-card .event-image,
.offer-card .offer-image {
    overflow: hidden;
    transform-style: preserve-3d;
}

.room-card .room-image img,
.food-card .food-image img,
.event-card .event-image img,
.offer-card .offer-image img {
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.room-card .room-content,
.event-card .event-content,
.food-card .food-content,
.offer-card .offer-content {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

.room-card .room-badge,
.event-card .event-type,
.offer-card .offer-badge {
    transform: translateZ(20px);
    transition: transform 0.4s ease;
}

.room-card:hover .room-badge,
.event-card:hover .event-type,
.offer-card:hover .offer-badge {
    transform: translateZ(40px) scale(1.05);
}

.room-card .room-footer {
    transform-style: preserve-3d;
}

.room-card:hover .room-footer {
    transform: translateZ(20px);
}

/* ===== 3D SHINE OVERLAY ===== */
.room-card::before,
.event-card::before,
.offer-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(255,255,255,0.04) 100%);
    opacity: 0;
    z-index: 3;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.room-card:hover::before,
.event-card:hover::before,
.offer-card:hover::before,
.feature-card:hover::before {
    opacity: 1;
}

/* ===== 3D IMAGE DEPTH ===== */
.room-card .room-image {
    position: relative;
    transform-style: preserve-3d;
}

.room-card .room-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-card:hover .room-image::after {
    opacity: 1;
}

.room-card .room-image .room-badge {
    z-index: 2;
}

/* ===== 3D BUTTON EFFECTS ===== */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* ===== HEADER GLASS EFFECT ===== */
.header {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.header-dark {
    background: rgba(26,26,46,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-dark.scrolled {
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.header-light {
    background: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-light.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ===== MODERN SECTION TITLE ===== */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FLOATING LABEL INPUTS ===== */
.input-modern {
    position: relative;
}

.input-modern input,
.input-modern textarea,
.input-modern select {
    padding-top: 20px;
    padding-bottom: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-modern input:focus,
.input-modern textarea:focus,
.input-modern select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.input-modern label {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 14px;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-modern input:focus ~ label,
.input-modern input:not(:placeholder-shown) ~ label,
.input-modern textarea:focus ~ label,
.input-modern textarea:not(:placeholder-shown) ~ label {
    top: 4px;
    font-size: 11px;
    color: var(--gold);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--gold), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLOWING EFFECTS ===== */
.glow {
    box-shadow: 0 0 20px rgba(212,175,55,0.2), 0 0 60px rgba(212,175,55,0.08);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(212,175,55,0.15), 0 0 60px rgba(212,175,55,0.05);
}

/* ===== SHIMMER LOADING ===== */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

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

/* ===== NEUMORPHIC ELEMENTS ===== */
.neumorph {
    background: #f0f0f0;
    border-radius: 16px;
    box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.neumorph-inset {
    background: #f0f0f0;
    border-radius: 16px;
    box-shadow: inset 4px 4px 8px #d1d1d1, inset -4px -4px 8px #ffffff;
}

/* ===== MODAL / OVERLAY 3D ===== */
.mobile-menu {
    background: rgba(26,26,46,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu a {
    position: relative;
    overflow: hidden;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.mobile-menu a:last-child::after { display: none; }

.mobile-menu-actions { gap: 10px; }

.mobile-menu-btn-primary,
.mobile-menu-btn-secondary {
    border-radius: 10px;
    font-size: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ===== ANIMATED BACKGROUND PARTICLES ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* ===== SMOOTH IMAGE CORNERS ===== */
img {
    border-radius: 8px;
}

.room-card img, .food-card img, .event-card img, .offer-card img {
    border-radius: 16px 16px 0 0;
}

/* ===== ENHANCED SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--accent));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bronze);
}

/* ===== RESPONSIVE FIXES ===== */

/* Fix: mobile header logo+name display - prevent truncation */
@media (max-width: 768px) {
    .header-left {
        min-width: auto;
        overflow: visible;
        flex: 1;
        max-width: none;
    }
    .header-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 16px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .logo img {
        height: 32px;
    }
}

@media (max-width: 576px) {
    .header .container {
        gap: 6px;
    }

    .header-left {
        flex: 1;
        min-width: 0;
        overflow: visible;
        max-width: none;
    }

    .header-title {
        font-size: 14px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        -webkit-line-clamp: 2;
    }

    .logo img {
        height: 28px;
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-actions .btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .mobile-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* Fix: ensure header doesn't overflow on tiny screens */
@media (max-width: 380px) {
    .header-left { flex: 1; min-width: 0; max-width: none; }
    .header-title {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .logo img { height: 24px; }

    .nav-actions .btn {
        padding: 3px 6px;
        font-size: 9px;
    }

    .mobile-menu-btn {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

/* ===== MOBILE FRIENDLY IMPROVEMENTS ===== */
@media (max-width: 992px) {
    .nav-actions a[href*="login.php"] { display: none; }
    .nav-actions .btn-outline {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.25) !important;
        font-weight: 600;
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    .header-light .nav-actions .btn-outline {
        background: var(--gold);
        border-color: var(--gold) !important;
        color: #2d1b00 !important;
    }
    .header .container { gap: 6px; }
    .nav-actions { gap: 6px; }
}

@media (max-width: 576px) {
    .nav-actions a[href*="login.php"] { display: none; }
    .nav-actions .btn:not(.btn-outline) { display: none; }
    .header-title { font-size: 15px; }
    .mobile-menu { width: 280px; right: -280px; padding: 70px 20px 20px; }
    .mobile-menu a { font-size: 14px; padding: 12px 14px; }
    .hero { height: 70vh; min-height: 400px; }
    .hero-slide img { object-fit: cover; }
    .booking-form-row { flex-direction: column; gap: 12px; }
    .booking-field { width: 100%; }
    .contact-form-wrap { padding: 24px 16px; }
    .contact-form-wrap .form-row { grid-template-columns: 1fr; }
    .offers-strip-inner { flex-wrap: wrap; gap: 10px; }
    .offer-chip { font-size: 12px; padding: 6px 12px; }
    .section-card-image { height: 160px; }
    .gallery-item { height: 130px; }
}

/* ===== SMOOTH PAGE ENTRIES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    animation: fadeInUp 0.6s ease;
}

/* ===== BADGE 3D ===== */
.offer-badge {
    transform: rotate(-15deg) translateZ(20px);
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

/* ===== FOOTER MODERN ===== */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
}

/* ===== RESPONSIVE TABLES ===== */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== CARD GRID GAPS ===== */
.rooms-grid, .foods-grid, .events-grid, .offers-grid {
    gap: 28px;
}

/* ===== MODERN RADIO / CHECKBOX ===== */
input[type="checkbox"] {
    accent-color: var(--gold);
}

input[type="radio"] {
    accent-color: var(--gold);
}

/* ===== SECTION LABEL ===== */
.section-label {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

/* ===== DARK SECTION ===== */
.section-dark {
    background: var(--primary);
}
.section-dark .section-title h2 {
    color: var(--white);
}
.section-dark .section-title p {
    color: rgba(255,255,255,0.6);
}

/* ===== HERO EXTRA ===== */
.hero-since {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 16px;
}

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

.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ===== BOOKING BAR ===== */
.booking-bar {
    background: linear-gradient(135deg, var(--primary) 0%, #1e1e3a 100%);
    padding: 48px 0 56px;
    position: relative;
    z-index: 10;
}

.booking-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), var(--gold), rgba(212,175,55,0.3), transparent);
}

.booking-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px 36px 36px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

.booking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.booking-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.booking-card-title > i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    border-radius: 14px;
    font-size: 22px;
    color: #2d1b00;
    flex-shrink: 0;
}

.booking-card-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.booking-card-title p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 2px 0 0;
}

.booking-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
}

.booking-card-badge i {
    font-size: 14px;
}

.booking-form-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.booking-field {
    flex: 1;
    min-width: 170px;
}

.booking-field label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.booking-field label i {
    margin-right: 6px;
    color: var(--gold);
}

.booking-input-wrap {
    position: relative;
}

.booking-input-wrap input,
.booking-input-wrap select {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.booking-input-wrap input:focus,
.booking-input-wrap select:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.booking-input-wrap input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

.booking-input-wrap input::placeholder {
    color: rgba(255,255,255,0.3);
}

.booking-input-wrap select option {
    background: var(--primary);
    color: var(--white);
}

.booking-input-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.booking-input-wrap input:focus ~ .input-icon,
.booking-input-wrap select:focus ~ .input-icon {
    color: var(--gold);
}

.booking-field-action {
    flex: 0 0 auto;
}

.booking-submit {
    height: 50px;
    padding: 0 36px;
    font-size: 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ===== OFFERS GRID ===== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.offer-card .offer-image {
    height: 220px;
    overflow: hidden;
}

.offer-card .offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.08);
}

.offer-card .offer-content {
    padding: 24px;
}

.offer-card .offer-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.offer-card .offer-description {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.offer-card .offer-valid {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 16px;
}

.offer-card .offer-valid i {
    color: var(--gold);
    margin-right: 6px;
}

.offer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: #2d1b00;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

/* ===== OFFERS STRIP ===== */
.offers-strip {
    background: linear-gradient(135deg, var(--gold), var(--accent));
    padding: 16px 0;
    overflow: hidden;
}

.offers-strip-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.offer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    white-space: nowrap;
}

.offer-chip i {
    font-size: 12px;
}

.offer-chip strong {
    font-weight: 700;
    font-size: 14px;
}

.offer-chip code {
    background: rgba(255,255,255,0.25);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: var(--white);
}

.offers-strip .btn-white {
    padding: 8px 20px;
    font-size: 12px;
}

/* ===== RESPONSIVE BOOKING BAR ===== */
@media (max-width: 992px) {
    .booking-card {
        padding: 28px 24px 32px;
    }
    .booking-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .booking-bar {
        padding: 32px 0 40px;
    }
    .booking-card-title h3 {
        font-size: 19px;
    }
    .booking-field {
        min-width: calc(50% - 10px);
        flex: 1 1 calc(50% - 10px);
    }
    .booking-field-action {
        flex: 1 1 100%;
    }
    .booking-submit {
        width: 100%;
        justify-content: center;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .booking-field {
        min-width: 100%;
        flex: 1 1 100%;
    }
    .booking-card {
        padding: 24px 18px 28px;
    }
    .offer-chip {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* ===== DARK SECTION RESPONSIVE ===== */
@media (max-width: 576px) {
    .section-dark .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TITLE REFINEMENTS ===== */
.section-title .gradient-text {
    display: inline;
}

/* ===== ROOMS PAGE ===== */
.search-summary {
    background: var(--primary);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-summary-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.search-summary-inner > i {
    color: var(--gold);
    font-size: 16px;
}

.search-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--white);
}

.search-tag i {
    color: var(--gold);
    font-size: 12px;
}

.search-count {
    margin-left: auto;
    font-weight: 600;
    color: var(--gold);
    font-size: 13px;
}

/* ===== FILTER SIDEBAR ===== */
.filter-card {
    background: var(--primary);
}

.filter-group {
    margin-bottom: 18px;
}

.filter-group label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

.filter-select option {
    background: var(--primary);
    color: var(--white);
}

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

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(212,175,55,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--gold);
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray);
    font-size: 15px;
}

/* ===== ROOMS GRID IN RESULTS ===== */
.rooms-results {
    min-height: 400px;
}

.rooms-results .rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

@media (max-width: 576px) {
    .rooms-results .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT INFO STRIP ===== */
.contact-info-strip {
    background: var(--primary);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    transition: var(--transition);
}

.contact-strip-item:hover {
    color: var(--gold);
}

.contact-strip-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    font-size: 16px;
    color: var(--gold);
}

/* ===== INDEX GALLERY GRID ===== */
.index-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.index-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.index-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

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

.index-gallery-item:hover img {
    transform: scale(1.08);
}

.index-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.index-gallery-overlay h4 {
    color: white;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .index-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .index-gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
        height: 220px;
    }
}

@media (max-width: 576px) {
    .index-gallery-grid {
        grid-template-columns: 1fr;
    }
    .index-gallery-item:nth-child(1) {
        grid-column: span 1;
    }
    .contact-info-strip .container {
        gap: 16px;
    }
    .contact-strip-item {
        font-size: 12px;
    }
}

/* ===== HOME SECTION BLOCK ===== */
.home-section-block {
    padding: 80px 0;
}

.home-section-block:nth-child(even) {
    background: var(--white);
}

.home-section-block .section-title {
    margin-bottom: 50px;
}

/* ===== GALLERY PAGE MASONRY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:nth-child(3n+1) {
    grid-row: span 2;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay h4 {
    color: white;
    margin: 0;
    font-size: 16px;
}

.gallery-overlay span {
    font-size: 12px;
    opacity: 0.8;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item:nth-child(3n+1) {
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SPA PAGE ===== */
.spa-card .food-image {
    height: 240px;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-tabs .btn {
    border-radius: 50px !important;
}

/* ===== INDEX CONTACT FORM ===== */
.home-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.home-contact-form .form-group {
    margin-bottom: 18px;
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}

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

/* ===== SECTION LABEL FIX ===== */
.section-label {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(212,175,55,0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-dark .section-label {
    background: rgba(255,255,255,0.08);
    color: var(--gold);
}

/* ===== LIVE AVAILABILITY BADGES ===== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.live-badge i {
    font-size: 14px;
    color: var(--gold);
}

.live-badge.success i {
    color: var(--success);
}

.live-badge strong {
    color: var(--white);
}

/* ===== PULSE ANIMATION ON SUBMIT BUTTON ===== */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5); }
    50% { box-shadow: 0 0 0 12px rgba(212,175,55,0.12); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5); }
}

.pulse-anim {
    animation: pulse-ring 2s infinite;
}

.pulse-anim:hover {
    animation: none;
}

/* ===== NIGHT COUNT SPINNER ===== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-update {
    animation: countUp 0.3s ease;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,0.5);
    color: white;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
    100% { box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: #2d1b00;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.4);
}

/* ===== ENHANCED CARD HOVER ===== */
.room-card, .event-card, .offer-card, .feature-card, .section-card, .food-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.room-card:hover, .event-card:hover, .offer-card:hover {
    border-color: rgba(212,175,55,0.15);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    margin: 0 auto 24px;
    border-radius: 2px;
}

/* ===== STAT COUNTER ANIMATION ===== */
@keyframes countNumber {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number-anim {
    animation: countNumber 0.5s ease forwards;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212,175,55,0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE FLOATING BUTTONS ===== */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 16px;
        right: 16px;
    }
    .back-to-top {
        bottom: 74px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

/* ===== MODERN CARD GLOW ON HOVER ===== */
@keyframes cardGlow {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
    100% { box-shadow: 0 0 30px 4px rgba(212,175,55,0.08); }
}

.room-card:hover, .event-card:hover {
    animation: cardGlow 0.4s ease forwards;
}

/* ===== SMOOTH IMAGE LAZY LOAD ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* ===== FORM FOCUS RING ===== */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12) !important;
}

/* ===== GOLD ACCENT BORDER ===== */
.gold-border {
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.3s ease;
}

.gold-border:hover {
    border-color: rgba(212,175,55,0.4);
}
