/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional & Modern Color Palette */
    --primary-color: #0f4c75;      /* Deep Navy Blue */
    --primary-dark: #1b262c;       /* Darker Navy/Black */
    --secondary-color: #3282b8;    /* Calm Blue */
    --accent-color: #e67e22;       /* Warm Orange for CTAs */
    
    --text-dark: #2d3436;          /* Softer Charcoal */
    --text-light: #636e72;         /* Cool Grey */
    --bg-light: #f5f6fa;          /* Very Light Grey Blue */
    --surface-1: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #eef4fb;
    --border-subtle: rgba(15, 76, 117, 0.12);
    --focus-ring: 0 0 0 3px rgba(50, 130, 184, 0.22);
    --white: #ffffff;
    
    /* Modern Shadows */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --border-radius: 8px;          /* Slightly sharper for professional look */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 8% 4%, rgba(50, 130, 184, 0.28), transparent 34%),
        radial-gradient(circle at 92% 14%, rgba(15, 76, 117, 0.2), transparent 32%),
        radial-gradient(circle at 50% 80%, rgba(230, 126, 34, 0.12), transparent 38%),
        linear-gradient(180deg, #eef4fb 0%, #e8f0fa 45%, #f2f7fc 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* iPhone safe areas */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.22;
}

p {
    color: var(--text-light);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a, button, input, select, textarea {
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Header */
.header {
    background: linear-gradient(120deg, rgba(10, 35, 54, 0.94), rgba(12, 52, 82, 0.92));
    box-shadow: 0 10px 30px rgba(7, 26, 43, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #eef6ff;
}

.logo i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav {
    display: flex;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: rgba(233, 244, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #7fd8ff, #b3e8ff);
    box-shadow: 0 0 10px rgba(127, 216, 255, 0.55);
}

.my-offers-badge {
    background: linear-gradient(135deg, #f29b4b, #e67e22);
    color: #fff;
    font-weight: 700;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: 4px;
    vertical-align: top;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-greeting {
    color: #c9f2dc !important;
    font-weight: 600;
}

.admin-link {
    background: linear-gradient(135deg, #0e74b3, #0b5f93);
    color: var(--white) !important;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 18px rgba(4, 48, 77, 0.45);
}

.admin-link:hover {
    background: linear-gradient(135deg, #1283c8, #0e6ea9);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #eef6ff;
}

/* Hero Section - Cinematic Slideshow */
.hero {
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
    background: #1b262c;
}

.hero-slides {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.05s ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 3.1s ease-in-out forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Alternate zoom directions for variety */
.hero-slide:nth-child(2).active { animation-name: kenBurns2; }
.hero-slide:nth-child(3).active { animation-name: kenBurns3; }
.hero-slide:nth-child(4).active { animation-name: kenBurns4; }
.hero-slide:nth-child(5).active { animation-name: kenBurns5; }

@keyframes kenBurns2 {
    0% { transform: scale(1.05) translate(1%, 0); }
    100% { transform: scale(1) translate(0, 1%); }
}
@keyframes kenBurns3 {
    0% { transform: scale(1) translate(0, 1%); }
    100% { transform: scale(1.1) translate(1%, -1%); }
}
@keyframes kenBurns4 {
    0% { transform: scale(1.08) translate(-1%, -1%); }
    100% { transform: scale(1) translate(0, 0); }
}
@keyframes kenBurns5 {
    0% { transform: scale(1) translate(1%, 1%); }
    100% { transform: scale(1.06) translate(-1%, 0); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 36, 58, 0.6) 0%,
        rgba(17, 29, 37, 0.58) 58%,
        rgba(17, 29, 37, 0.82) 100%
    );
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.08), transparent 34%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.06) 75%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 14px 20px;
    max-width: 540px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 22, 32, 0.34) 0%, rgba(10, 22, 32, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.5);
    animation: heroTextIn 0.8s ease-out;
}

.hero-content p {
    font-size: 0.95rem;
    opacity: 1;
    font-weight: 300;
    max-width: 440px;
    margin: 0 auto;
    color: rgba(255,255,255,0.96);
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
    animation: heroTextIn 0.8s ease-out 0.2s both;
}

.hero-content.switching h1,
.hero-content.switching p {
    animation: heroTextOut 0.5s ease-in forwards;
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroTextOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.3);
    border-color: var(--accent-color);
}

.hero-dot:hover:not(.active) {
    background: rgba(255,255,255,0.7);
}

/* Hero Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 3;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    transition: width 0.1s linear;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Section */
.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.search-section .container {
    position: relative;
}

.search-section .container::before {
    content: '';
    position: absolute;
    inset: -14px -16px;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.12), rgba(50, 130, 184, 0.08));
    filter: blur(0.3px);
}

.search-box {
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-2) 100%);
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 40px rgba(27, 38, 44, 0.12);
    padding: 30px;
    overflow: visible;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: end;
    overflow: visible;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: visible;
}

.search-field label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-field label i {
    color: var(--primary-color);
}

.search-field select,
.search-field input {
    padding: 14px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--surface-1);
    color: var(--text-dark);
    width: 100%;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.1);
}

/* Location Autocomplete */
.location-autocomplete {
    position: relative;
    width: 100%;
    z-index: 50;
}

.location-autocomplete.open {
    z-index: 120;
}

.location-autocomplete input {
    padding-right: 36px;
}

.location-autocomplete.open input {
    border-color: var(--secondary-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.1);
}

.location-autocomplete::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.8rem;
    pointer-events: none;
    transition: color 0.2s;
}

.location-autocomplete.open::after {
    color: var(--secondary-color);
}

.autocomplete-list {
    position: absolute;
    top: calc(100% - 1px);
    left: -1px;
    right: -1px;
    background: var(--white);
    border: 1px solid var(--secondary-color);
    border-top: 1px solid var(--border-subtle);
    border-radius: 0 0 12px 12px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 120;
    display: none;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    animation: acSlideDown 0.18s ease-out;
}

@keyframes acSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-list .ac-heading {
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    pointer-events: none;
}

.autocomplete-list li {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.12s, padding-left 0.15s;
    border-radius: 0;
}

.autocomplete-list li .ac-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--surface-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.autocomplete-list li .ac-icon i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.autocomplete-list li .ac-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.autocomplete-list li .ac-text .ac-name {
    font-weight: 500;
    font-size: 0.92rem;
}

.autocomplete-list li .ac-text .ac-sub {
    font-size: 0.78rem;
    color: var(--text-light);
}

.autocomplete-list li:hover,
.autocomplete-list li.highlighted {
    background: var(--surface-1);
    padding-left: 20px;
}

.autocomplete-list li:hover .ac-icon,
.autocomplete-list li.highlighted .ac-icon {
    background: rgba(50, 130, 184, 0.12);
}

.autocomplete-list li .match {
    font-weight: 700;
    color: var(--primary-color);
}

.autocomplete-list li.all-locations {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2px;
    color: var(--text-light);
    font-size: 0.88rem;
}

.search-btn {
    background: linear-gradient(135deg, #e67e22, #d96b10);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    height: fit-content;
    box-shadow: 0 8px 18px rgba(230, 126, 34, 0.28);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(230, 126, 34, 0.36);
    background: linear-gradient(135deg, #f08b32, #d96b10);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.filter-tag {
    background: #eaf2fb;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-tag button:hover {
    opacity: 1;
}

/* Results Info */
.results-info {
    padding: 14px 0 8px;
}

.results-info .container {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.results-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    flex: 1 1 260px;
    min-width: 0;
    overflow-wrap: anywhere;
    text-shadow: none;
}

.clear-filters-btn {
    background: none;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.clear-filters-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

/* Hotels Grid */
.hotels-section {
    padding: 30px 0 70px;
    position: relative;
}

.hotels-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(15, 76, 117, 0.09), transparent 30%),
        radial-gradient(circle at 90% 12%, rgba(50, 130, 184, 0.1), transparent 32%);
}

.hotels-section .container {
    position: relative;
    z-index: 1;
}

/* Hotels Layout — Sidebar + Grid */
.hotels-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.hotels-main {
    min-width: 0;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* ============ Filter Sidebar ============ */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 0;
    position: sticky;
    top: 85px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

.filter-sidebar::-webkit-scrollbar { width: 5px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-header h3 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.sidebar-reset-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.sidebar-reset-btn:hover {
    background: rgba(50, 130, 184, 0.08);
}

/* Filter Groups */
.filter-group {
    border-bottom: 1px solid var(--border-subtle);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-title {
    margin: 0;
    padding: 14px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.15s;
}

.filter-group-title:hover {
    background: var(--surface-1);
}

.filter-group-title i {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.2s;
}

.filter-group-title.collapsed i {
    transform: rotate(180deg);
}

.filter-group-content {
    padding: 0 20px 16px;
}

.filter-group-content.collapsed {
    display: none;
}

/* Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: color 0.15s;
    position: relative;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
    background: var(--white);
}

.filter-checkbox input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label i {
    width: 18px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.82rem;
}

.filter-count {
    font-size: 0.78rem;
    color: var(--text-light);
    min-width: 20px;
    text-align: right;
}

.stars-sm {
    display: inline-flex;
    gap: 1px;
}

.stars-sm i {
    font-size: 0.7rem;
    color: #f39c12;
    width: auto;
}

/* Price Range Slider */
.price-range-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.dual-range-slider {
    position: relative;
    height: 30px;
}

.dual-range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: transparent;
    position: absolute;
    top: 12px;
    pointer-events: none;
    z-index: 2;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}

.slider-track {
    position: absolute;
    top: 12px;
    height: 4px;
    width: 100%;
    border-radius: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.slider-track::after {
    content: '';
    position: absolute;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    left: var(--left, 0%);
    right: var(--right, 0%);
}

.price-quick-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.price-quick-btn {
    padding: 5px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: var(--white);
    font-size: 0.76rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.price-quick-btn:hover,
.price-quick-btn.active {
    border-color: var(--primary-color);
    background: rgba(15, 76, 117, 0.06);
    color: var(--primary-color);
}

/* Mobile filter button + overlay */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(15, 76, 117, 0.35);
    gap: 8px;
    align-items: center;
}

.mobile-filter-btn i { font-size: 0.85rem; }

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
}

.filter-overlay.active {
    display: block;
}

@media (max-width: 900px) {
    .hotels-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 200;
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        transition: left 0.3s ease;
        border: none;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    }

    .filter-sidebar.open {
        left: 0;
    }

    .sidebar-header {
        border-radius: 0;
    }

    .mobile-filter-btn {
        display: flex;
    }

    .mobile-show-results-btn {
        display: block;
        width: calc(100% - 32px);
        margin: 16px;
        padding: 14px;
        border: none;
        border-radius: 8px;
        background: var(--secondary-color);
        color: var(--white);
        font-size: 1rem;
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        text-align: center;
        gap: 6px;
        position: sticky;
        bottom: 0;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    }
    .mobile-show-results-btn:hover {
        background: var(--primary-color);
    }
    .mobile-show-results-btn i {
        margin-right: 6px;
    }
}

/* Hide show-results button on desktop */
.mobile-show-results-btn {
    display: none;
}

/* Hotel Card */
.hotel-card {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(12, 34, 52, 0.16);
}

.hotel-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

/* ---- Card Image Slider ---- */
.hotel-slider {
    cursor: pointer;
}

.hotel-slider .slider-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hotel-slider .slider-img.active {
    opacity: 1;
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-dark);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.hotel-card:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.slider-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.img-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 5;
}

/* ---- Hotel Detail Modal ---- */
.modal-content.hotel-detail-modal {
    max-width: 750px;
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.hotel-detail-modal > .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.hotel-detail-modal > .modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.detail-gallery {
    position: relative;
    background: #000;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.detail-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.detail-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.detail-slide.active {
    opacity: 1;
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-dark);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.gallery-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 5;
}

.detail-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 16px;
    background: #111;
    overflow-x: auto;
    scrollbar-width: thin;
}

.detail-thumb {
    width: 70px; height: 50px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, border 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.detail-thumb.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.detail-thumb:hover {
    opacity: 0.85;
}

.detail-info {
    padding: 28px 32px 32px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.detail-location {
    color: var(--text-light);
    font-size: 1rem;
}

.detail-location i {
    color: var(--primary-color);
}

.detail-price {
    text-align: right;
}

.detail-price .price-value {
    font-size: 2rem;
    font-weight: 700;
}

.detail-rating {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.detail-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 1rem;
}

.detail-amenities h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.detail-amenities .hotel-amenities {
    margin-bottom: 28px;
}

.detail-actions {
    display: flex;
    gap: 14px;
}

.detail-actions .offer-btn,
.detail-actions .book-btn {
    flex: 1;
    padding: 16px;
    font-size: 1.05rem;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Detail modal responsive */
@media (max-width: 768px) {
    .hotel-detail-modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    .detail-gallery {
        border-radius: 0;
    }
    .detail-slider {
        height: 280px;
    }
    .detail-info {
        padding: 20px;
    }
    .detail-header {
        flex-direction: column;
    }
    .detail-header h2 {
        font-size: 1.4rem;
    }
    .detail-price {
        text-align: left;
    }
    .detail-price .price-value {
        font-size: 1.6rem;
    }
    .detail-actions {
        flex-direction: column;
    }
}

.hotel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hotel-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hotel-favorite:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hotel-favorite.active {
    background: var(--primary-color);
    color: var(--white);
}

.hotel-content {
    padding: 22px;
}

.hotel-card .hotel-content {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.hotel-location i {
    color: var(--primary-color);
}

.hotel-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.hotel-name-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hotel-name-link:hover {
    color: var(--primary-color);
}

.hotel-name-icon {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
}

.hotel-card:hover .hotel-name-icon {
    opacity: 1;
}

.hotel-name-link:hover .hotel-name-icon {
    color: var(--primary-color);
    opacity: 1;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: #f1c40f;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.amenity {
    background: var(--surface-3);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.amenity i {
    color: var(--secondary-color);
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e8eef5;
}

.hotel-actions {
    display: flex;
    gap: 10px;
}

.hotel-price {
    display: flex;
    flex-direction: column;
}

.room-count-hint {
    font-size: 0.72rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 2px;
}

/* Room Type Select in Offer Modal */
.room-type-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s;
}
.room-type-select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

/* Room Types in Detail Modal */
.detail-rooms {
    margin-top: 20px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.detail-rooms h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-rooms h4 i {
    color: var(--secondary-color);
}

.room-type-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--surface-2, #f8f9fa);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    gap: 12px;
    transition: var(--transition);
}

.room-type-row:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(50, 130, 184, 0.1);
}

.room-type-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.room-type-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.room-type-capacity {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.room-type-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.room-type-price span {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-light);
}

.room-type-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.room-offer-btn,
.room-book-btn {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
}

@media (max-width: 600px) {
    .room-type-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .room-type-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .room-type-price {
        font-size: 0.95rem;
    }
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-value span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.book-btn {
    background: linear-gradient(135deg, #e67e22, #d96b10);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 18px rgba(230, 126, 34, 0.3);
}

.book-btn:hover {
    background: linear-gradient(135deg, #f08b32, #d96b10);
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(230, 126, 34, 0.38);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 70px 26px;
    color: var(--text-light);
    border: 1px dashed rgba(15, 76, 117, 0.22);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(242,247,252,0.9));
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* About & Contact Sections */
.info-section {
    padding: 22px 0;
}

.contact-section {
    padding-top: 0;
    padding-bottom: 48px;
}

.info-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(15, 76, 117, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: 0 10px 24px rgba(12, 34, 52, 0.08);
}

.info-card h2 {
    color: var(--primary-color);
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.info-card p {
    margin: 0;
    line-height: 1.75;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    background: #eef5fd;
    border: 1px solid rgba(15, 76, 117, 0.14);
    border-radius: 999px;
    padding: 8px 14px;
}

.contact-links a:hover {
    background: #e1edf9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f4c75 0%, #1b3a5c 50%, #1b262c 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #3282b8, #e67e22);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #e67e22;
    margin-top: 2px;
}

.footer-col p {
    color: #a8c4db;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #a8c4db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a::before {
    content: '›';
    color: #e67e22;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-col ul a:hover::before {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8c4db;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #e67e22;
    border-color: #e67e22;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #6d8fa8;
    font-size: 0.85rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    padding: 20px;
    transition: var(--transition);
    box-shadow: -10px 0 34px rgba(12, 34, 52, 0.22);
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #e8eef5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav a i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.mobile-nav a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-nav a:focus-visible {
    border-radius: var(--radius-sm);
}

.mobile-admin-link {
    margin-top: 5px;
}

/* Offer Modal */
.offer-btn {
    background: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}

.offer-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

.modal-header {
    background: var(--bg-light);
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.close {
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.modal-body {
    padding: 25px;
}

.offer-form .form-group {
    margin-bottom: 20px;
}

.offer-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.offer-form input,
.offer-form select,
.offer-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-offer-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-offer-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    border-left: 4px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.toast.success {
    border-left-color: #27ae60;
}

.toast.error {
    border-left-color: #c0392b;
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #27ae60;
}

.toast.error i {
    color: #c0392b;
}

.toast-message {
    font-size: 0.95rem;
    color: var(--text-dark);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .search-field,
    .search-row > * {
        min-width: 0;
        max-width: none;
    }

    .search-field select,
    .search-field input,
    .search-field input[type="date"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        height: 300px;
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 1.55rem;
    }

    .hero-content p {
        font-size: 0.88rem;
    }

    .hero-content {
        max-width: 92%;
        padding: 16px 14px;
        border-radius: 12px;
    }

    .search-row {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .search-section {
        padding: 0;
        margin-top: 0;
    }

    .search-section .container {
        padding: 0;
    }

    .search-section .container::before {
        display: none;
    }

    .search-box {
        padding: 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .search-row {
        gap: 10px;
    }

    .search-field label {
        font-size: 0.72rem;
        gap: 6px;
        margin-bottom: -2px;
    }

    .search-field select,
    .search-field input,
    .search-field input[type="date"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 16px; /* prevents iOS auto-zoom */
        border-radius: 10px;
        -webkit-appearance: none;
    }

    .search-btn {
        width: 100%;
        min-height: 44px; /* Apple HIG touch target */
        justify-content: center;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .results-info .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hotel-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }

    .hotel-price {
        align-items: center;
        margin-bottom: 5px;
    }

    .hotel-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .offer-btn, .book-btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 12px 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 12px 10px;
        border-radius: 10px;
    }

    .hero-indicators {
        bottom: 15px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .search-section {
        padding: 0;
        margin-top: 0;
    }

    .search-section .container {
        padding: 0;
    }

    .search-section .container::before {
        display: none;
    }

    .search-box {
        padding: 14px 12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .search-row {
        gap: 8px;
    }

    .search-field label {
        font-size: 0.7rem;
    }

    .search-field select,
    .search-field input {
        padding: 10px 12px;
    }

    .hotel-content {
        padding: 15px;
    }

    .hotel-name {
        font-size: 1.1rem;
    }

    .price-value {
        font-size: 1.25rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-card {
    animation: fadeIn 0.5s ease forwards;
}

.hotel-card:nth-child(1) { animation-delay: 0.1s; }
.hotel-card:nth-child(2) { animation-delay: 0.2s; }
.hotel-card:nth-child(3) { animation-delay: 0.3s; }
.hotel-card:nth-child(4) { animation-delay: 0.4s; }
.hotel-card:nth-child(5) { animation-delay: 0.5s; }
.hotel-card:nth-child(6) { animation-delay: 0.6s; }

.submit-offer-btn, .btn-primary {
    background: linear-gradient(135deg, #0f4c75, #0d5d8f);
    color: var(--white);
    border: none;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 0 8px 18px rgba(10, 54, 83, 0.25);
}

.submit-offer-btn:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #11639a, #0d5d8f);
    transform: translateY(-1px);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Auth Modal & Form Styling */
.auth-modal-content {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: none;
}

.auth-modal-content .modal-header {
    background: #f8f9fa;
    padding: 20px 25px;
    border-bottom: 1px solid #ebedef;
}

.auth-modal-content .modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    background: #f1f3f5;
    padding: 4px;
    border-radius: 12px;
}

.auth-tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-tab-btn:hover:not(.active) {
    background: rgba(0,0,0,0.05);
    color: var(--text-dark);
}

.modern-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-label input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.2s;
    background: #f8f9fa;
}

.floating-label input:focus {
    border-color: var(--primary-color);
    background: white;
    outline: none;
}

.floating-label label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 5px;
    color: #adb5bd;
    font-size: 1rem;
    transition: all 0.2s;
    pointer-events: none;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 0;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: white;
    font-weight: 600;
}

.select-wrapper {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-top: 5px;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: transparent;
    appearance: none;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
}

.select-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.select-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    display: block;
}

.btn-lg {
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.form-actions {
    margin-bottom: 20px;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #6c757d;
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 0;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    color: #adb5bd;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.social-buttons {
    display: grid;
    gap: 12px;
}

.social-btn {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 10px;
    padding: 12px;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.google-login-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.google-login-btn:hover {
    background-color: #f8f9fa;
}

.facebook-login-btn {
    background-color: #1877f2;
    color: white;
}

.facebook-login-btn:hover {
    background-color: #166fe5;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.3s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.2s !important;
        scroll-behavior: auto !important;
    }

    .hero-slide {
        animation: none !important;
    }
}
