/* Global Styles */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/roboto/roboto-normal-300.woff2') format('woff2'),
       url('/assets/fonts/roboto/roboto-normal-300.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/roboto/roboto-normal-400.woff2') format('woff2'),
       url('/assets/fonts/roboto/roboto-normal-400.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/roboto/roboto-normal-500.woff2') format('woff2'),
       url('/assets/fonts/roboto/roboto-normal-500.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/roboto/roboto-normal-700.woff2') format('woff2'),
       url('/assets/fonts/roboto/roboto-normal-700.woff') format('woff');
  font-display: swap;
}


@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/oswald/oswald-normal-400.woff2') format('woff2'),
       url('/assets/fonts/oswald/oswald-normal-400.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/oswald/oswald-normal-600.woff2') format('woff2'),
       url('/assets/fonts/oswald/oswald-normal-600.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/oswald/oswald-normal-700.woff2') format('woff2'),
       url('/assets/fonts/oswald/oswald-normal-700.woff') format('woff');
  font-display: swap;
}


:root {
    --primary-color: #1a3a5f;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}

body {
    background-color: #0B0E0D;
    color: #fff;
    line-height: 1.6;
}

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

.btn, .btn-link {
    padding: 12px 24px;
    background-color: #FCBF23 !important;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    
    /*
    
    */
}

/* Button container */
.hero-content .btn,
.hero-content .btn-outline {
    margin: 0 8px;
}

/* Make buttons side-by-side */
.hero-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* Optional: wrap buttons in one container for better control */
.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-content .btn, .btn-link:hover {
    display: inline-flex;
    padding: 12px 24px;
    background: #FCBF23;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: .25rem;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: color .25s, background-color .25s;
}

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

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

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

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--light-color);
    color: var(--text-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-icon.delete:hover {
    background: var(--danger-color);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

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





















.about-content {
    display: flex;
    align-items: center;
    gap: 20px; /* space between image & text */
}

.about-img img {
    max-width: 550px; /* adjust size */
    height: auto;
    border-radius: .25rem; /* optional */
}

.about-text {
    flex: 1; /* let text take remaining space */
}












/* ====================== */
/* HEADER STYLES - ENHANCED */
/* ====================== */
:root {
    --header-bg: #000;
    --header-text: #fff;
    --accent-color: #DAA520; /* Gold */
    --hover-color: #DAA520; /* Gold */
    --transition-speed: 0.3s;
    --header-height: 80px;
    --mobile-breakpoint: 992px;
}

header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
}

/* Logo Styles */
.logo {
    margin-top: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .header-logo {
    transform: scale(1.05);
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

nav ul li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed);
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 0.95rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Auth Buttons Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-selector select {
    padding: 8px 30px 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
}

.language-selector::after {
    content: '⌄';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--accent-color);
}

/* Login/Register Buttons */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Login Button (matches nav link style but more prominent) */
.auth-buttons .btn-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(90deg, #ff5722, #e91e63);
    border: none;
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;

}

/*.auth-buttons .btn-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-speed) ease;
}*/

.auth-buttons .btn-link:hover {
    color: #DAA520; /* Gold */
}

.auth-buttons .btn-link:hover::after {
    width: 100%;
}

/* Register Button */
.auth-buttons .btn {
    background: linear-gradient(90deg, #ff9800, #f44336);
    color: white;
    padding: 10px 20px;
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    border: none;
}

.auth-buttons .btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* User Menu (when logged in) */
.user-menu {
    display: flex;
    gap: 15px;
}

.user-menu .btn-link {
    color: var(--header-text);
    text-decoration: none !important;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.user-menu .btn-link:hover {
    color: var(--accent-color);
}

.user-menu .btn-link:last-child {
    color: #ff6b6b;
}

.user-menu .btn-link:last-child:hover {
    color: #ff5252;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    nav ul li {
        margin-left: 10px;
    }
    
    .nav-link {
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }
    
    nav.active {
        max-height: 100vh;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
        height: auto;
    }
    
    .nav-link {
        padding: 15px 25px;
        height: auto;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .language-selector {
        order: -1;
        margin-right: auto;
        margin-left: 25px;
        margin-bottom: 15px;
        width: calc(100% - 50px);
    }
    
    .auth-buttons, .user-menu {
        flex-direction: column;
        width: calc(100% - 50px);
        margin: 0 25px 20px;
        gap: 12px;
    }
    
    .auth-buttons .btn-link, 
    .auth-buttons .btn,
    .user-menu .btn-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .auth-buttons .btn-link::after {
        display: none;
    }
}





















/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/pexels-image-hunter-281453274-26954164.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

/* U-shaped bottom shade */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 20%;
    background: radial-gradient(ellipse at bottom, rgba(11,14,13,0.95) 0%, rgba(11,14,13,0.9) 40%, transparent 80%);
    pointer-events: none;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Styles */
section {
    padding: 80px 0;
    background-color: #0B0E0D !important;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Vehicle Card Styles */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-10px);
}

.vehicle-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.vehicle-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.discounted-price {
    color: var(--secondary-color);
}

.vehicle-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #666;
}

.vehicle-details span {
    display: flex;
    align-items: center;
}

.vehicle-details i {
    margin-right: 5px;
    color: var(--accent-color);
}

/* Search Section */
.search-section {
    background-color: var(--light-color);
    padding: 40px 0;
}

.search-form {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input-group input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-input-group button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.filter-toggle {
    text-align: center;
}

#filters {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--primary-color);
}

.filter-group select,
.filter-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

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

/* Car Detail Page */
.car-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.car-detail-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

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

.status-badge.on-hold {
    background: var(--warning-color);
    color: white;
}

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

.car-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.car-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

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

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

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

.car-price {
    margin-bottom: 30px;
}

.discount-info {
    margin-bottom: 10px;
}

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

.car-specs {
    margin-bottom: 30px;
}

.car-specs h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.spec-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.spec-label {
    font-weight: 500;
    color: #666;
}

.spec-value {
    font-weight: 500;
}

.car-description {
    margin-bottom: 30px;
}

.car-description h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.car-actions {
    display: flex;
    gap: 15px;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-color);
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #000 !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item p {
    color: #fff;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: white;
    padding: 70px 0 20px;
    background: linear-gradient(to bottom, #0B0E0D 15%, rgba(0,0,0,0.95) 21%, #343a40 43%);
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-col p {
    color: #bbb;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Admin Panel Styles */
.admin-page {
    background-color: var(--light-color);
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--dark-color);
    color: white;
    padding: 20px 0;
}

.admin-sidebar-header {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-sidebar-header i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.admin-sidebar-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.admin-sidebar-header p {
    color: #bbb;
    font-size: 0.9rem;
}

.admin-sidebar-menu {
    list-style: none;
}

.admin-sidebar-menu li {
    margin-bottom: 5px;
}

.admin-sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
}

.admin-sidebar-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-sidebar-menu li.active a,
.admin-sidebar-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-content {
    flex: 1;
    padding: 20px;
}

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

.admin-content-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-info i {
    font-size: 24px;
    color: var(--primary-color);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: white;
}

.stat-icon.available {
    background: var(--success-color);
}

.stat-icon.sold {
    background: var(--danger-color);
}

.stat-icon.on-hold {
    background: var(--warning-color);
}

.stat-icon.users {
    background: var(--info-color);
}

.stat-icon.user-cars {
    background: var(--accent-color);
}

.stat-icon.pending {
    background: var(--secondary-color);
}

.stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
}

.admin-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.admin-section-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--primary-color);
}

.car-info {
    display: flex;
    align-items: center;
}

.car-info img {
    width: 50px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.table-actions {
    display: flex;
    gap: 5px;
}

.admin-form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-form-section {
    margin-bottom: 40px;
}

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

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

.form-help {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.file-upload {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover,
.file-upload.highlight {
    border-color: var(--primary-color);
    background: rgba(26, 58, 95, 0.05);
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload-label i {
    font-size: 48px;
    color: #ddd;
}

.file-upload input[type="file"] {
    display: none;
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.image-preview-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.image-preview.primary .set-primary i {
    color: var(--accent-color);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* User Panel Styles */
.user-page {
    background-color: var(--light-color);
}

.user-container {
    display: flex;
    min-height: 100vh;
}

.user-sidebar {
    width: 250px;
    background: var(--dark-color);
    color: white;
    padding: 20px 0;
}

.user-sidebar-header {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.user-avatar {
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.user-sidebar-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.user-sidebar-header p {
    color: #bbb;
    font-size: 0.9rem;
}

.user-sidebar-menu {
    list-style: none;
}

.user-sidebar-menu li {
    margin-bottom: 5px;
    position: relative;
}

.user-sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
}

.user-sidebar-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.user-sidebar-menu li.active a,
.user-sidebar-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.notification-badge {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-content {
    flex: 1;
    padding: 20px;
}

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

.user-content-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
}

.user-notifications {
    position: relative;
}

.user-welcome {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.user-welcome h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.user-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.user-section-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.user-notifications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    background: var(--light-color);
}

.notification-item.unread {
    background: rgba(26, 58, 95, 0.05);
    border-left: 4px solid var(--primary-color);
}

.notification-content p {
    margin-bottom: 5px;
}

.notification-time {
    font-size: 0.85rem;
    color: #666;
}

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

.user-car-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    padding: 15px;
    border-radius: 10px;
    background: var(--light-color);
    align-items: center;
}

.user-car-image {
    width: 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
}

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

.user-car-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.user-car-details {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.user-car-details span {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.user-car-details i {
    margin-right: 5px;
    color: var(--accent-color);
}

.sell-car-info {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sell-car-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sell-car-info ul {
    list-style: none;
    margin-top: 20px;
}

.sell-car-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.sell-car-info ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

.no-cars,
.no-notifications {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-cars i,
.no-notifications i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

/* Login Page Styles */
.admin-login-page,
.user-login-page {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.admin-login-container,
.user-login-container {
    width: 100%;
    max-width: 400px;
}

.admin-login-form,
.user-login-form {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.admin-logo,
.user-logo {
    text-align: center;
    margin-bottom: 30px;
}

.admin-logo i,
.user-logo i {
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.admin-logo h1,
.user-logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.admin-logo p,
.user-logo p {
    color: #666;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group-addon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.admin-login-footer,
.user-login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.user-login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .car-detail-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .admin-stats,
    .user-stats {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .user-car-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .language-selector {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-container,
    .user-container {
        flex-direction: column;
    }
    
    .admin-sidebar,
    .user-sidebar {
        width: 100%;
        order: 2;
    }
    
    .admin-content,
    .user-content {
        order: 1;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-consent .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .admin-section-header,
    .user-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .table-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .image-preview-container {
        grid-template-columns: 1fr;
    }
}/* Alert styles */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

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

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-dismissible {
    padding-right: 35px;
}

.alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}

.alert-dismissible .close:hover {
    filter: alpha(opacity=40);
    opacity: 0.4;
}

