/* ============================================
   CAR RENTAL WEBSITE - MAIN STYLESHEET
   ============================================ */

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

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #000000;
    --highlight-color: #ff6600;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --light-text: #6c757d;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Back Button - Elegant Design */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 50%, #ff6600 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: -50px;
}

.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.back-button:hover::before {
    left: 100%;
}

.back-button:hover {
    background-position: 100% 0;
    transform: translateX(-8px) translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

.back-button:active {
    transform: translateX(-5px) translateY(0);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.back-button i {
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.back-button:hover i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .back-button span {
        display: none;
    }

    .back-button {
        padding: 12px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        justify-content: center;
        min-width: 48px;
        margin: -5px;
    }

    .back-button i {
        margin: 0;
        font-size: 18px;
    }
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
}

.navbar-logo {
    width: 240px;
    height: 80px;
    object-fit: contain;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .navbar-logo {
        width: 180px;
        height: 60px;
    }
}

/* Override for CarBook style */
body .logo i {
    color: var(--carbook-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition);
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--highlight-color);
}

/* Mobile Menu Toggle - Premium Animation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2001;
    /* Above drawer */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
}

.mobile-menu-toggle .bar.top {
    transform: translateY(-7px);
}

.mobile-menu-toggle .bar.mid {
    transform: scaleX(1);
}

.mobile-menu-toggle .bar.bot {
    transform: translateY(7px);
}

/* Toggle Active State */
.mobile-menu-toggle.active .bar.top {
    transform: translateY(0) rotate(45deg);
}

.mobile-menu-toggle.active .bar.mid {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .bar.bot {
    transform: translateY(0) rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* iOS-Perfect Slide-in Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        height: 100dvh;
        background: rgba(15, 15, 15, 0.85);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 2.5rem;
        gap: 1.2rem;
        z-index: 2000;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0.5s;
        border-right: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px 0 0 24px;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.4);
        padding-top: calc(4rem + env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
    }

    .nav-menu.active {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s;
    }

    .nav-menu li {
        width: 100%;
        list-style: none;
        opacity: 0;
        transform: translateX(40px);
        transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered entrance for menu items */
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-menu.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-menu a {
        font-size: 1.4rem;
        font-weight: 500;
        color: var(--white);
        text-decoration: none;
        display: block;
        padding: 0.8rem 0;
        transition: color 0.3s ease;
        width: 100%;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--highlight-color);
        background: transparent;
    }

    /* Register Button in Menu */
    .nav-menu .btn-primary {
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
        background: var(--highlight-color);
        padding: 1rem 1.5rem;
        border-radius: 14px;
        font-weight: 600;
        font-size: 1.1rem;
        box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    }
}

/* Background Overlay for Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.5s ease, visibility 0s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

/* Search Box */
.search-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1.2s ease;
}

.search-form {
    width: 100%;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-field input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-search {
    background: var(--highlight-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-search:hover {
    background: #d63447;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn-primary {
    background: var(--highlight-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary:hover {
    background: #d63447;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--light-text);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-view {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--highlight-color);
}

.btn-block {
    width: 100%;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Cars Section */
.featured-cars {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Vans grid - same as cars grid for consistency */
.vans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.car-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.car-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.car-status.available {
    background: var(--highlight-color);
    color: var(--white);
}

.car-info {
    padding: 1.5rem;
}

.car-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.car-year {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.car-description {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--highlight-color);
}

/* Cars Listing Page */
.cars-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.filters-sidebar {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-text);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--highlight-color);
}

.price-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-range input {
    flex: 1;
}

.results-header {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--light-text);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

/* Car Details Page */
.car-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.car-details-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 120px;
}

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

.image-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.image-thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.image-thumbnails img:hover {
    border-color: var(--highlight-color);
}

.car-details-info h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-top: 95px;
}

.car-year {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.car-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.car-status-badge.available {
    background: var(--success-color);
    color: var(--white);
}

.price-section {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.price-label {
    display: block;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--highlight-color);
}

.description-section,
.specifications {
    margin-bottom: 2rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 5px;
}

.spec-item i {
    color: var(--highlight-color);
}

.booking-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.booking-form {
    margin-top: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.price-calculation {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.calc-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--highlight-color);
}

.login-prompt {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.login-prompt a {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: bold;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    margin-top: 90px;
}

.auth-card h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--light-text);
}

.auth-footer a {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: bold;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

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

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

/* Profile Page */
.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.profile-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-top: 50px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.profile-avatar i {
    font-size: 3rem;
    color: var(--highlight-color);
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.profile-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.profile-form {
    max-width: 600px;
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reservation-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--highlight-color);
}

.reservation-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reservation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reservation-details p {
    margin: 0.5rem 0;
}

.reservation-details i {
    color: var(--highlight-color);
    margin-right: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.status-badge.status-pending {
    background: var(--warning-color);
    color: var(--dark-text);
}

.status-badge.status-confirmed {
    background: var(--success-color);
    color: var(--white);
}

.status-badge.status-cancelled {
    background: var(--danger-color);
    color: var(--white);
}

.status-badge.status-completed {
    background: var(--accent-color);
    color: var(--white);
}

/* Booking Result */
.booking-result {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-result .alert {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
}

.booking-result .alert i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.booking-result .alert h3 {
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--highlight-color);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--highlight-color);
}

.footer-section i {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

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

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

    .search-row {
        grid-template-columns: 1fr;
    }

    .cars-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .filters-sidebar {
        position: static;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .cars-main {
        width: 100%;
        box-sizing: border-box;
    }

    .cars-grid {
        grid-template-columns: 1fr !important;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .car-details {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

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

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .car-image img,
    .main-image img,
    .image-thumbnails img {
        max-width: 100%;
        height: auto;
    }

    .search-form,
    .booking-form,
    form {
        width: 100%;
        box-sizing: border-box;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-header,
    .hero,
    section {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .container {
        padding: 0 10px;
    }

    .cars-layout {
        padding: 0.5rem 0;
        gap: 1rem;
    }

    .filters-sidebar {
        padding: 0.75rem;
    }

    .filters-sidebar .calendar-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filters-sidebar .form-control {
        width: 100%;
        box-sizing: border-box;
    }

    .page-header {
        padding: 40px 0 30px !important;
    }

    .car-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .car-image {
        height: 180px;
    }

    .results-header {
        padding: 0 10px;
    }
}

/* Desktop Layout - 4 cards per row */
@media (min-width: 1200px) {
    .cars-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .vans-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

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

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

.mt-1 {
    margin-top: 1rem;
}

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

.mb-1 {
    margin-bottom: 1rem;
}

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