/* Global Styles */
:root {
    --primary-blue: #004a8f;
    --dark-blue: #003366;
    --accent-yellow: #fdb714;
    --lfen-red: #F54337;
    --lfen-blue: #005999;
    --lfen-active-text: #2065AB;
    --text-color: #333;
    --light-gray: #f4f6f8;
    --white: #ffffff;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 1001;
    overflow: visible;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    overflow: visible;
}

.top-bar-left a {
    color: var(--white);
    margin-right: 15px;
}

.top-bar-left i {
    margin-right: 5px;
    color: var(--accent-yellow);
}

.top-bar-right .social-icons a {
    color: var(--white);
    margin-left: 10px;
    font-size: 14px;
}

.top-bar-right .social-icons a:hover {
    color: var(--accent-yellow);
}

.top-bar-right .social-icons {
    margin-right: 20px;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.main-nav {
    margin: 0 auto;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-blue);
    border-color: var(--accent-yellow);
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
}

/* Cart Icon & Badge Styles - Moved and Forced */
.cart-icon-btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: #f8f9fa !important;
    color: var(--primary-blue) !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #ddd !important;
    text-decoration: none !important;
}

.cart-icon-btn:hover {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.cart-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background-color: #ff385c !important;
    /* Airbnb red */
    color: white !important;
    font-size: 11px !important;
    font-weight: bold !important;
    min-width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}



/* Hero Section */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    /* Placeholder Hotel/Travel Image */
    background-size: cover;
    background-position: center;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Search components moved to end of file for priority */

/* Old search tabs fully removed to prevent conflicts */

/* Old styles cleaned up */

.search-form {
    padding: 25px;
}

/* Unified Search Form Layout */
.form-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 0;
    /* Prevents overflow */
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    /* Space between label and input */
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

/* Make inputs uniform height */
.form-group input,
.form-group select,
.form-control {
    width: 100%;
    height: 50px;
    /* Fixed premium height */
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Slightly more rounded */
    background: #f9f9f9;
    font-size: 15px;
}

/* Input Icons */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
    z-index: 10;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    padding-left: 45px;
    /* Make space for icon */
    width: 100%;
    /* Ensure full width */
}

/* Ensure button fits inline and matches height */
.search-form button[type="submit"],
.btn-search-premium {
    height: 50px;
    padding: 0 30px;
    white-space: nowrap;
    margin-top: 0;
    /* Reset margin */
    flex-shrink: 0;
    margin-bottom: 1px;
    /* Optical alignment */
}



.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}



/* Responsive */


/* Search Tabs & Forms */
.search-form {
    display: none;
    padding: 25px;
}

.search-form.active {
    display: block;
}

.search-form .form-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* Premium Form Inputs (Airbnb Style) */
.form-control,
input[type="text"],
input[type="email"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Softer radius */
    font-size: 15px;
    background: #fff;
    height: 50px;
    /* Taller inputs */
    color: #222;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #222;
    /* High contrast focus */
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.5px;
}

/* Flatpickr Custom Overrides (just in case theme isn't enough) */
.flatpickr-input {
    background-color: #fff !important;
}

/* Sections Common */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.bg-light {
    background-color: #e9ecef;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Card Style */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link-wrapper:hover {
    /* hover effect removed for professional look */
}

.card-link-wrapper:hover .card {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card-link-wrapper .card {
    cursor: pointer;
}

.card:hover {
    /* transform: translateY(-5px); */
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-yellow);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}

.card-meta {
    color: #888;
    margin-bottom: 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-price {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
}

.card-price strong {
    color: var(--primary-blue);
    font-size: 18px;
}

.btn-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.results-header h2 {
    font-size: 20px;
    color: var(--dark-blue);
    margin: 0;
}

/* View Toggle */
.view-actions {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: none;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* List View Styles */
.cards-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cards-grid.view-list .card {
    display: flex;
    flex-direction: row;
    height: 220px;
}

.cards-grid.view-list .card-image {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
}

.cards-grid.view-list .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
}

.cards-grid.view-list .card-overlay {
    display: none;
    /* Hide overlay in list view for trips */
}

/* Specific fix for Trip Cards in List View which used overlay */
.cards-grid:not(.view-list) .trip-card .card-content {
    display: none !important;
}

.cards-grid.view-list .trip-card .card-content {
    display: flex !important;
}


/* Trip Card specifics */
.trip-card {
    position: relative;
    height: 300px;
}

.trip-card .card-image {
    height: 100%;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.card-overlay h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.card-overlay a {
    color: var(--accent-yellow);
    font-size: 14px;
    font-weight: 500;
}

/* Omra Section */
.omra-section .container {
    background: url('https://images.unsplash.com/photo-1565552645632-d725f8bfc19a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.omra-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 500px;
}

.omra-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.omra-content p {
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-primary {
    background: var(--lfen-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #004577;
    box-shadow: 0 4px 12px rgba(0, 89, 153, 0.2);
}

/* Sidebar Search Widget */
.search-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.search-widget h3 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.search-widget .form-group label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.search-widget .form-control,
.search-widget input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.search-widget .form-control:focus,
.search-widget input[type="text"]:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 74, 143, 0.1);
    outline: none;
}


/* Guest Picker (Airbnb Style) */
.guest-picker-container {
    position: relative;
}

.guest-input-box {
    width: 100%;
    padding: 0 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    height: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.guest-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    margin-top: 10px;
}

.guest-dropdown.active {
    display: block;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.guest-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.guest-label h4 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.guest-label p {
    font-size: 13px;
    color: #717171;
    margin: 0;
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-counter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: #fff;
    color: #717171;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-counter:hover {
    border-color: #222;
    color: #222;
}

.btn-counter:disabled {
    border-color: #ebebeb;
    color: #ebebeb;
    cursor: not-allowed;
}

.guest-value {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    min-width: 20px;
    text-align: center;
}

.newsletter-box {
    background: var(--primary-blue);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: var(--white);
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.newsletter-text h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.newsletter-form {
    display: flex;
    flex: 1;
    min-width: 300px;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    border: none;
}

.newsletter-form button {
    background: var(--accent-yellow);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background: #222;
    color: #ccc;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-yellow);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* Page Header */
.page-header {
    background-color: var(--primary-blue);
    padding: 40px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #ccc;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumbs li:last-child::after {
    display: none;
}

/* Contact Page */
.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form-container,
.contact-info-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 24px;
    border-bottom: 2px solid var(--accent-yellow);
    display: inline-block;
    padding-bottom: 10px;
}

.input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-row input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    resize: vertical;
}

.btn-submit {
    background: var(--accent-yellow);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #d4950a;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(0, 74, 143, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.info-item p {
    color: #666;
    font-size: 14px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Listings Layout (Hotels / Trips) */
.listing-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.search-widget,
.filter-widget {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.mb-2 {
    margin-bottom: 15px;
}

.btn-block {
    width: 100%;
    background: var(--lfen-blue);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-block:hover {
    background: #004577;
    box-shadow: 0 4px 12px rgba(0, 89, 153, 0.2);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.text-warning {
    color: var(--accent-yellow);
    font-size: 12px;
}

.location {
    color: #888;
    margin-bottom: 15px;
    font-size: 13px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-bottom: 30px;
    }

    .input-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- PREMIUM DETAILS PAGE STYLES (MyTravel) --- */
/* Utility */
.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

/* Breadcrumb */
.breadcrumb-clean {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-clean a {
    color: #666;
}

.breadcrumb-clean a:hover {
    color: var(--primary-blue);
}

.breadcrumb-clean i {
    font-size: 12px;
    color: #999;
}

.breadcrumb-clean span {
    color: #333;
}

/* Header */
.details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.premium-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.header-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 15px;
    color: #555;
}

.stars-badge {
    background: #FFEDC2;
    color: #F5A623;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #f5f5f5;
    border-color: #ddd;
}

.share-actions {
    display: flex;
    gap: 10px;
}

/* Gallery Grid (CSS Grid) */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
    height: 415px;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.gallery-item.main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.gallery-item.side1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.gallery-item.side2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.view-gallery-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Layout Columns */
.row-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.content-column {
    flex: 2;
}

.sidebar-column {
    flex: 1;
    min-width: 350px;
}

/* Info Bar */
.info-bar {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-blue);
    opacity: 0.8;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item strong {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
}

.info-item span {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* Content Sections */
.section-block {
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.section-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.separator {
    display: none;
    /* Hidden because we use cards now */
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-blue);
    opacity: 0.8;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item strong {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
}

.info-item span {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* Content Sections */
.section-block {
    margin: 30px 0;
}

.section-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.separator {
    width: 100%;
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.amenity {
    color: #444;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenity i {
    color: var(--primary-blue);
    width: 20px;
}

/* Map */
.map-placeholder {
    height: 300px;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
}

/* Premium Sidebar Card */
.booking-card-premium {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.card-price-header {
    margin-bottom: 20px;
}

.start-text {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.price-display .amount {
    font-size: 30px;
    font-weight: 700;
    color: #222;
}

.price-display .currency {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.price-display .period {
    font-size: 14px;
    color: #666;
}

/* Date Range Inputs (Airbnb Box Style) */
.date-range-inputs {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: visible;
    /* Changed from hidden to visible */
    margin-bottom: 20px;
}

.input-box {
    padding: 10px;
    background: #fff;
}

.input-box.top {
    border-bottom: 1px solid #ccc;
}

.input-box label {
    font-size: 10px;
    font-weight: 800;
    color: #222;
    display: block;
    margin-bottom: 2px;
}

.no-border {
    border: none !important;
    padding: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    font-size: 14px !important;
    background: transparent !important;
    width: 100%;
    cursor: pointer;
}

.btn-book-now {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-book-now:hover {
    opacity: 0.9;
}

.charge-note {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 15px;
}

.price-breakdown {
    margin-top: 25px;
}

.price-breakdown .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
}

.price-breakdown .row.total {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-weight: 700;
    color: #222;
    font-size: 16px;
}

.help-box {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.help-box i {
    font-size: 24px;
    color: var(--primary-blue);
}

.help-box p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Mobile Responsive Overlay */
@media (max-width: 900px) {
    .row-layout {
        flex-direction: column;
    }

    .gallery-grid {
        height: 300px;
    }

    .sidebar-column {
        width: 100%;
        min-width: auto;
    }

    .booking-card-premium {
        position: relative;
        top: 0;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 20px;
    margin-top: 20px;
    border-left: 2px solid #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Features Section (Why Choose Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    /* transform: translateY(-10px); */
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #e0f2ff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid #f0f0f0;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h4 {
    margin: 0;
    font-size: 16px;
    color: #222;
}

.user-info .stars {
    color: #fdb714;
    font-size: 12px;
    margin-top: 5px;
}

/* Popular Destinations */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.destination-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.destination-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.destination-link:hover {
    /* zoom effect removed */
}

.destination-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.destination-item:nth-child(2) {
    grid-row: span 2;
}

.destination-item:nth-child(4) {
    grid-row: span 2;
}

.destination-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}


.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
}

.destination-overlay h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.destination-overlay span {
    font-size: 13px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .destination-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
        grid-auto-rows: 180px !important;
        gap: 10px !important;
    }

    .destination-item.large {
        grid-column: span 2 !important;
        grid-row: auto !important;
        height: 200px !important;
    }

    .destination-item {
        height: 100% !important;
    }

    .destination-overlay h3 {
        font-size: 16px !important;
    }
}

/* Simple Account Button */
.simple-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 30px;
    margin-left: 15px;
    font-size: 13px;
    transition: 0.3s;
    font-weight: 500;
}

.simple-account-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.simple-account-btn i {
    font-size: 12px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.login-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideDown 0.3s ease;
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--accent-yellow);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.login-modal-close:hover {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.2);
}

.login-modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 40px 20px 30px;
    text-align: center;
}

.login-modal-header i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.login-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.login-modal-content form {
    padding: 30px;
}

.login-modal-content .form-group {
    margin-bottom: 20px;
}

.login-modal-content .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.login-modal-content .input-icon {
    position: relative;
}

.login-modal-content .input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 16px;
}

.login-modal-content .input-icon input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

.login-modal-content .input-icon input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 74, 143, 0.1);
}

.login-modal-content .btn-login {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.login-modal-content .btn-login:hover {
    background: var(--dark-blue);
}

.login-modal-footer {
    text-align: center;
    padding: 0 30px 20px;
    margin: 0;
    font-size: 14px;
}

.login-modal-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.login-modal-footer a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.simple-account-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--white);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
    font-family: inherit;
}

.simple-account-btn:hover {
    color: var(--accent-yellow);
}

.top-bar-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Flight Type Switch (Pills) */
.flight-type-switch {
    display: inline-flex !important;
    background: #f1f3f5;
    padding: 2px;
    border-radius: 50px;
    position: relative;
    user-select: none;
    min-width: 280px;
    overflow: hidden;
}

.flight-type-switch input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.flight-type-switch label {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 2;
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap;
}

.flight-type-switch input[type="radio"]:checked+label {
    background: var(--lfen-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 89, 153, 0.3);
}

/* Lfen-style 2-Row Search Bar */
.search-row-top {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.search-row-top>div {
    flex: 0 1 auto;
}

.search-row-top .flight-type-switch {
    min-width: 240px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.search-row-top .flight-type-switch label {
    padding: 8px 15px;
    font-size: 13px;
}

.top-select-group .simple-select {
    border-radius: 30px;
    height: 50px;
    width: 100%;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #6b7399;
    padding: 0 20px;
    color: #444;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.top-select-group .simple-select:focus {
    border-color: var(--lfen-blue);
    background: #fff;
}

.search-row-top .guest-picker-container {
    margin-bottom: 0 !important;
}

.guest-input-box {
    height: 50px;
    border-radius: 30px;
    width: 100%;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #6b7399;
    padding: 0 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}

.hotel-promo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--lfen-active-text);
    margin-bottom: 15px;
    margin-left: 5px;
}

.search-bar-grid-2row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 180px;
    gap: 15px;
    align-items: center;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 15px;
    color: var(--lfen-blue);
    font-size: 16px;
    pointer-events: none;
    z-index: 5;
}

.input-icon-group input {
    padding-left: 42px !important;
    height: 50px !important;
    background: #fff !important;
    border: 1px solid #6b7399 !important;
    border-radius: 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #444 !important;
}

.input-icon-group input:focus {
    background: #fff !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(0, 74, 143, 0.05) !important;
}

.btn-search-premium {
    background: var(--lfen-blue);
    color: #fff;
    border: 2px solid var(--lfen-blue);
    height: 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    padding: 0 30px;
}

.btn-search-premium:hover {
    background: #004577;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 89, 153, 0.3);
}

/* Guest Dropdown position for 2-row layout */
.search-row-top .guest-dropdown {
    top: 48px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.simple-select-full {
    width: 100% !important;
    height: 50px !important;
    padding: 0 15px 0 42px !important;
    border: 1px solid #6b7399 !important;
    border-radius: 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    background-color: #fff !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}

.simple-select-full:focus {
    background-color: #fff !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(0, 74, 143, 0.05) !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .search-bar-grid-2row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .btn-search-premium {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .search-row-top {
        flex-wrap: wrap;
    }

    .search-bar-grid-2row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .search-row-top {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar-grid-2row {
        grid-template-columns: 1fr;
    }

    .search-row-top .flight-type-switch,
    .search-row-top .top-select-group,
    .search-row-top .guest-input-box {
        width: 100%;
    }
}

/* Favorites Toggle */
.fav-toggle {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fav-toggle:hover {
    color: #004a8f;
}

.fav-toggle.active {
    color: #e63946;
    background: #fff;
}

.fav-toggle i {
    font-size: 18px;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 1px;
}

.profile-tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.profile-tab-btn:hover {
    color: #004a8f;
}

.profile-tab-btn.active {
    color: #004a8f;
}

.profile-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #004a8f;
    border-radius: 3px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.btn-sm-outline {
    background: none;
    border: 1px solid #004a8f;
    color: #004a8f;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-sm-outline:hover {
    background: #004a8f;
    color: #fff;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float i {
    flex-shrink: 0;
}

.whatsapp-float span {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, margin 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    margin-left: 0;
}

.whatsapp-float:hover {
    width: 180px;
    background-color: #20b358;
    padding-left: 15px;
}

.whatsapp-float:hover span {
    max-width: 120px;
    margin-left: 10px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* =========================================
   Lfen.ma Replica Styles (Hotel Cards & Hero)
   ========================================= */

/* Hero Section Adjustments */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Tabs Styling */
.search-tabs button.active {
    background-color: #fff;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.search-tabs button {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
}

/* Search Form Button Premium */
.btn-search-premium {
    background-color: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 89, 153, 0.3);
}

.btn-search-premium:hover {
    background-color: #00447a;
    transform: translateY(-1px);
}

/* Hotel Card Lfen Style */
.hotel-card-lfen {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card-lfen:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.hotel-card-lfen .card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.hotel-card-lfen .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.hotel-card-lfen .discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #F54337;
    /* Lfen Red */
    color: #fff;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(245, 67, 55, 0.4);
}

.hotel-card-lfen .fav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: #ccc;
    font-size: 16px;
    transition: all 0.2s;
}

.hotel-card-lfen .fav-toggle:hover {
    background: #fff;
    color: #F54337;
}

.hotel-card-lfen .fav-toggle.active {
    color: #F54337;
}

.hotel-card-lfen .card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-card-lfen .card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.hotel-card-lfen h3 {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.4;
    max-width: 70%;
}

.hotel-card-lfen .stars {
    font-size: 11px;
    color: #fdb714;
    background: #fff8e1;
    padding: 3px 6px;
    border-radius: 4px;
}

.hotel-card-lfen .location {
    color: #666;
    font-size: 13px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hotel-card-lfen .card-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.hotel-card-lfen .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.hotel-card-lfen .price-box {
    display: flex;
    flex-direction: column;
}

.hotel-card-lfen .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.hotel-card-lfen .current-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.hotel-card-lfen .current-price small {
    font-size: 13px;
    font-weight: 600;
}

.hotel-card-lfen .btn-deal {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 89, 153, 0.2);
}

.hotel-card-lfen .btn-deal:hover {
    background-color: #00447a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 89, 153, 0.3);
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: auto !important;
        padding: 40px 0;
    }
}

/* ==========================================================================
   Voyages Page Refinements (Premium Lfen Style)
   ========================================================================== */

.voyages-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 100px 0 80px;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.voyages-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.voyages-header .breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.9;
    list-style: none;
    padding: 0;
}

.voyages-header .breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.voyages-header .breadcrumbs li:not(:last-child):after {
    content: '\f105';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 10px;
    opacity: 0.6;
}

/* Premium Filter Bar */
.filter-bar-premium {
    background: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.filter-bar-premium h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-bar-premium h3 i {
    color: var(--lfen-blue);
}

.filter-grid-premium {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.filter-input-wrapper {
    position: relative;
}

.filter-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lfen-blue);
    font-size: 16px;
}

.filter-input-wrapper .form-control {
    padding-left: 45px !important;
    background: #f8f9fa;
    border: 1px solid #eee;
    font-weight: 500;
}

.btn-search-premium {
    background: var(--lfen-blue);
    color: #fff;
    border: none;
    padding: 0 35px;
    height: 50px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-search-premium:hover {
    background: #00457a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 89, 153, 0.3);
}

/* Results Content Layout */
.voyages-results-container {
    padding-bottom: 80px;
}

.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-count-text {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

.results-count-text span {
    color: var(--lfen-blue);
    font-weight: 800;
}

/* Premium Voyage Card */
.voyage-card-premium {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    position: relative;
}

/* Hover effects now handled by .card-link-wrapper */

.voyage-card-premium .card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.voyage-card-premium .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}


.voyage-card-premium .badge-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--lfen-blue);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.voyage-card-premium .fav-btn {
    display: none;
}

.voyage-card-premium .fav-btn:hover {
    background: #fff;
    color: #e74c3c;
}

.voyage-card-premium .fav-btn.active {
    background: #fff;
    color: #e74c3c;
}

.voyage-card-premium .card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.voyage-card-premium .card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #777;
}

.voyage-card-premium .card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.voyage-card-premium .card-meta i {
    color: var(--lfen-blue);
    font-size: 14px;
}

.voyage-card-premium h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}

.voyage-card-premium:hover h3 {
    /* color: var(--lfen-blue); */
}

.voyage-card-premium .card-price-section {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.voyage-card-premium .price-info {
    display: flex;
    flex-direction: column;
}

.voyage-card-premium .price-info .label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.voyage-card-premium .price-info .amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
}

.btn-view-trip {
    background: var(--lfen-blue);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 89, 153, 0.2);
}

.voyage-card-premium:hover .btn-view-trip {
    /* background: var(--primary-blue); */
    transform: rotate(-15deg);
}

/* List View Customizations for Premium Cards */
.cards-grid.view-list .voyage-card-premium {
    flex-direction: row;
    height: 240px;
}

.cards-grid.view-list .voyage-card-premium .card-image {
    width: 350px;
    height: 100%;
}

.cards-grid.view-list .voyage-card-premium .card-body {
    padding: 30px;
}

@media (max-width: 991px) {
    .filter-grid-premium {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-search-premium {
        justify-content: center;
    }

    .cards-grid.view-list .voyage-card-premium {
        flex-direction: column;
        height: auto;
    }

    .cards-grid.view-list .voyage-card-premium .card-image {
        width: 100%;
        height: 220px;
    }
}

/* ==========================================================================
   Hotels Page Refinements (Premium Lfen Style)
   ========================================================================== */

.hotels-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 120px 0 100px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hotels-header h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hotels-header .breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.hotels-header .breadcrumbs a {
    color: #fff;
    opacity: 0.8;
}

.hotels-header .breadcrumbs i {
    font-size: 12px;
    opacity: 0.5;
}

/* Hotel Specific Filter Bar Overrides */
.filter-bar-hotels {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    margin-top: -60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.filter-bar-hotels .filter-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-bar-hotels .filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-bar-hotels label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    padding-left: 5px;
}

.hotel-input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hotel-input-icon-wrapper i {
    position: absolute;
    left: 18px;
    color: var(--lfen-blue);
    font-size: 18px;
    z-index: 2;
}

.hotel-input-icon-wrapper .form-control {
    padding-left: 50px !important;
    background: #fdfdfd;
    border: 1.5px solid #f0f0f0;
    height: 55px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
}

.hotel-input-icon-wrapper .form-control:focus {
    border-color: var(--lfen-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 89, 153, 0.08);
}

.btn-search-hotels {
    background: var(--lfen-blue);
    color: #fff;
    border: none;
    padding: 0 40px;
    height: 55px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 89, 153, 0.25);
}

.btn-search-hotels:hover {
    background: #00447a;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 89, 153, 0.35);
}

/* Premium Sidebar */
.hotel-sidebar-premium {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.hotel-sidebar-premium h3 {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotel-sidebar-premium h3 i {
    color: var(--lfen-blue);
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 15px;
}

.star-rating-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.star-rating-filter label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}

.star-rating-filter label:hover {
    color: #222;
}

.star-rating-filter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--lfen-blue);
}

.stars-display {
    color: #fdb714;
    font-size: 12px;
}

/* Pricing Section Overrides */
.price-range-wrapper {
    padding: 10px 5px;
}

.price-range-wrapper input[type="range"] {
    width: 100%;
    accent-color: var(--lfen-blue);
}

.price-display {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-weight: 700;
    font-size: 14px;
    color: #222;
}

/* Lfen Style Hotel Card Refinements */
.hotel-card-lfen {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f2f2f2;
}

.hotel-card-lfen:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 89, 153, 0.08);
}

.hotel-card-lfen .card-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.hotel-card-lfen .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}


.hotel-card-lfen .discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.hotel-card-lfen .fav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #aaa;
    transition: all 0.3s;
    z-index: 3;
}

.hotel-card-lfen .fav-toggle.active,
.hotel-card-lfen .fav-toggle:hover {
    background: #fff;
    color: #e74c3c;
}

.hotel-card-lfen .card-content {
    padding: 25px;
}

.hotel-card-lfen h3 {
    font-size: 19px;
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hotel-card-lfen .stars {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.hotel-card-lfen .location {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotel-card-lfen .location i {
    color: var(--lfen-blue);
}

.hotel-card-lfen .card-divider {
    height: 1px;
    background: #f0f0f0;
    border: none;
    margin: 20px 0;
}

.hotel-card-lfen .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel-card-lfen .price-box {
    display: flex;
    flex-direction: column;
}

.hotel-card-lfen .old-price {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 600;
    margin-bottom: 2px;
}

.hotel-card-lfen .current-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-blue);
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.hotel-card-lfen .current-price small {
    font-size: 14px;
    font-weight: 700;
}

.hotel-card-lfen .btn-deal {
    background: var(--lfen-blue);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 89, 153, 0.2);
}

.hotel-card-lfen .btn-deal:hover {
    background: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 74, 143, 0.3);
}

/* List View for Hotels */
.cards-grid.view-list .hotel-card-lfen {
    display: flex;
    flex-direction: row;
    height: 280px;
    align-items: stretch;
}

.cards-grid.view-list .hotel-card-lfen .card-image {
    width: 380px;
    height: 100%;
}

.cards-grid.view-list .hotel-card-lfen .card-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cards-grid.view-list .hotel-card-lfen .card-bottom {
    margin-top: auto;
    padding-top: 25px;
}

@media (max-width: 991px) {
    .hotels-header h1 {
        font-size: 30px;
    }

    .filter-bar-hotels {
        margin-top: -30px;
        padding: 20px;
    }

    .cards-grid.view-list .hotel-card-lfen {
        flex-direction: column;
        height: auto;
    }

    .cards-grid.view-list .hotel-card-lfen .card-image {
        width: 100%;
        height: 240px;
    }
}

/* Premium Search Components (Lfen-style) */
.search-row-top {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.flight-type-switch {
    background: #f1f3f5;
    padding: 4px;
    border-radius: 50px;
    display: flex;
    gap: 2px;
}

.flight-type-switch input[type="radio"] {
    display: none !important;
}

.flight-type-switch label {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    margin-bottom: 0;
}

.flight-type-switch input[type="radio"]:checked+label {
    background: #fff;
    color: var(--lfen-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.top-select-group .simple-select {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 50px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    height: 42px;
}

.search-bar-grid-2row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .search-bar-grid-2row {
        grid-template-columns: 1fr;
    }
}

.input-icon-group {
    position: relative;
    margin-bottom: 0;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lfen-blue);
    z-index: 5;
}

.input-icon-group input,
.input-icon-group select {
    padding-left: 45px !important;
    border-radius: 12px;
    border-color: #eee;
}

.simple-select-full {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 45px;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 14px;
    background: #fff;
    color: #444;
}

.hotel-promo-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
}

.search-box-container {
    background: transparent;
    border-radius: 20px;
    box-shadow: none;
    overflow: visible;
}

.search-form-content {
    background-color: var(--white);
    border-radius: 0px 20px 20px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: visible;
    position: relative;
    z-index: 99;
}

.search-tabs {
    display: flex;
    position: relative;
    z-index: 20;
}

.search-tabs button {
    border: none;
    background: #4485df;
    color: #fff;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 15px 15px 0 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 21;
    pointer-events: auto !important;
    margin-right: 5px;
}

.search-tabs button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-tabs button.active {
    background: #fff;
    color: var(--lfen-blue);
}

.hero-section {
    background: url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover !important;
    padding: 120px 0 !important;
    position: relative;
    height: auto !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.btn-search-premium {
    height: 50px;
    border-radius: 12px;
}

/* Gallery Layout for Details Page */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    height: 410px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    /* zoom effect removed */
}

.gallery-item.main {
    grid-row: span 2;
}

.view-gallery-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #222;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gallery-clickable {
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px;
        height: auto;
    }

    .gallery-item.side1,
    .gallery-item.side2 {
        display: none;
    }
}

/* Added by Agent for Responsiveness */
.search-bar-grid-2row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.search-bar-grid-2row .form-group,
.search-bar-grid-2row .input-icon-group {
    flex: 1 1 200px;
    min-width: 200px;
}

.search-bar-grid-2row button {
    flex: 0 0 auto;
    height: 50px;
}

@media (max-width: 768px) {
    .search-bar-grid-2row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar-grid-2row .form-group,
    .search-bar-grid-2row button {
        width: 100%;
        flex: 1 1 auto;
    }
}

/* Details Page Layout */
.row-layout {
    display: flex;
    gap: 30px;
}

.content-column {
    flex: 2;
    min-width: 0;
}

.sidebar-column {
    flex: 1;
    min-width: 0;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.premium-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.stars-badge {
    background: #fff8e1;
    color: #fdb714;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.booking-card-premium {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 100px;
}

.card-price-header {
    padding: 0 24px 20px;
}

.start-text {
    font-size: 12px;
    color: #666;
    display: block;
}

.price-display .amount {
    font-size: 22px;
    font-weight: 800;
}

.booking-form {
    padding: 0 24px;
}

.date-range-inputs {
    border: 1px solid #b0b0b0;
    border-radius: 8px;
    margin-bottom: 15px;
}

.input-box {
    padding: 10px;
}

.input-box.top {
    border-bottom: 1px solid #b0b0b0;
}

.input-box label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.no-border {
    border: none;
    outline: none;
    font-size: 14px;
    color: #222;
}

.btn-book-now {
    width: 100%;
    background: #004a8f;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-book-now:hover {
    background: #003366;
}

/* Sticky Mobile Bar */
.mobile-booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.mobile-price-info .amount {
    font-size: 18px;
    font-weight: 800;
    display: block;
}

.mobile-price-info .label {
    font-size: 12px;
    color: #666;
}

@media (max-width: 991px) {
    .row-layout {
        flex-direction: column;
    }

    .sidebar-column {
        order: -1;
        /* Move booking card up on tablet/mobile but below gallery */
    }

    .booking-card-premium {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .details-header {
        flex-direction: column;
    }

    .premium-title {
        font-size: 24px;
    }

    .mobile-booking-bar {
        display: flex;
    }

    .sidebar-column {
        display: block;
        /* Show sidebar on mobile because sticky bar was removed */
    }

    .pb-5 {
        padding-bottom: 100px !important;
        /* Space for sticky bar */
    }

    .info-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

.info-bar {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item i {
    font-size: 24px;
    color: #004a8f;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #004a8f;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #eee;
}

.timeline-content h4 {
    margin-bottom: 5px;
    font-weight: 700;
}



/* Enhanced Offer Card Styles */
.card-content {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    /* Center vertically */
    padding: 20px;
    gap: 15px;
    /* Space between columns */
}

.card-left {
    flex: 1;
    /* Takes available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-left h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Duration Tags */
.duration-tags {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.tag-yellow {
    background-color: #FFC107;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.tag-green {
    background-color: #28a745;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Vertical Divider */
.card-divider {
    width: 1px;
    height: 60px;
    /* Fixed height for divider */
    background-color: #e0e0e0;
    align-self: center;
}

.card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align text left */
    justify-content: center;
    min-width: 100px;
}

.card-price-label {
    font-size: 12px;
    font-weight: 600;
    color: #dc3545;
    /* Red color */
    margin-bottom: 2px;
}

.card-price-amount {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin-bottom: 8px;
}

/* Black Reserve Button */
.btn-reserve {
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    /* Fully rounded */
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-reserve:hover {
    background-color: #333;
    transform: translateY(-1px);
}

/* Mobile responsive for cards */
@media (max-width: 576px) {
    .card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-divider {
        display: none;
    }

    .card-right {
        width: 100%;
        margin-top: 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .btn-reserve {
        width: auto;
    }
}


/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 991px) {

    /* --- Header & Navigation --- */
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* Hide Main Nav by default on mobile */
    .main-nav {
        display: none !important;
        /* Hide it initially */
        width: 100% !important;
        position: absolute !important;
        top: 80px !important;
        /* Force correct top position */
        left: 0 !important;
        background-color: #ffffff !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
        z-index: 10001 !important;
        /* Very high z-index */
        flex-direction: column !important;
        padding: 20px !important;
        border-top: 2px solid #f0f0f0 !important;
    }

    /* Show Main Nav when active */
    .main-nav.active {
        display: flex !important;
        /* Show it using flex when active */
    }

    .main-nav ul {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .main-nav ul li {
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
        margin: 0 !important;
        /* Reset margins */
    }

    .main-nav ul li:last-child {
        border-bottom: none !important;
    }

    .main-nav ul li a {
        display: block !important;
        padding: 15px 10px !important;
        font-size: 16px !important;
        width: 100% !important;
        text-align: left !important;
    }

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: block !important;
        /* Visible on mobile */
        font-size: 28px !important;
        cursor: pointer !important;
        color: #004a8f !important;
        z-index: 10002 !important;
        /* Above the nav */
        padding: 10px !important;
    }

    /* User Actions (Login/Profile) */
    .user-actions {
        margin-left: auto;
        margin-right: 15px;
    }

    /* Ensure header relative for absolute nav */
    header {
        position: relative;
    }

    /* --- Hero Section & Search Form --- */
    .hero-content h1 {
        font-size: 30px;
    }

    .voyages-header h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .search-form form {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        width: 100%;
        min-width: auto;
    }

    .form-group input,
    .form-group select,
    .search-btn {
        width: 100%;
        border-radius: 8px !important;
        /* Reset border radius for stacked */
    }

    .search-container {
        padding: 20px;
        margin-top: 30px;
    }

    /* --- Grids & Layouts --- */
    .cards-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 20px;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .destination-grid,
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 180px !important;
        gap: 10px !important;
    }

    /* --- Footer --- */
    footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
        /* Force hide on desktop */
    }

    .main-nav {
        display: flex !important;
        /* Force show on desktop */
    }
}

/* Small Mobile Adjustments */
@media (max-width: 576px) {

    .hero-content h1,
    .voyages-header h1,
    .hotels-header h1,
    .page-header h1 {
        font-size: 30px !important;
    }

    .card-content {
        padding: 15px;
    }
}


/* Fix for Search Grid Responsiveness */
@media (max-width: 991px) {
    .search-bar-grid-2row {
        display: flex !important;
        /* Force flex */
        flex-direction: column !important;
        gap: 15px !important;
        grid-template-columns: 1fr !important;
        /* Override any grid definition */
    }

    .search-bar-grid-2row .form-group,
    .search-bar-grid-2row .input-icon-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: auto !important;
    }

    .search-bar-grid-2row button {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* Ensure Desktop Nav renders correctly after removing inline styles */
@media (min-width: 992px) {
    .main-nav .nav-list {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }
}

/* Fix Search Tabs on Mobile */
@media (max-width: 768px) {
    .search-tabs {
        display: flex;
        flex-wrap: wrap;
        /* Allow wrapping */
        gap: 5px;
        background: transparent !important;
        /* Remove background on mobile to cleaner look */
        padding: 0 !important;
    }

    .search-tabs button {
        flex: 1 1 45%;
        /* 2 items per row */
        font-size: 14px;
        padding: 10px 5px;
        justify-content: center;
        border-radius: 8px !important;
        margin-bottom: 5px;
    }

    .search-box-container {
        padding: 10px;
        /* Reduce padding on mobile */
        width: 95%;
        /* Ensure it fits in screen */
        margin: 10px auto;
        /* Center it */
    }

    .search-form {
        padding: 15px !important;
    }

    /* Fix Omra/Voyages Filter Bar and Results Meta */
    .filter-grid-premium {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .filter-bar-premium .filter-group {
        width: 100% !important;
        flex: none !important;
    }

    .filter-bar-premium .btn-search-premium {
        width: 100% !important;
    }

    .results-meta {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
        padding-bottom: 20px !important;
    }

    .results-controls {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .results-controls select {
        width: 100% !important;
        max-width: 300px !important;
    }
}

/* Final Header & Top Bar Mobile Fixes */
@media (max-width: 991px) {

    /* Top Bar Fixes */
    .top-bar {
        padding: 5px 0 !important;
        margin-bottom: 0 !important;
    }

    .top-bar .container {
        flex-direction: column !important;
        gap: 5px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .top-bar-left a {
        margin-right: 0 !important;
        white-space: nowrap !important;
        font-size: 11px !important;
    }

    .top-bar-right {
        margin-top: 5px !important;
    }

    .simple-account-btn {
        margin-left: 0 !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    /* Header & Logo Overlap Fix */
    .main-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: #fff !important;
        margin-top: 0 !important;
        border-bottom: 1px solid #eee;
    }

    header .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        height: 60px !important;
        /* Slightly smaller height for mobile */
        padding: 0 15px !important;
    }

    .logo {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .logo a {
        display: flex !important;
        align-items: center !important;
    }

    .logo span {
        font-size: 18px !important;
    }

    .header-right-actions {
        position: static !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .mobile-menu-toggle {
        margin-left: 0 !important;
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {

    .top-bar-left,
    .top-bar-right {
        gap: 5px !important;
    }

    .top-bar-left a {
        font-size: 10px !important;
    }

    .logo span {
        font-size: 16px !important;
    }
}