/**
 * HalalBooking - Styles principaux
 */

/* Variables CSS */
:root {
    --primary-color: #20b2aa;
    --primary-dark: #1a9a92;
    --secondary-color: #daba38;
    --dark-color: #1a1a2e;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-icon {
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-contact .phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
}

.header-contact .phone-link:hover {
    background: var(--primary-dark);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">🕌</text></svg>') no-repeat center;
    background-size: 300px;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Search Form */
.search-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-lg);
}

.search-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.form-field {
    position: relative;
}

.form-field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.form-field label svg {
    display: block;
    flex-shrink: 0;
}

.form-field input, .form-field select {
    width: 100%;
    padding: 15px 15px 15px 48px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-field input:focus, .form-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

/* Destination field specific */
.destination-field {
    min-width: 220px;
}

.destination-field .autocomplete-dropdown {
    color: #333 !important;
    left: 0;
    right: 0;
}

.field-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
    padding-left: 48px;
}

/* Dates Display */
.dates-field {
    min-width: 280px;
}

.dates-field label {
    left: 14px;
    background: white;
    padding: 2px;
}

.dates-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px 10px 50px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    min-height: 52px;
}

.dates-display:hover {
    border-color: var(--primary-color);
}

.date-box {
    display: flex;
    flex-direction: column;
}

.date-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.date-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.date-separator {
    color: var(--primary-color);
    font-weight: 500;
}

/* Guests Trigger */
.guests-field label {
    left: 14px;
    background: white;
    padding: 2px;
}

.guests-trigger {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: white;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: var(--transition);
    min-height: 52px;
}

.guests-trigger:hover {
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.search-btn:hover {
    background: #c9a930;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    color: #333 !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #f8f9fa;
}

.autocomplete-item.active {
    background: rgba(32, 178, 170, 0.08);
    border-left: 3px solid var(--primary-color);
}

.item-icon {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.item-country {
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 280px;
}

.item-count {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(32, 178, 170, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.item-type {
    display: inline-block;
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    color: white;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: capitalize;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.item-stars {
    color: #f5a623;
    font-size: 0.8rem;
    letter-spacing: -1px;
}

.item-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    min-width: 32px;
}

.autocomplete-loading,
.autocomplete-empty,
.autocomplete-error {
    padding: 25px 15px;
    text-align: center;
    color: var(--text-light);
}

.autocomplete-loading {
    color: var(--primary-color);
}

.autocomplete-empty {
    color: #999;
    font-style: italic;
}

/* Old suggestions dropdown - kept for compatibility */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

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

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--bg-light);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.modal-footer .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 8px;
}

.modal-footer .btn-secondary:hover {
    background: rgba(32, 178, 170, 0.1);
}

.modal-footer .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 8px;
}

.modal-footer .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.counter-row:last-child {
    border-bottom: none;
}

.counter-label strong {
    display: block;
}

.counter-label span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.counter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.counter-value {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Calendar Modal */
.calendar-modal .modal-content {
    max-width: 750px;
}

.modal-lg {
    max-width: 750px !important;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calendar-nav {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cal-nav-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cal-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.calendar-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    flex: 1;
}

.calendar-month {
    text-align: center;
}

.cal-month-header {
    margin-bottom: 15px;
}

.cal-month-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-color);
    text-transform: capitalize;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.cal-weekdays span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    padding: 8px 5px;
    font-weight: 600;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: #333;
    position: relative;
}

.cal-day:hover:not(.disabled):not(.empty) {
    background: #fff3e0;
    color: #e65100;
    transform: scale(1.1);
    font-weight: 600;
}

.cal-day.empty {
    cursor: default;
}

.cal-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.cal-day.disabled:hover {
    transform: none;
    background: transparent;
}

.cal-day.today {
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

/* Style HalalBooking - Orange pour les sélections */
.cal-day.checkin {
    background: #f57c00 !important;
    color: white !important;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 124, 0, 0.4);
}

.cal-day.checkout {
    background: #f57c00 !important;
    color: white !important;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 124, 0, 0.4);
}

.cal-day.checkin.checkout {
    border-radius: 50%;
}

.cal-day.in-range {
    background: #ffcc80;
    border-radius: 0;
    color: #e65100;
    font-weight: 500;
}

.cal-day.in-range:first-of-type,
.cal-day.checkin + .cal-day.in-range {
    border-radius: 50% 0 0 50%;
}

/* Hover preview - prévisualisation de la plage au survol */
.cal-day.hover-preview {
    background: #ffe0b2 !important;
    border-radius: 0;
    color: #e65100;
}

.cal-day.hover-end {
    background: #ffb74d !important;
    color: white !important;
    border-radius: 50%;
    font-weight: 700;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

.calendar-info {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.selected-dates {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.selected-date {
    text-align: center;
}

.selected-date .label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.selected-date .value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #f57c00;
}

.selected-date.nights .value {
    color: var(--primary-color);
}

/* Groups Modal */
.group-container {
    max-height: 400px;
    overflow-y: auto;
}

.group-section {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.group-title {
    font-weight: 600;
    color: var(--primary-color);
}

.group-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-remove:hover {
    background: var(--danger);
    color: white;
}

.group-section .counter-row {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.group-section .counter-row:last-of-type {
    border-bottom: none;
}

.label-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

.children-ages {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.ages-title {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.ages-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.child-age-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9rem;
    min-width: 80px;
    cursor: pointer;
}

.child-age-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-add-group {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
}

.btn-add-group:hover {
    background: rgba(32, 178, 170, 0.1);
}

.group-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    background: #e3f2fd;
    padding: 10px;
    border-radius: var(--radius);
}

.group-info svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Hotels Grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

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

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

.hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.halal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hotel-content {
    padding: 20px;
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.hotel-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.hotel-name a {
    color: var(--dark-color);
}

.hotel-name a:hover {
    color: var(--primary-color);
}

.hotel-stars {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.hotel-price {
    margin-bottom: 15px;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-hotel {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    font-weight: 500;
}

.btn-hotel:hover {
    background: var(--primary-dark);
    color: white;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.country-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.country-flag {
    font-size: 2rem;
}

.country-name {
    flex: 1;
    font-weight: 500;
}

.country-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.country-card:hover .country-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info .icon {
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Search Page */
.search-compact {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.search-inputs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-inputs .input-group {
    flex: 1;
    min-width: 150px;
    position: relative;
}

.search-inputs .input-group.destination-field {
    flex: 2;
    min-width: 200px;
}

.search-inputs .input-group.dates-field {
    flex: 1.5;
}

.search-inputs .input-group.guests-field {
    flex: 1.2;
}

.search-inputs input, .search-inputs select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

.search-inputs input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Compact dates display */
.dates-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    height: 46px;
}

.dates-compact:hover {
    border-color: var(--primary-color);
}

.dates-compact .date-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.dates-compact .date-sep {
    color: var(--primary-color);
}

/* Compact guests trigger */
.search-inputs .guests-trigger {
    height: 46px;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.guests-compact {
    display: flex;
    gap: 10px;
}

.guests-compact select {
    flex: 1;
}

.btn-search {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    height: 46px;
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--primary-dark);
}

.search-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.search-filters {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.search-filters h3 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.country-filter-list {
    list-style: none;
}

.country-filter-list li {
    margin-bottom: 5px;
}

.country-filter-list a {
    display: block;
    padding: 8px 12px;
    color: var(--text-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.country-filter-list a:hover, .country-filter-list a.active {
    background: var(--primary-color);
    color: white;
}

/* Search Results */
.results-header {
    margin-bottom: 25px;
}

.results-header h1 {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

.results-count {
    color: var(--text-light);
}

.hotels-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hotel-result-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hotel-result-image {
    position: relative;
    height: 100%;
    min-height: 250px;
}

.hotel-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-result-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.hotel-result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.hotel-result-info .hotel-location {
    margin-bottom: 5px;
}

.hotel-result-info .hotel-name {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.hotel-rating {
    text-align: right;
}

.rating-score {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius);
    font-weight: 600;
}

.rating-count {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.hotel-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.hotel-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.facility-tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.hotel-result-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hotel Detail Page */
.hotel-header {
    padding: 20px 0;
    background: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--text-light);
}

.hotel-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hotel-title-info .hotel-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.hotel-title-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hotel-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.halal-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Gallery */
.hotel-gallery {
    padding: 0 0 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 450px;
    position: relative;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s;
}

.gallery-item:hover {
    opacity: 0.9;
}

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

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

.gallery-item.main {
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 40px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.view-all-photos {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Bouton +X photos stylisé */
.gallery-more-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s;
    z-index: 5;
}

.gallery-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-more-btn svg {
    width: 18px;
    height: 18px;
}

/* Hotel Gallery Modal */
.hotel-gallery-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.modal-fullscreen {
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0;
}

.gallery-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0,0,0,0.95);
    color: white;
}

.gallery-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
}

.gallery-modal-counter {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-right: 20px;
}

.gallery-modal-header .modal-close {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-header .modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.gallery-modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
    min-height: 0;
}

.gallery-modal-main {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 80px;
}

.gallery-modal-main img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 4px;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.gallery-modal-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-nav.prev {
    left: 20px;
}

.gallery-modal-nav.next {
    right: 20px;
}

.gallery-modal-thumbs {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    overflow-x: auto;
    background: rgba(0,0,0,0.95);
    justify-content: center;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hotel Content Layout */
.hotel-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.hotel-section {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.hotel-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.hotel-description {
    color: var(--text-color);
    line-height: 1.8;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

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

.facility-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.halal-facilities .facility-item {
    background: rgba(32, 178, 170, 0.1);
    border: 1px solid rgba(32, 178, 170, 0.2);
}

/* Rooms Section */
.search-dates-summary {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.rooms-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Old room-card kept for backward compatibility */
.room-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

/* New HalalBooking style room cards */
.room-card-new {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.room-card-new:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.room-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.room-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-photo-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Price Badge */
.room-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: right;
}

.price-original {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

.price-discount {
    background: #ff6b6b;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-current {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
}

.price-current small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.price-savings {
    background: rgba(255,255,255,0.95);
    color: #28a745;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-top: 5px;
    display: inline-block;
}

/* Room Details */
.room-details {
    padding: 20px;
}

.room-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.room-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-beds, .room-meal-plan {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.bed-icon, .meal-icon {
    font-size: 1rem;
}

/* Beds Section - Booking Style */
.room-beds-section {
    background: #f8f9fa;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.beds-title, .capacity-title {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.beds-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bed-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.bed-item .bed-icon {
    font-size: 1rem;
}

.bed-item .bed-count {
    font-weight: 600;
    color: var(--primary-color);
}

.bed-item .bed-type {
    color: var(--text-color);
}

/* Compact Inline Styles - Like HalalBooking */
.room-specs-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.room-specs-inline .spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-beds-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.room-beds-inline .beds-icon {
    font-size: 1rem;
}

.room-beds-inline .beds-text {
    font-weight: 500;
}

.room-meal-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.room-badges-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.room-badges-inline .badge {
    padding: 4px 10px;
    font-size: 0.8rem;
}

/* Capacity Section - Booking Style */
.room-capacity {
    background: #f8f9fa;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.capacity-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.person-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.person-icon.adult {
    color: var(--text-color);
}

.person-icon.child {
    color: var(--primary-color);
    opacity: 0.8;
}

.capacity-text {
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Room Badges */
.room-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 15px 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    width: fit-content;
}

.badge-icon {
    font-size: 0.85rem;
}

.badge-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-warning {
    background: #fff3e0;
    color: #e65100;
}

.badge-info {
    background: #e3f2fd;
    color: #1565c0;
}

/* Room Actions */
.room-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-reserve {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-reserve:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-info {
    padding: 12px 20px;
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-info:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Room Photo Count - Clickable */
.room-photo-count {
    cursor: pointer;
    transition: background 0.2s;
}

.room-photo-count:hover {
    background: rgba(0,0,0,0.8);
}

.room-main-image {
    cursor: pointer;
}

.room-data-holder {
    display: none;
}

/* Room Detail Modal */
.room-detail-modal .modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-xl {
    max-width: 900px !important;
}

.room-detail-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Galerie photos EN HAUT */
.room-gallery-top {
    background: #000;
}

.room-gallery-top .gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
}

.room-gallery-top .gallery-main img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev { left: 15px; }
.gallery-nav.next { right: 15px; }

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.gallery-thumbs {
    display: flex;
    gap: 5px;
    padding: 10px;
    overflow-x: auto;
    background: #111;
}

.gallery-thumbs .thumb {
    width: 70px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.gallery-thumbs .thumb:hover {
    opacity: 0.9;
}

.gallery-thumbs .thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Infos EN BAS */
.room-modal-info-bottom {
    padding: 20px;
}

.room-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.room-info-section {
    margin-bottom: 15px;
}

.room-info-section h4 {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.room-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-specs-grid .spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.room-specs-grid .spec-icon {
    font-size: 1rem;
}

/* Beds in modal */
.bed-item-modal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: var(--radius);
    margin-right: 10px;
    margin-bottom: 10px;
}

.bed-item-modal .bed-icon {
    font-size: 1.2rem;
}

.bed-item-modal .bed-count {
    font-weight: 600;
    color: var(--primary-color);
}

.bed-item-modal .bed-name {
    font-weight: 500;
}

/* Capacity in modal */
.capacity-display {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.capacity-display .person-icon {
    font-size: 1.5rem;
}

.capacity-display .person-icon.child {
    font-size: 1.2rem;
    opacity: 0.8;
}

.capacity-text-modal {
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* Facilities in modal */
.facilities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.facilities-list .facility-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Conditions in modal */
.condition-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.condition-item.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.condition-item.warning {
    background: #fff3e0;
    color: #e65100;
}

.condition-item.info {
    background: #e3f2fd;
    color: #1565c0;
}

.cancellation-policy {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
    font-style: italic;
}

/* Footer du modal */
.room-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.room-modal-price {
    display: flex;
    flex-direction: column;
}

.room-modal-price .price-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.room-modal-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Responsive pour le modal */
@media (max-width: 768px) {
    .room-gallery-top .gallery-main {
        height: 250px;
    }
    
    .room-gallery-top .gallery-main img {
        max-height: 250px;
    }
    
    .room-info-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .room-modal-info-bottom {
        padding: 15px;
    }
    
    .room-modal-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .room-modal-footer .btn-lg {
        width: 100%;
    }
}

.room-image {
    height: 150px;
    border-radius: var(--radius);
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.room-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.room-occupancy, .room-meal {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.room-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.room-booking {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-price .price-amount {
    font-size: 1.5rem;
}

.room-cancellation {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-book {
    min-width: 150px;
}

/* Sidebar */
.hotel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.sidebar-card .form-group {
    margin-bottom: 15px;
}

.sidebar-card label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.sidebar-card input, .sidebar-card select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.sidebar-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sidebar-card .btn-primary {
    width: 100%;
}

.contact-phone {
    display: block;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    color: var(--text-color);
}

/* Hotel Search Bar Horizontal */
.hotel-search-bar {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-form-horizontal .search-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-form-horizontal .search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.search-form-horizontal .search-field label {
    color: var(--text-light);
}

.search-form-horizontal .dates-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.search-form-horizontal .dates-display:hover {
    border-color: var(--primary-color);
}

.search-form-horizontal .date-box {
    display: flex;
    flex-direction: column;
}

.search-form-horizontal .date-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.search-form-horizontal .date-value {
    font-weight: 500;
    font-size: 0.95rem;
}

.search-form-horizontal .date-sep {
    color: var(--primary-color);
}

.search-form-horizontal .guests-trigger {
    padding: 10px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form-horizontal .guests-trigger:hover {
    border-color: var(--primary-color);
}

.search-form-horizontal .btn-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-form-horizontal .btn-search:hover {
    background: var(--primary-dark);
}

/* Hotel Main Full Width */
.hotel-main-full {
    max-width: 100%;
}

/* Info Blocks Row */
.info-blocks-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.info-block {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.info-block p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-block li {
    padding: 8px 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.info-block li:last-child {
    border-bottom: none;
}

.info-block .contact-phone {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-decoration: none;
}

.info-block .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.info-block .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Booking Page */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.booking-form-section h1 {
    font-size: 1.75rem;
    margin-bottom: 25px;
}

.booking-form {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.terms-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

/* Payment Section */
.payment-section {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
}

.payment-summary {
    margin-bottom: 20px;
}

.payment-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.payment-line:last-child {
    border-bottom: none;
}

.payment-line.highlight {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.payment-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.payment-notice.full-payment {
    background: #d4edda;
    border-color: #28a745;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.btn-payment {
    flex: 1;
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Booking Summary */
.booking-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.summary-hotel {
    display: flex;
    gap: 15px;
    padding: 20px;
}

.summary-hotel img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.summary-hotel-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.summary-hotel-info .location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.summary-card hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

.summary-details, .summary-room, .summary-price {
    padding: 20px;
}

.summary-details h4, .summary-room h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.detail-row .label {
    color: var(--text-light);
}

.summary-room .room-name {
    font-weight: 600;
}

.summary-room .meal-plan {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.summary-price {
    background: var(--bg-light);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.price-row.total {
    font-size: 1.1rem;
}

.price-row.deposit {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.agency-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.agency-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.agency-card p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Payment Result */
.payment-result {
    padding: 60px 0;
}

.result-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-card.success .result-icon {
    color: var(--success);
}

.result-card.error .result-icon, .result-card.cancelled .result-icon {
    color: var(--danger);
}

.result-card h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.result-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.booking-reference {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.booking-reference .label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.booking-reference .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.confirmation-details {
    text-align: left;
    margin-bottom: 30px;
}

.confirmation-details h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.detail-item .icon {
    font-size: 1.5rem;
}

.detail-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.email-notice {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-help {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-help h3 {
    margin-bottom: 10px;
}

/* Payment Redirect */
.payment-redirect {
    text-align: center;
    padding: 60px 20px;
}

.payment-redirect h2 {
    margin-bottom: 15px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    padding: 10px 15px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Infinite Scroll */
.infinite-scroll-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 15px;
    color: var(--text-light);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.scroll-end-message {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.scroll-end-message p {
    margin: 0;
    padding: 15px 25px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: inline-block;
}

/* Empty State */
.search-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.search-empty h2 {
    margin-bottom: 10px;
}

.search-empty p {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .search-form-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-layout {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        position: static;
    }
    
    .hotel-layout {
        grid-template-columns: 1fr;
    }
    
    .hotel-sidebar {
        order: -1;
    }
    
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .booking-summary {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-contact {
        order: 1;
    }
    
    .search-form-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hotel-result-card {
        grid-template-columns: 1fr;
    }
    
    .hotel-result-image {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 100px;
    }
    
    .gallery-item.main {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-more-btn {
        bottom: 10px;
        left: 10px;
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-modal-nav.prev {
        left: 10px;
    }
    
    .gallery-modal-nav.next {
        right: 10px;
    }
    
    .gallery-modal-main {
        padding: 10px;
    }
    
    .gallery-modal-main img {
        max-height: 50vh;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
    
    .gallery-modal-header h3 {
        font-size: 0.95rem;
    }
    
    .room-card {
        grid-template-columns: 1fr;
    }
    
    .room-booking {
        text-align: left;
        flex-direction: row;
        align-items: center;
    }
    
    .rooms-list {
        grid-template-columns: 1fr;
    }
    
    .room-card-new {
        max-width: 100%;
    }
    
    .room-actions {
        flex-direction: column;
    }
    
    .btn-reserve, .btn-info {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Calendar */
    .calendar-modal .modal-content {
        max-width: 100%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .calendar-months {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .calendar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cal-nav-btn {
        position: absolute;
        top: 20px;
    }
    
    #cal-prev {
        left: 10px;
    }
    
    #cal-next {
        right: 10px;
    }
    
    .selected-dates {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    /* Responsive Search Form */
    .search-inputs {
        flex-direction: column;
    }
    
    .search-inputs .input-group {
        width: 100%;
        min-width: auto;
    }
    
    .dates-display, .dates-compact {
        width: 100%;
        justify-content: center;
    }
    
    .guests-trigger {
        width: 100%;
    }
    
    .btn-search {
        width: 100%;
    }
    
    /* Hotel Search Bar Responsive */
    .hotel-search-bar {
        position: relative;
        top: 0;
    }
    
    .search-form-horizontal .search-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-form-horizontal .search-field {
        width: 100%;
    }
    
    .search-form-horizontal .dates-display {
        width: 100%;
        justify-content: center;
    }
    
    .search-form-horizontal .guests-trigger {
        width: 100%;
        justify-content: center;
    }
    
    .search-form-horizontal .btn-search {
        width: 100%;
        justify-content: center;
    }
    
    /* Info Blocks Responsive */
    .info-blocks-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════════════════ */
.breadcrumb-nav { padding: 15px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--text-light); }
.breadcrumb-item a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
.breadcrumb-item a:hover { color: var(--primary-dark); text-decoration: underline; }
.breadcrumb-item.active span { color: var(--text-light); }


/* ═══════════════════════════════════════════════════════════════════════════
   CARACTÉRISTIQUES HALAL-FRIENDLY (Style HalalBooking)
   ═══════════════════════════════════════════════════════════════════════════ */

.halal-features-box {
    background: linear-gradient(135deg, #fef9f0 0%, #fdf5e6 100%);
    border-left: 4px solid #e8a54b;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(232, 165, 75, 0.1);
}

.halal-features-box .halal-features-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5a4a3a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(232, 165, 75, 0.2);
}

.halal-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 40px;
}

@media (max-width: 768px) {
    .halal-features-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.halal-features-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.halal-feature-category {
    margin-bottom: 5px;
}

.halal-feature-category-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 12px;
}

/* Item principal */
.halal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.halal-feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8a54b;
    font-size: 1rem;
    margin-top: 2px;
}

.halal-feature-icon svg {
    width: 18px;
    height: 18px;
    fill: #e8a54b;
}

.halal-feature-content {
    flex: 1;
}

/* Sous-catégorie (titre souligné) */
.halal-subcategory {
    display: block;
    color: #4a4a4a;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    margin-bottom: 4px;
}

/* Description (liste de chambres ou texte) */
.halal-description {
    color: #e8a54b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.halal-description.halal-list {
    display: block;
    margin-top: 3px;
}

.halal-description-inline {
    color: #555;
    font-weight: normal;
}

/* Tags (Privatisable, Pour femmes, etc.) */
.halal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.halal-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(232, 165, 75, 0.15);
    color: #c4873a;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Texte simple (sans sous-catégorie) */
.halal-text {
    color: #555;
}

/* Empty state */
.halal-features-empty {
    text-align: center;
    color: #888;
    padding: 15px;
    font-style: italic;
}

/* Loading state */
.halal-features-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #888;
}

.halal-features-loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #e8a54b;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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


/* ═══════════════════════════════════════════════════════════════════════════
   AVIS ET NOTE HALALBOOKING
   ═══════════════════════════════════════════════════════════════════════════ */

/* Badge de note (en haut à droite) */
.halal-rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.halal-rating-info {
    text-align: right;
}

.halal-rating-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #28a745;
}

.halal-reviews-link {
    display: block;
    font-size: 0.8rem;
    color: #007bff;
    text-decoration: underline;
}

.halal-reviews-link:hover {
    color: #0056b3;
}

.halal-rating-score {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #28a745;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px 8px 8px 0;
}

/* Section des avis */
.halal-reviews-section {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.halal-reviews-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.halal-reviews-summary {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.halal-reviews-average {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
}

.halal-reviews-count {
    font-size: 0.9rem;
    color: #666;
}

/* Liste des avis */
.halal-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.halal-review-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.halal-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.halal-review-author {
    font-weight: 600;
    color: #333;
}

.halal-review-date {
    font-size: 0.85rem;
    color: #888;
}

.halal-review-rating {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.halal-review-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.halal-review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.halal-review-positive,
.halal-review-negative {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.halal-review-positive {
    background: #d4edda;
    color: #155724;
}

.halal-review-negative {
    background: #f8d7da;
    color: #721c24;
}

.halal-review-positive .icon,
.halal-review-negative .icon {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 576px) {
    .halal-rating-badge {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    
    .halal-rating-info {
        text-align: right;
    }
    
    .halal-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARACTÉRISTIQUES HALAL COMPACTES (pour les cartes de résultats)
   ═══════════════════════════════════════════════════════════════════════════ */

.halal-features-compact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.halal-feature-compact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.4;
}

.hfc-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    color: #e8a54b;
}

.hfc-text {
    flex: 1;
}

.halal-feature-compact-more {
    font-size: 0.8rem;
    color: #e8a54b;
    margin-top: 8px;
    font-style: italic;
}

/* Badge de note compact (pour les cartes de résultats) */
.rating-badge-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-text-compact {
    font-size: 0.85rem;
    font-weight: 600;
}

.rating-score-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 6px;
    background: #5ba829;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px 6px 6px 0;
}

/* Notice pour les reviews */
.halal-reviews-notice {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.halal-reviews-notice a {
    color: #e8a54b;
    font-weight: 500;
}

/* Badge de note style HalalBooking */
.hotel-rating-hb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rating-text-hb {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.rating-score-hb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    padding: 0 8px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px 8px 8px 0;
}

/* Loading state pour les features halal dans les cartes */
.halal-features-loading {
    font-size: 0.8rem;
    color: #999;
    padding: 8px 0;
}

.hf-loader {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #e8a54b;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hf-spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

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

/* Styles améliorés pour les caractéristiques compactes */
.halal-features-card {
    min-height: 20px;
}

.halal-features-card:empty {
    display: none;
}

.halal-feature-compact-item .hfc-text {
    color: #555;
}

/* Style pour nourriture halal et sans alcool */
.halal-feature-compact-item:first-child .hfc-text,
.halal-feature-compact-item:nth-child(2) .hfc-text {
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL DES AVIS
   ═══════════════════════════════════════════════════════════════════════════ */

.reviews-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.reviews-modal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.reviews-modal-container {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.reviews-modal-body {
    padding: 0;
}

.reviews-modal-content {
    padding: 30px;
}

/* Header du modal */
.reviews-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 25px;
}

.reviews-modal-summary {
    flex: 1;
}

.reviews-modal-summary h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.reviews-summary-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e8a54b;
}

.reviews-modal-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 100px;
}

.reviews-score-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    padding: 15px 20px;
    border-radius: 12px 12px 12px 0;
}

.reviews-score-text {
    font-size: 1rem;
    font-weight: 600;
}

.reviews-score-count {
    font-size: 0.85rem;
    color: #666;
}

/* Liste des reviews */
.reviews-list {
    margin-top: 20px;
}

.reviews-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.review-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.review-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-item-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-item-meta {
    flex: 1;
}

.review-item-author {
    display: block;
    font-weight: 600;
    color: #333;
}

.review-item-location {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.review-item-rating {
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.review-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.review-item-positive,
.review-item-negative {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    line-height: 1.5;
}

.review-item-positive {
    background: #d4edda;
    color: #155724;
}

.review-item-negative {
    background: #f8d7da;
    color: #721c24;
}

.review-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reviews-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-modal-header {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    
    .reviews-modal-score {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
    
    .reviews-score-value {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    
    .reviews-modal-content {
        padding: 20px;
    }
}

/* Reviews summary box on hotel page */
.halal-reviews-summary-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 10px;
    transition: background 0.2s, box-shadow 0.2s;
    flex-wrap: wrap;
}

.halal-reviews-summary-box:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.halal-reviews-average {
    font-size: 2rem;
    font-weight: 700;
}

.halal-reviews-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.halal-reviews-count {
    font-size: 0.9rem;
    color: #666;
}

.halal-reviews-cta {
    margin-left: auto;
    color: #e8a54b;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .halal-reviews-summary-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .halal-reviews-cta {
        margin-left: 0;
    }
}

/* Review item text */
.review-item-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    margin-top: 10px;
}

/* Rating HalalBooking style - wrapper */
.hotel-rating-hb-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
}

.hotel-rating-hb-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.rating-text-hb {
    font-size: 0.95rem;
    font-weight: 600;
}

.rating-reviews-count {
    font-size: 0.8rem;
    color: #888;
}

.rating-score-hb {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    padding: 8px 12px;
    border-radius: 8px 8px 8px 0;
    min-width: 40px;
    text-align: center;
}

@media (max-width: 576px) {
    .hotel-rating-hb-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .hotel-rating-hb-left {
        align-items: flex-start;
    }
}

/* ========================================
   FILTRES DE RECHERCHE
   ======================================== */

.search-filters {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filters-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.btn-reset-filters {
    background: none;
    border: none;
    color: #e67e22;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-reset-filters:hover {
    background: #fff5eb;
}

.filter-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    user-select: none;
}

.filter-title:hover {
    color: #e67e22;
}

.filter-toggle {
    font-size: 0.7rem;
    color: #999;
    transition: transform 0.2s;
}

.filter-group.collapsed .filter-toggle {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-content {
    display: none;
}

.filter-content {
    animation: slideDown 0.2s ease-out;
}

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

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.filter-select:focus {
    border-color: #e67e22;
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.filter-checkbox,
.filter-radio {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 4px;
    margin: 0 -5px;
    padding-left: 5px;
    padding-right: 5px;
}

.filter-checkbox:hover,
.filter-radio:hover {
    background: #f8f9fa;
}

.filter-checkbox input,
.filter-radio input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #e67e22;
    cursor: pointer;
}

.filter-checkbox span,
.filter-radio span {
    font-size: 0.9rem;
    color: #444;
}

.halal-feature span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Rating labels avec couleurs */
.rating-label {
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.rating-label.excellent {
    background: #e8f5e9;
    color: #2e7d32;
}

.rating-label.tres-bien {
    background: #f1f8e9;
    color: #558b2f;
}

.rating-label.bien {
    background: #fff3e0;
    color: #e65100;
}

.rating-label.correct {
    background: #fff8e1;
    color: #f9a825;
}

/* Boutons mobile */
.btn-show-filters-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e67e22;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    z-index: 100;
    align-items: center;
    gap: 8px;
}

.btn-apply-filters-mobile {
    display: none;
    width: 100%;
    background: #e67e22;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .search-filters {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1000;
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .search-filters.active {
        transform: translateX(0);
    }
    
    .btn-show-filters-mobile {
        display: flex;
    }
    
    .btn-apply-filters-mobile {
        display: block;
    }
    
    .search-layout {
        flex-direction: column;
    }
}

/* Filtres actifs indicator */
.filter-checkbox input:checked + span,
.filter-radio input:checked + span {
    font-weight: 600;
    color: #e67e22;
}

/* Loading state pendant le filtrage */
.hotels-list.filtering {
    opacity: 0.5;
    pointer-events: none;
}

.hotels-list.filtering::after {
    content: 'Filtrage...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #e67e22;
}

/* Badge compteur de filtres actifs */
.filters-count {
    background: #e67e22;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

/* ========================================
   SYSTÈME DE TRI
   ======================================== */

.results-header {
    margin-bottom: 20px;
}

.results-header-top {
    margin-bottom: 15px;
}

.results-header-top h1 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
}

.results-sort label {
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
}

.sort-select {
    flex: 1;
    max-width: 220px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sort-select:hover {
    border-color: #e67e22;
}

.sort-select:focus {
    border-color: #e67e22;
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.sort-select optgroup {
    font-weight: 600;
    color: #333;
}

.sort-select option {
    padding: 8px;
    font-weight: 400;
}

/* Mobile */
@media (max-width: 768px) {
    .results-sort {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-select {
        max-width: 100%;
    }
}

/* Indicateur de tri actif */
.sort-select option:checked {
    background: #fff5eb;
}

/* Animation de tri */
.hotels-list.sorting .hotel-result-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========================================
   FIX AUTOCOMPLETE - FORCE COLORS
   ======================================== */
.autocomplete-dropdown,
.autocomplete-dropdown * {
    color: #333 !important;
}

.autocomplete-dropdown {
    background: #fff !important;
}

.autocomplete-item {
    background: #fff !important;
    color: #333 !important;
}

.autocomplete-item .item-name {
    color: #333 !important;
    font-weight: 600 !important;
}

.autocomplete-item .item-content {
    color: #333 !important;
}

.autocomplete-item .item-meta,
.autocomplete-item .item-country {
    color: #666 !important;
}

.autocomplete-item .item-count {
    color: #20b2aa !important;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #f8f9fa !important;
}

/* ========================================
   FILTER AUTOCOMPLETE STYLES
   ======================================== */
.filter-autocomplete-wrapper {
    position: relative;
}

.filter-autocomplete-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
}

.filter-autocomplete-input:focus {
    outline: none;
    border-color: #20b2aa;
    box-shadow: 0 0 0 2px rgba(32, 178, 170, 0.1);
}

.filter-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.filter-autocomplete-dropdown.active {
    display: block;
}

.filter-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    background: #fff;
}

.filter-dropdown-item:last-child {
    border-bottom: none;
}

.filter-dropdown-item:hover {
    background: #f5f5f5;
}

.filter-dropdown-item.filter-dropdown-reset {
    background: #f8f9fa;
    font-weight: 500;
    color: #666;
}

.filter-dropdown-item .item-flag,
.filter-dropdown-item .item-icon {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
}

.filter-dropdown-item .item-name {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.filter-dropdown-item .item-count {
    font-size: 0.8rem;
    color: #20b2aa;
    background: rgba(32, 178, 170, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.filter-dropdown-empty {
    padding: 15px;
    text-align: center;
    color: #999;
}
