/**
 * Gimanhal Hotel Booking Platform
 * Main Stylesheet
 * Color Theme: Orange/Amber (#ff6b35, #f7931e, #ff4757)
 */

/* ==================== */
/* Reset & Base Styles */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ff4757;
    --gradient: linear-gradient(45deg, #ff6b35, #f7931e);
    --gradient-extended: linear-gradient(45deg, #ff6b35, #f7931e, #ff4757);
    --success: #4CAF50;
    --danger: #f44336;
    --warning: #ffc107;
    --info: #2196F3;
}

/* Light Theme (Default) */
:root,
[data-theme="light"] {
    --dark-bg: #f5f5f5;
    --dark-bg-2: #ffffff;
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #fafafa;
    --text-primary: #1a1a1a;
    --text-secondary: #444444;
    --text-muted: #666666;
    --border-color: rgba(255, 107, 53, 0.3);
    --card-bg: rgba(255, 255, 255, 0.9);
    --sidebar-bg: #ffffff;
    --header-bg: #ffffff;
}

/* Dark Theme */
[data-theme="dark"] {
    --dark-bg: #0a0a0a;
    --dark-bg-2: #1a1a1a;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: rgba(255, 107, 53, 0.2);
    --card-bg: rgba(255, 255, 255, 0.05);
    --sidebar-bg: rgba(0, 0, 0, 0.95);
    --header-bg: rgba(0, 0, 0, 0.95);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==================== */
/* Navigation */
/* ==================== */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.theme-toggle-public {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.theme-toggle-public:hover {
    background: var(--gradient);
    color: white;
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.nav-profile-default {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--primary-color);
    padding: 2px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle Button (Left Side) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
    transition: all 0.3s ease;
    z-index: 10001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Profile Icon */
.mobile-profile-icon {
    display: none;
    position: relative;
    z-index: 10001;
}

.mobile-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.mobile-profile-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.profile-icon-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.profile-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.mobile-profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    overflow: hidden;
}

.mobile-profile-icon.active .mobile-profile-dropdown {
    display: block;
}

.mobile-profile-header {
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.mobile-profile-header strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 5px;
}

.mobile-profile-header span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: capitalize;
}

.mobile-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-profile-dropdown a:hover {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-profile-dropdown a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 107, 53, 0.05);
}

.mobile-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.mobile-sidebar-logo {
    width: 35px;
    height: 35px;
}

.mobile-sidebar-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.mobile-sidebar-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.mobile-sidebar-content {
    padding: 20px 0;
}

.mobile-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--primary-color);
}

.mobile-sidebar-user i {
    font-size: 2rem;
    color: var(--primary-color);
}

.mobile-sidebar-user div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-sidebar-user strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.mobile-sidebar-user span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: capitalize;
}

.mobile-sidebar-section {
    margin-bottom: 25px;
}

.mobile-sidebar-title {
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.mobile-sidebar-item:hover {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-sidebar-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
}

.mobile-sidebar-item span {
    flex: 1;
}

.mobile-sidebar-item::after {
    display: none;
}

.mobile-sidebar-logout {
    color: var(--danger);
}

.mobile-sidebar-logout:hover {
    background: rgba(244, 67, 54, 0.1);
    border-left-color: var(--danger);
    color: var(--danger);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== */
/* Buttons */
/* ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

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

.btn-outline:hover {
    background: var(--gradient);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ==================== */
/* Hero Slider Section */
/* ==================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 0, 0, 0.4), inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.4), 0 0 100px rgba(0, 0, 0, 0.3);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.5), inset 0 0 300px rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    color: white;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 300;
}

.slide-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.slide-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 107, 53, 0.9);
    border-color: #ff6b35;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff6b35;
    width: 40px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 107, 53, 0.8);
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    z-index: 20;
}

/* ==================== */
/* Hero Section (Legacy - Fallback) */
/* ==================== */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ==================== */
/* Search Form */
/* ==================== */
.search-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 60px;
    padding: 10px;
}

.hotel-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
}

.search-field i {
    color: var(--primary-color);
}

.search-field input,
.search-field select {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hotel-search-form .btn {
    padding: 14px 40px;
}

.btn-search {
    padding: 16px 40px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.btn-search i {
    font-size: 1.1rem;
}

.search-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* Section Styles */
/* ==================== */
.featured-section,
.features-section {
    padding: 80px 20px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==================== */
/* Hotel Cards */
/* ==================== */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

/* Ensure 4 columns on desktop */
@media (min-width: 1201px) {
    .hotels-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 25px !important;
    }
}

.hotel-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

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

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.1);
}

.hotel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.hotel-info {
    padding: 20px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.rating-score {
    background: var(--gradient);
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 5px;
}

.hotel-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.hotel-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.hotel-price {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    gap: 5px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: nowrap;
    line-height: 1.2;
}

/* Mobile: From on left side */
@media (max-width: 768px) {
    .hotel-price {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .price-label {
        display: inline-block;
        margin-right: 0;
    }

    .price-row {
        display: inline-flex;
        align-items: baseline;
    }
}

.hotel-footer .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

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

.price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-block;
    margin-left: 0;
}

/* ==================== */
/* Features Grid */
/* ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== */
/* Auth Pages */
/* ==================== */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-container {
    max-width: 500px;
    width: 100%;
}

.auth-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-secondary);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    padding: 20px 0;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 107, 53, 0.2);
}

.auth-divider span {
    position: relative;
    background: rgba(26, 26, 26, 0.95);
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== */
/* Alerts */
/* ==================== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #2196F3;
}

/* ==================== */
/* Flash Messages */
/* ==================== */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    max-width: 400px;
    padding: 15px 40px 15px 20px;
    border-radius: 10px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: var(--success);
    color: white;
}

.flash-error {
    background: var(--danger);
    color: white;
}

.flash-warning {
    background: var(--warning);
    color: #000;
}

.flash-info {
    background: var(--info);
    color: white;
}

.flash-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: #000000 !important;
    background-color: #000000 !important;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    padding: 70px 20px 25px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

/* Ensure all text elements in footer are white, except headings and special elements */
.footer,
.footer *,
.footer p,
.footer li,
.footer span:not(.pixelx),
.footer div,
.footer a:not(.social-links a):not(:hover) {
    color: #ffffff !important;
}

/* Override any CSS variables */
.footer,
.footer * {
    --text-primary: #ffffff !important;
    --text-secondary: #ffffff !important;
    --text-muted: #ffffff !important;
}

/* Specific overrides for all footer content */
.footer-content,
.footer-content *,
.footer-section,
.footer-section *,
.footer-bottom,
.footer-bottom * {
    color: #ffffff !important;
}

/* Exclude headings and special elements */
.footer-section h3,
.footer-section h4,
.footer .pixelx,
.footer .social-links a {
    color: #ff6b35 !important;
}

/* Ensure footer stays black in all themes */
[data-theme="light"] .footer,
[data-theme="dark"] .footer {
    background: #000000 !important;
    background-color: #000000 !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer .container {
    background: transparent !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ff6b35;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ff6b35;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, transparent);
}

.footer-section p {
    color: #ffffff !important;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: #ff6b35;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.footer-section ul li a:hover {
    color: #ff6b35;
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: #ff6b35;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover i {
    color: #ffffff;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    color: #ffffff !important;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 8px 0;
    color: #ffffff !important;
}

.pixelx {
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.pixelx:hover {
    color: #f7931e;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ==================== */
/* Utility Classes */
/* ==================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-warning {
    color: #ffc107;
}

/* ==================== */
/* Dark Theme - Homepage */
/* ==================== */
[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
}

[data-theme="dark"] .search-form-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .search-field {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .search-field input,
[data-theme="dark"] .search-field select {
    color: white;
}

[data-theme="dark"] .hotel-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .auth-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: #ffffff;
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .nav-link {
    color: #cccccc;
}

/* ==================== */
/* Light Theme - Homepage */
/* ==================== */
[data-theme="light"] .hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.98) 100%);
}

[data-theme="light"] .search-form-container {
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .search-field {
    background: #f9f9f9;
}

[data-theme="light"] .search-field input,
[data-theme="light"] .search-field select {
    color: #1a1a1a;
}

[data-theme="light"] .search-field input::placeholder {
    color: #999999;
}

[data-theme="light"] .hotel-card {
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hotel-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .feature-box {
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .auth-box {
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-control {
    background: white;
    border: 1px solid #d0d0d0;
    color: #1a1a1a;
}

[data-theme="light"] .form-control:focus {
    border-color: var(--primary-color);
    background: white;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e0e0e0;
}

[data-theme="light"] .nav-link {
    color: #444444;
}

[data-theme="light"] .nav-link:hover {
    color: var(--primary-color);
}

[data-theme="light"] select option {
    background: white;
    color: #1a1a1a;
}

/* ==================== */
/* Responsive Design */
/* ==================== */

/* Large Tablets - 3 columns */
@media (max-width: 1200px) and (min-width: 993px) {
    .hotels-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .featured-section,
    .features-section {
        padding: 70px 20px;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }

    .section-header p {
        font-size: 1.05rem;
    }

    .hotel-image {
        height: 220px;
    }

    .hotel-name {
        font-size: 1.2rem;
    }

    .hotel-location {
        font-size: 0.9rem;
    }

    .price-amount {
        font-size: 1.2rem;
    }

    .price-label,
    .price-period {
        font-size: 0.85rem;
    }

    .hotel-info {
        padding: 18px;
    }

    .hotel-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .rating-score {
        font-size: 0.85rem;
    }
}

/* Tablets - 2 columns */
@media (max-width: 992px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .featured-section,
    .features-section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .hotel-image {
        height: 200px;
    }

    .hotel-name {
        font-size: 1rem;
    }

    .hotel-location {
        font-size: 0.85rem;
    }

    .price-amount {
        font-size: 1.1rem;
    }

    .price-label {
        font-size: 0.75rem;
    }

    .price-period {
        font-size: 0.8rem;
    }

    .hotel-info {
        padding: 16px;
    }

    .hotel-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .rating-score {
        font-size: 0.8rem;
        padding: 2px 6px;
    }

    /* Mobile Menu Styles (Moved to 992px to cover tablets) */
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }

    .nav-brand {
        order: 2;
        flex: 1;
        justify-content: flex-start;
        margin-left: 10px;
    }

    .mobile-profile-icon {
        display: block;
        order: 3;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100%;
        /* Changed from 70px to 100% for better alignment */
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        /* Added shadow for better visibility */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: none;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {


    /* Reduce Header Height */
    .navbar {
        padding: 0.5rem 0;
        /* Reduced padding */
    }

    .nav-logo {
        width: 35px;
        /* Smaller logo */
        height: 35px;
    }

    .nav-brand {
        font-size: 1.3rem;
        /* Smaller text */
    }

    .mobile-menu-toggle {
        font-size: 1.3rem;
        /* Smaller hamburger */
    }

    .mobile-profile-link {
        width: 35px;
        /* Smaller profile icon */
        height: 35px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }


    /* Slider Responsive */
    .hero-slider {
        height: 850px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-subtitle {
        font-size: 1.2rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .search-overlay {
        width: calc(100% - 40px);
        bottom: 20px;
    }

    .hotel-search-form {
        flex-direction: column;
    }

    .search-field {
        width: 100%;
        min-width: 100%;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-section,
    .features-section {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .hotel-image {
        height: 220px;
    }

    .hotel-name {
        font-size: 1rem;
    }

    .hotel-location {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .price-amount {
        font-size: 1.1rem;
    }

    .price-label {
        font-size: 0.75rem;
    }

    .price-period {
        font-size: 0.8rem;
    }

    .hotel-info {
        padding: 16px;
    }

    .hotel-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
        top: 12px;
        left: 12px;
    }

    .rating-score {
        font-size: 0.75rem;
        padding: 2px 6px;
    }

    .hotel-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .hotel-footer .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .auth-box {
        padding: 30px 20px;
    }

    .flash-message {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    /* Footer Responsive */
    .footer {
        padding: 50px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
    }

    .footer-section h3 {
        font-size: 24px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 25px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .featured-section,
    .features-section {
        padding: 40px 15px;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .hotel-image {
        height: 200px;
    }

    .hotel-name {
        font-size: 1.05rem;
    }

    .hotel-location {
        font-size: 0.85rem;
    }

    .price-amount {
        font-size: 1rem;
    }

    .price-label {
        font-size: 0.7rem;
    }

    .price-period {
        font-size: 0.75rem;
    }

    .hotel-info {
        padding: 14px;
    }

    .hotel-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        top: 10px;
        left: 10px;
    }

    .rating-score {
        font-size: 0.7rem;
        padding: 1px 5px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Footer Small Mobile */
    .footer {
        padding: 40px 15px 15px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h3 {
        font-size: 22px;
    }

    .footer-section h4 {
        font-size: 15px;
    }

    .footer-section p {
        font-size: 13px;
    }

    .footer-section ul li a {
        font-size: 13px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }
}