/* JourneyJunction Hotel Booking - Custom Styles */

:root {
    --primary-color: #2C5F41;
    --secondary-color: #D4B08A;
    --accent-color: #8B4513;
    --light-beige: #F5F5DC;
    --dark-navy: #1B365D;
    --gold: #FFD700;
    --light-gray: #F8F9FA;
    --text-dark: #333333;
    --text-muted: #6C757D;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-navy);
    border-color: var(--dark-navy);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Clickable Stat Cards */
.clickable-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-card {
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    height: 100%;
    position: relative;
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.stat-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

.stat-card small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Card Background Colors */
.stat-card.bg-warning {
    background: linear-gradient(45deg, #ffc107, #ff9800);
}

.stat-card.bg-info {
    background: linear-gradient(45deg, #03a9f4, #00bcd4);
}

.stat-card.bg-primary {
    background: linear-gradient(45deg, #2196f3, #3f51b5);
}

.stat-card.bg-success {
    background: linear-gradient(45deg, #4caf50, #009688);
}

/* Form Controls and Inputs */


/* Navigation */
.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Navigation */
.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
    text-decoration: none;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Footer logo */
.footer-logo {
    max-height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 32px;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -280px; /* Start off-screen */
        bottom: 0;
        width: 280px;
        padding: 15px;
        background-color: white;
        z-index: 1045;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
        display: block !important;
        margin: 0;
    }

    .navbar-collapse.show {
        left: 0; /* Slide in */
    }

    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .mobile-nav-overlay.show {
        display: block;
        opacity: 1;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav .nav-item {
        margin: 10px;  /* Reduced from 0.5rem */
    }

    .navbar-nav .nav-link {
        padding: 10px;  /* Reduced from 0.75rem */
        border-radius: 8px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;  /* Reduced from 0.75rem */
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(44, 95, 65, 0.1);
        color: var(--primary-color);
    }

    .navbar-nav .nav-link i {
        width: 20px;
        text-align: center;
    }

    /* Hide all dropdowns on mobile */
    .navbar-nav .dropdown-menu {
        display: none !important;
    }

    .navbar-nav .dropdown-toggle::after {
        display: none !important;
    }

    /* Convert dropdown items to regular nav items */
    .navbar-nav .dropdown > .nav-link {
        display: none;
    }

    .navbar-toggler {
        display: block;
        border: none;
        padding: 0.5rem;
        font-size: 1.25rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Close button inside mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-muted);
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-menu-close:hover {
        color: var(--primary-color);
    }

    /* Brand centering */
    .navbar > .container {
        justify-content: space-between;
    }
}

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 32px;
    }
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(44, 95, 65, 0.7), rgba(27, 54, 93, 0.7)), 
                      url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?w=1200');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.search-box {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Floating Search Bar */
.floating-search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-search-bar .input-group {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floating-search-bar .input-group-text {
    background-color: white;
    border-color: #e9ecef;
    border-right: 0;
    border-radius: 8px 0 0 8px;
}

.floating-search-bar .form-control {
    border-left: 0;
    border-color: #e9ecef;
    border-radius: 0 8px 8px 0;
    height: 42px;
    font-size: 0.95rem;
    padding: 0.625rem 1rem;
}

.floating-search-bar .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 65, 0.25);
}

.floating-search-bar .btn {
    border-radius: 8px;
    font-weight: 600;
    height: 42px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.floating-search-bar .btn-primary {
    padding: 0.5rem 1rem;
}

.floating-search-bar .btn-outline-primary {
    border-width: 2px;
}

/* Mobile responsive styles for floating search */
@media (max-width: 768px) {
    .floating-search-bar {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .floating-search-bar .form-control {
        height: 38px !important;
        font-size: 0.875rem !important;
    }
    
    .floating-search-bar .btn {
        height: 38px !important;
        font-size: 0.875rem !important;
        padding: 0.375rem 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .floating-search-bar .btn span {
        display: none !important;
    }
    
    .floating-search-bar .btn i {
        display: inline-block !important;
    }
    
    .floating-search-bar {
        padding: 0.75rem;
        margin: 0 0.5rem;
    }
}

.floating-search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-search-bar .input-group {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floating-search-bar .input-group-text {
    background-color: white;
    border-color: #e9ecef;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    padding: 0.75rem 1rem;
}

.floating-search-bar .form-control {
    border-left: 0;
    border-color: #e9ecef;
    border-radius: 0 10px 10px 0;
    height: 48px;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}

.floating-search-bar .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 65, 0.25);
}

.floating-search-bar .search-btn {
    border-radius: 10px;
    font-weight: 600;
    height: 48px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-search-bar .search-btn .btn-text {
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 600;
}

.floating-search-bar .btn-outline-primary {
    border-width: 2px;
    height: 48px;
    border-radius: 10px;
}

.search-card .card-body {
    padding: 1.25rem !important;
}

.search-card .input-group {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-card .input-group-text {
    background-color: white;
    border-color: #e9ecef;
    border-right: 0;
    border-radius: 8px 0 0 8px;
}

.search-card .form-control {
    border-left: 0;
    border-color: #e9ecef;
    border-radius: 0 8px 8px 0;
    height: 42px;
    font-size: 0.95rem;
    padding: 0.625rem 1rem;
}

.search-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 65, 0.25);
}

.search-card .btn {
    border-radius: 8px;
    font-weight: 600;
    height: 42px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-card .btn-primary {
    padding: 0.5rem 1rem;
}

.search-card .btn-outline-primary {
    border-width: 2px;
}

/* Dropdown Filters */
.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    z-index: 9999 !important;
}

.search-filters-dropdown {
    z-index: 9999 !important;
    position: absolute !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    margin-top: 8px;
}

.search-filters-dropdown .form-control-sm {
    border-radius: 6px;
    height: 36px;
    font-size: 0.875rem;
    border-color: #e9ecef;
    transition: all 0.2s ease;
}

.search-filters-dropdown .form-control-sm:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 65, 0.25);
}

.search-filters-dropdown .btn-sm {
    height: 36px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
}

.search-filters-dropdown .dropdown-header {
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.search-filters-dropdown .dropdown-divider {
    margin: 0.75rem 0;
}

/* Mobile responsive styles for floating search */
@media (max-width: 768px) {
    .floating-search-bar {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .floating-search-bar .form-control,
    .floating-search-bar .search-btn,
    .floating-search-bar .btn-outline-primary {
        height: 42px !important;
        font-size: 0.875rem !important;
    }
    
    .floating-search-bar .search-btn .btn-text {
        font-size: 0.8rem !important;
    }
    
    .search-filters-dropdown {
        min-width: 280px !important;
        max-width: 95vw !important;
        left: auto !important;
        right: 0 !important;
    }
}

@media (max-width: 576px) {
    .floating-search-bar {
        padding: 0.75rem;
        margin: 0 0.25rem;
    }
    
    .floating-search-bar .form-control,
    .floating-search-bar .search-btn,
    .floating-search-bar .btn-outline-primary {
        height: 38px !important;
        font-size: 0.8rem !important;
    }
    
    .floating-search-bar .search-btn .btn-text {
        font-size: 0.75rem !important;
    }
    
    .floating-search-bar .search-btn {
        padding: 0.25rem 0.5rem !important;
    }
    
    .hero-section {
        min-height: 60vh !important;
    }
}

@media (max-width: 480px) {
    .floating-search-bar .search-btn .btn-text {
        display: none;
    }
    
    .floating-search-bar .search-btn {
        min-width: 40px;
        padding: 0.5rem !important;
    }
}

.search-card {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    position: relative;
    z-index: 10;
}

.search-card .input-group-lg .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-card .input-group-lg .input-group-text {
    border-radius: 8px 0 0 8px;
    border: 2px solid #e9ecef;
    border-right: none;
    background-color: white;
    padding: 0.75rem 1rem;
}

.search-card .input-group-lg .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 65, 0.25);
}

.search-card .btn-lg {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 0;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    font-weight: 600;
}

.dropdown-menu .dropdown-divider {
    margin: 0.75rem 1rem;
    opacity: 0.2;
}

.dropdown-menu .form-control-sm {
    border-radius: 6px;
    border-color: #dee2e6;
}

.dropdown-menu .form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Filter badges */
.badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .search-card .card-body {
        padding: 1rem !important;
    }
    
    .search-card .input-group-lg .form-control,
    .search-card .input-group-lg .input-group-text {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .search-card .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .dropdown-menu {
        min-width: 280px !important;
        max-width: 90vw;
        margin-right: 1rem;
    }
    
    .search-filters-dropdown {
        min-width: 280px !important;
        max-width: 90vw;
        z-index: 9999 !important;
    }
    
    .hero-section {
        min-height: 50vh !important;
    }
    
    .hero-section .row {
        align-items: center !important;
    }
}
    
    .hero-section {
        min-height: 50vh !important;
    }
    
    .hero-section .col-lg-8 {
        margin-top: 1rem;
    }
}

/* Global dropdown z-index fix */
.dropdown-menu {
    z-index: 9999 !important;
}

.dropdown-menu.show {
    z-index: 9999 !important;
}

/* Search form specific fixes */
.search-card .dropdown-menu {
    z-index: 10000 !important;
}

/* Ensure search card container has proper stacking */
.hero-section {
    position: relative;
    z-index: 1;
}

/* Lazy Loading Animations */
.lazy-load-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lazy-load-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.lazy-load-item[data-animate="fade-up"] {
    transform: translateY(60px);
}

.lazy-load-item[data-animate="fade-up"].loaded {
    transform: translateY(0);
}

.lazy-load-item[data-animate="fade-left"] {
    transform: translateX(-60px);
}

.lazy-load-item[data-animate="fade-left"].loaded {
    transform: translateX(0);
}

.lazy-load-item[data-animate="fade-right"] {
    transform: translateX(60px);
}

.lazy-load-item[data-animate="fade-right"].loaded {
    transform: translateX(0);
}

.lazy-load-item[data-animate="zoom"] {
    transform: scale(0.8);
}

.lazy-load-item[data-animate="zoom"].loaded {
    transform: scale(1);
}

/* Staggered Animation Delays */
.lazy-load-item:nth-child(1) { transition-delay: 0.1s; }
.lazy-load-item:nth-child(2) { transition-delay: 0.2s; }
.lazy-load-item:nth-child(3) { transition-delay: 0.3s; }
.lazy-load-item:nth-child(4) { transition-delay: 0.4s; }
.lazy-load-item:nth-child(5) { transition-delay: 0.5s; }
.lazy-load-item:nth-child(6) { transition-delay: 0.6s; }

/* Loading Skeleton for Cards */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 380px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.skeleton-image {
    height: 200px;
    border-radius: 15px 15px 0 0;
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.title {
    height: 20px;
    width: 70%;
}

.skeleton-text.subtitle {
    height: 14px;
    width: 50%;
}

.skeleton-text.content {
    height: 14px;
    width: 90%;
}

.skeleton-text.price {
    height: 18px;
    width: 40%;
}

/* Smooth Image Loading */
.lazy-image {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Hotel Cards */
.hotel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 95, 65, 0.2);
}

.hotel-card .card-img-top {
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    height: 250px;
    object-fit: cover;
}

.hotel-card:hover .card-img-top {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Mobile optimizations for hotel cards */
@media (max-width: 768px) {
    .hotel-card .card-img-top {
        height: 200px;
    }
    
    .hotel-card .card-body {
        padding: 1rem;
    }
    
    .hotel-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .hotel-card .card-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Clickable areas in hotel cards */
.hotel-card .position-relative,
.hotel-card .card-body {
    cursor: pointer;
}

/* Ensure button still looks clickable */
.hotel-card .btn {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Add subtle background change on hover for card body */
.hotel-card:hover .card-body {
    background-color: rgba(44, 95, 65, 0.02);
}

.hotel-badge {
    z-index: 2;
}

/* Feature Icons */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Dashboard Cards */
.dashboard-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-navy));
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 3rem;
    opacity: 0.8;
}

/* Mobile dashboard improvements */
@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-card h4 {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .dashboard-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .stat-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .stat-card .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .stat-card .stat-icon {
        margin-bottom: 0.5rem;
        order: -1;
    }
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: var(--light-beige);
}

.badge-status {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #E9ECEF;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 65, 0.25);
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    border-radius: 15px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    border: none;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: var(--text-dark) !important;
}

footer h5, footer h6 {
    color: var(--secondary-color);
}

footer a {
    color: var(--light-gray) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--gold) !important;
}

footer .text-muted {
    color: #9CA3AF !important;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-top: 2rem;
        text-align: center;
    }
    
    .search-box .row {
        gap: 1rem;
    }
    
    .search-box .col-md-4,
    .search-box .col-md-3,
    .search-box .col-md-2 {
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Enhanced mobile search form */
    .card-body {
        padding: 1.5rem !important;
    }
    
    .input-group-lg .form-control {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile hotel cards */
    .hotel-card {
        margin-bottom: 1.5rem;
    }
    
    .hotel-card .card-img-top {
        height: 200px;
        object-fit: cover;
    }
    
    /* Mobile navigation improvements */
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    /* Mobile form improvements */
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
    }
    
    .input-group-text {
        padding: 0.75rem 1rem;
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        min-height: 55vh;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .hotel-card .card-img-top {
        height: 220px;
        object-fit: cover;
    }
}

/* Large mobile/small tablet */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 1.5rem 0;
    }
    
    .display-4 {
        font-size: 1.6rem;
        margin-bottom: 1rem !important;
    }
    
    .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem !important;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Compact search form for small screens */
    .card-body {
        padding: 1rem !important;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-text {
        font-size: 0.8rem;
    }
    
    /* Stack date inputs vertically on very small screens */
    .row.g-2 .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Improve button sizes */
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Status Badges */
.badge-pending {
    background-color: #FFC107;
    color: #000;
}

.badge-confirmed {
    background-color: #28A745;
}

.badge-cancelled {
    background-color: #DC3545;
}

.badge-completed {
    background-color: var(--primary-color);
}

.badge-available {
    background-color: #28A745;
}

.badge-occupied {
    background-color: #FFC107;
    color: #000;
}

.badge-out-of-service {
    background-color: #DC3545;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Booking Form */
.booking-summary {
    background: linear-gradient(135deg, var(--light-beige), #FFFFFF);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F1F1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-navy);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Auth Pages Mobile Responsiveness */
@media (max-width: 768px) {
    .auth-page {
        padding: 1rem 0;
    }
    
    .auth-card {
        margin: 1rem;
    }
    
    .auth-card .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .auth-logo {
        width: 60px !important;
        height: 60px !important;
    }
    
    .auth-logo i {
        font-size: 2rem !important;
    }
    
    .role-label {
        padding: 15px 10px !important;
        font-size: 0.9rem;
    }
    
    .role-label i {
        font-size: 1.5rem !important;
    }
    
    .min-vh-100 {
        min-height: auto !important;
    }
}

@media (max-width: 576px) {
    .auth-card .card-body {
        padding: 1.5rem 1rem !important;
    }
    
    .role-label {
        padding: 12px 8px !important;
        font-size: 0.8rem;
    }
    
    .role-label .fw-semibold {
        font-size: 0.9rem;
    }
    
    .role-label small {
        font-size: 0.7rem;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .display-4 {
        font-size: 1.4rem !important;
    }
}

/* Form Improvements for Better UX */
.form-floating {
    margin-bottom: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 65, 0.25);
}

/* Better button spacing and sizing */
.btn-group-vertical .btn {
    margin-bottom: 0.5rem;
}

.btn-group-vertical .btn:last-child {
    margin-bottom: 0;
}