/* 
   -------------------------------------------------------------------------
   VACATION WEBSITE STYLES
   Author: Frontend Developer
   Description: Main stylesheet for DreamTravel website.
   -------------------------------------------------------------------------
*/

/* 1. VARIABLES & RESET */
:root {
    /* Colors */
    --color-primary: #17a2b8;
    /* Beautiful Turquoise */
    --color-primary-dark: #138496;
    /* Darker Turquoise for hover */
    --color-secondary: #f4e4c1;
    /* Sand Beige */
    --color-secondary-dark: #e0cea3;
    --color-accent: #ff7f50;
    /* Coral */
    --color-accent-hover: #ff6347;
    /* Tomato */
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-text-main: #2c3e50;
    --color-text-light: #6c757d;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Borders */
    --border-radius-card: 16px;
    --border-radius-btn: 30px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-light-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    transition: all var(--transition-speed);
    font-family: var(--font-heading);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.3);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* 2. HEADER */
.main-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.logo span {
    color: var(--color-primary);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 1.05rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-main);
}

/* 3. HERO SECTION */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 100px;
    /* Space for search form overlay */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2073&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
    border-radius: 0 0 50px 50px;
    /* Nice curve at bottom */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* SEARCH FORM (Card Style) */
.search-form-container {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 1100px;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.search-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--color-primary);
    margin-right: 5px;
}

/* Enhanced Inputs */
.form-group input,
.form-group select,
.guest-trigger {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: all var(--transition-speed);
    background: #f9f9f9;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.guest-trigger:hover {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

/* Guest Picker Popup */
.guest-popup {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 200;
    display: none;
    /* Toggled by JS */
    margin-top: 10px;
    border: 1px solid #eee;
}

.guest-popup.active {
    display: block;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.guest-label strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.guest-label span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--color-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.counter-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.counter-value {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.children-ages-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: none;
}

.children-ages-container.active {
    display: block;
}

.children-ages-container h4 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.child-age-input {
    margin-bottom: 10px;
}

.child-age-input label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: var(--color-text-light);
}

/* Restyled Search Button */
.search-btn {
    padding: 0 35px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff5e3a 100%);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.6);
    background: linear-gradient(135deg, #ff8c61 0%, #ff4d26 100%);
}

/* 4. DESTINATIONS GRID */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-white);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.ps-relative {
    position: relative;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.red-badge {
    background-color: #dc3545;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.btn-link {
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.9rem;
}

.btn-link:hover {
    color: var(--color-primary);
}

/* 5. PROMOTIONS SECTION */
.proms {
    background-color: #eafcfd;
    /* Very light turquoise tint */
}

.proms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    display: flex;
    flex-direction: column;
}

.promo-image {
    height: 220px;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.promo-content h3 {
    margin-bottom: 5px;
}

.location {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-box {
    margin-top: auto;
    margin-bottom: 20px;
    text-align: right;
}

.old-price {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-right: 10px;
}

.new-price {
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.5rem;
}

/* 6. FEATURES */
.features-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--color-text-main);
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* 7. FOOTER */
.main-footer {
    background-color: #222;
    color: var(--color-white);
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
}

/* ---------------------------------------------------- */
/* USER DASHBOARD STYLES */
/* ---------------------------------------------------- */
.dashboard-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 40px;
    border-radius: var(--border-radius-card);
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.dashboard-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.dashboard-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.dashboard-header .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.dashboard-header .btn-outline:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.dashboard-section {
    margin-bottom: 50px;
}

.dashboard-section .section-title {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.dashboard-section .section-title::after {
    margin: 15px 0 0;
    /* Left align underline */
}

/* Booking Card */
.booking-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    gap: 25px;
    align-items: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-img {
    width: 180px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.booking-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.booking-card:hover .booking-img img {
    transform: scale(1.1);
}

.booking-info {
    flex: 1;
}

.booking-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.booking-info p {
    margin-bottom: 5px;
    color: var(--color-text-light);
}

.booking-info .date-badge {
    display: inline-block;
    background: #f0f8ff;
    color: var(--color-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 5px;
}

.booking-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 150px;
}

.status-check {
    color: #2da44e;
    font-weight: 600;
    background: #e6ffed;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.booking-actions .btn-link {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.booking-actions .btn-link:hover {
    color: var(--color-primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
}

.empty-state-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* History styling */
.history-section {
    opacity: 0.8;
}

.history-card {
    background: #f9f9f9;
    border-color: #eee;
}

.history-card .booking-img {
    filter: grayscale(1);
}

.page-layout {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
}

.sidebar {
    width: 360px;
    flex-shrink: 0;
}

.content-area {
    flex: 1;
}

/* Filter Box */
.filter-box {
    background: var(--color-white);
    border-radius: var(--border-radius-card);
    padding: 25px;
    box-shadow: var(--shadow-soft);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-header h3 {
    font-size: 1.2rem;
}

.reset-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

/* Custom Checkbox */
.checkbox-container,
.radio-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text-light);
    position: relative;
    padding-left: 30px;
    user-select: none;
}

.checkbox-container input,
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    transition: all 0.2s;
}

.checkmark-radio {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark,
.radio-container:hover input~.checkmark-radio {
    background-color: #ccc;
}

.checkbox-container input:checked~.checkmark,
.radio-container input:checked~.checkmark-radio {
    background-color: var(--color-primary);
}

.checkmark:after,
.checkmark-radio:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.radio-container input:checked~.checkmark-radio:after {
    display: block;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Stars Selector */
.stars-selector {
    display: flex;
    gap: 10px;
}

.star-btn {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.star-btn:hover {
    background: #f9f9f9;
}

/* Range Slider */
.range-slider {
    width: 100%;
    margin-bottom: 10px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.price-inputs input {
    width: 50%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Listing Header */
.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sorting select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Offer Details in Card */
.offer-details {
    margin: 10px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.offer-details li {
    margin-bottom: 5px;
}

.offer-details i {
    color: var(--color-primary);
    width: 20px;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.old-price-small {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 0.8rem;
}


/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* HOTEL OFFER PAGE REDESIGN - PREMIUM STYLES */
/* ---------------------------------------------------- */

.breadcrumbs-bar {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.85rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
}

.breadcrumbs a {
    color: var(--color-text-light);
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs i {
    font-size: 0.65rem;
    opacity: 0.5;
}

/* Hotel Page Header */
.hotel-gallery-section {
    padding-top: 40px;
    padding-bottom: 20px;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.hotel-title h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text-main);
}

.hotel-title .stars {
    font-size: 1rem;
    color: #ffc107;
}

.location-lg {
    font-size: 1.1rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-rating-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.rating-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-text {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.rating-score {
    background: var(--color-primary);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(23, 162, 184, 0.2);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Gallery Redesign */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    height: 550px;
    margin-bottom: 40px;
}

.gallery-main {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-sub {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.gallery-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-sub img,
.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.gallery-sub img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-main img:hover,
.gallery-sub img:hover {
    transform: scale(1.05);
}

.gallery-more {
    position: relative;
    cursor: pointer;
}

.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 18px;
    backdrop-filter: blur(2px);
}

/* Layout */
.hotel-page-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    padding-bottom: 80px;
}

.hotel-nav {
    display: flex;
    gap: 40px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 40px;
    position: sticky;
    top: 80px;
    background: var(--color-light-gray);
    z-index: 100;
    padding-top: 10px;
}

.hotel-nav a {
    padding: 15px 0;
    font-weight: 600;
    color: var(--color-text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-size: 1rem;
    position: relative;
    top: 2px;
}

.hotel-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Sections */
.hotel-section {
    margin-bottom: 60px;
}

.hotel-section h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.hotel-section p {
    color: #4a5568;
    line-height: 1.8;
}

/* Amenities Redesign */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.amenity {
    background: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
}

.amenity:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.1);
}

.amenity i {
    color: var(--color-primary);
    background: #eafcfd;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Reviews Redesign */
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.reviewer-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.review-rating {
    margin-left: auto;
    background: #f0fdf4;
    color: #166534;
    padding: 6px 14px;
    border-radius: 10px;
    font-weight: 800;
}

.review-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* STICKY BOOKING CARD - THE CORE FIX */
.booking-sidebar {
    position: sticky;
    top: 100px;
    z-index: 50;
}

.booking-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f2f5;
    width: 100%;
    box-sizing: border-box;
    display: block;
    /* Overwrite flex from earlier global style */
}


/* Forms */
.b-form-group {
    margin-bottom: 24px;
}

.b-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.b-form-group label i {
    color: var(--color-primary);
    font-size: 1rem;
}

.b-form-group select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 2px solid #f0f2f5;
    border-radius: 14px;
    background: #f8fafc;
    font-family: inherit;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.b-form-group select:focus {
    border-color: var(--color-primary);
    background: #fff;
    outline: none;
}

.board-info-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 16px;
    background: #fff7ed;
    color: #c2410c;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Details Card */
/* Price Summary Table-like Fix */
.price-summary {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
}

.p-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.p-row span:first-child {
    font-size: 0.85rem;
    color: var(--color-text-light);
    flex: 1;
}

.p-row span:last-child {
    font-weight: 700;
    color: var(--color-text-main);
    white-space: nowrap;
    font-size: 0.95rem;
}

.p-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #cbd5e0;
}

.p-row.total span:first-child {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.p-row.total span:last-child {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 900;
}

/* Buttons */
.booking-btn {
    height: 60px;
    border-radius: 18px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-note {
    text-align: center;
    margin-top: 20px;
    color: #10b981;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* SUCCESS BOX */
.booking-success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.booking-success-box a {
    font-weight: 800;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .hotel-page-layout {
        gap: 30px;
    }

    .sidebar {
        width: 340px;
    }
}

@media (max-width: 1024px) {
    .hotel-page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .booking-sidebar {
        position: static;
        order: -1;
        /* Move booking to top on mobile */
        margin-bottom: 40px;
    }
}

@media (max-width: 900px) {
    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .filter-box {
        margin-bottom: 30px;
    }

    .filters-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .filter-group {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .filters-form {
        display: block;
        /* Stack filters on small screens */
    }

    .filter-group {
        margin-bottom: 25px;
    }

    .listing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .gallery-grid {
        height: 300px;
    }

    .hotel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .form-group {
        flex: 1 1 45%;
    }

    .search-btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        /* Keep hidden on mobile, assuming JS or :target would be used for real toggle */
        display: none;
    }

    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 120px;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .search-form-container {
        position: relative;
        bottom: auto;
        transform: none;
        left: auto;
        margin-top: 30px;
        width: 100%;
    }

    .form-group {
        flex: 1 1 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Menu for mobile (simplified list) */
    .header-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-bg {
        border-radius: 0 0 20px 20px;
    }

    .card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .btn-link {
        align-self: flex-start;
    }
}

/* COUNTRY INFO SECTION - PREMIUM REFINEMENT */
.country-info-section {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px;
    margin-top: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f3f8;
    position: relative;
    overflow: hidden;
}

.country-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

.section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-header-with-icon i {
    font-size: 2.4rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header-with-icon h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.country-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fact-item:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: var(--color-primary-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.fact-item i {
    font-size: 1.6rem;
    color: var(--color-primary);
    background: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.fact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-item span {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.fact-item strong {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.4;
}

.weather-box {
    background: #fbfdff;
    border: 1px solid #eef2f8;
    border-radius: 28px;
    padding: 35px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.01);
}

.weather-box h4 {
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.red-icon {
    color: #ff4d4d;
    filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.2));
}

.temp-table-wrapper {
    overflow-x: auto;
}

.temp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
}

.temp-table th {
    padding: 12px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}

.temp-table td {
    padding: 18px 5px;
    text-align: center;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.temp-table td:hover {
    transform: scale(1.05);
}

.temp-table td.hot {
    background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
    color: #e11d48;
}

.temp-table td.warm {
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
}

.temp-table td.mild {
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
}

@media (max-width: 1400px) {
    .country-facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .country-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .country-info-section {
        padding: 35px;
    }
}

@media (max-width: 600px) {
    .country-facts-grid {
        grid-template-columns: 1fr;
    }

    .section-header-with-icon h3 {
        font-size: 1.8rem;
    }

    .country-info-section {
        padding: 25px;
        border-radius: 24px;
    }

    .temp-table td {
        padding: 12px 5px;
        font-size: 0.9rem;
    }
}
/* AIRPORT POPUP STYLES */
.airport-popup { width: 320px; max-height: 450px; padding: 24px; }
.airport-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.airport-header strong { font-size: 1rem; color: var(--color-text-main); }
.btn-text { background: none; border: none; color: var(--color-primary); font-weight: 800; font-size: 0.8rem; cursor: pointer; padding: 0; transition: color 0.2s; }
.btn-text:hover { color: var(--color-primary-dark); text-decoration: underline; }
.airport-list { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 8px; }
.airport-list::-webkit-scrollbar { width: 6px; }
.airport-list::-webkit-scrollbar-track { background: #f8fafc; border-radius: 10px; }
.airport-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
.airport-checkbox { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 10px 14px; border-radius: 12px; transition: all 0.2s; border: 1px solid transparent; }
.airport-checkbox:hover { background: #f1f5f9; border-color: #e2e8f0; }
.airport-checkbox input { width: 20px; height: 20px; accent-color: var(--color-primary); cursor: pointer; }
.airport-checkbox span { font-size: 0.95rem; color: var(--color-text-main); font-weight: 500; }

/* ADVANCED ROOMS & MODAL STYLES */
.rooms-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
.room-card { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 16px; border: 2px solid #f1f5f9; cursor: pointer; transition: all 0.3s ease; background: #fff; }
.room-card:hover { border-color: var(--color-primary-light); background: #f8fafc; }
.room-card.selected { border-color: var(--color-primary); background: #f0f9ff; box-shadow: 0 10px 20px rgba(18, 126, 174, 0.1); }
.room-info strong { display: block; font-size: 1.1rem; color: var(--color-text-main); margin-bottom: 4px; }
.room-info span { font-size: 0.85rem; color: #64748b; }
.room-price { text-align: right; }
.room-price .price-val { display: block; font-size: 1.2rem; font-weight: 800; color: var(--color-primary); }
.room-price .price-label { font-size: 0.75rem; color: #94a3b8; }
.departure-selector-box { display: flex; flex-direction: column; gap: 10px; }
.btn-check-airports { background: #f1f5f9; border: none; padding: 10px; border-radius: 10px; color: var(--color-primary); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-check-airports:hover { background: #e2e8f0; }
.modal-custom { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content-custom { background-color: #fefefe; padding: 40px; border-radius: 24px; width: 90%; max-width: 600px; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.close-modal-custom { position: absolute; right: 25px; top: 20px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; }
.airports-comparison-list { display: flex; flex-direction: column; gap: 12px; max-height: 400px; overflow-y: auto; padding-right: 10px; }
.ap-compare-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #f8fafc; border-radius: 16px; border: 1px solid #e2e8f0; }
.ap-name strong { display: block; font-size: 1rem; }
.ap-name span { font-size: 0.8rem; color: #64748b; }
.ap-price { display: flex; align-items: center; gap: 15px; }
.price-total { font-weight: 800; color: var(--color-text-main); }

/* Layout Overrides */ .destinations-grid { display: flex !important; flex-direction: column !important; gap: 24px !important; } .destination-card { display: flex !important; flex-direction: row !important; height: 320px !important; } .destination-card .card-image { width: 35% !important; height: 100% !important; min-width: 300px !important; } .destination-card .card-content { flex: 1; display: flex; flex-direction: column; padding: 30px; } .destination-card .card-footer { margin-top: auto; padding-top: 20px; } @media (max-width: 992px) { .destination-card { flex-direction: column !important; height: auto !important; } .destination-card .card-image { width: 100% !important; min-width: auto !important; height: 200px !important; } }