/*---------------------------
    Premium2 Theme - Style.css
    A revolutionary automotive experience with stunning visual effects
----------------------------*/

:root {
    /* Main colors */
    --primary-color: #FFAB00; /* Gold accent */
    --secondary-color: #111111; /* Almost black */
    --accent-color: #E63946; /* Vibrant red */
    --text-color: #F8F9FA; /* Off-white text */
    --text-secondary: #ADB5BD; /* Muted text */
    --dark-bg: #121212; /* Very dark gray */
    --darker-bg: #0A0A0A; /* Nearly black */
    --card-bg: #1E1E1E; /* Dark card background */
    --card-bg-hover: #252525; /* Slightly lighter on hover */
    --border-color: #333333; /* Dark borders */
    --success-color: #2ECC71; /* Green */
    --warning-color: #F39C12; /* Amber */
    --danger-color: #E74C3C; /* Red */
    
    /* Gradients & Effects */
    --gradient-gold: linear-gradient(135deg, #FFAB00 0%, #E6A55E 100%);
    --gradient-dark: linear-gradient(180deg, #121212 0%, #1E1E1E 100%);
    --gradient-accent: linear-gradient(135deg, #E63946 0%, #F2545B 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(18, 18, 18, 0.1) 0%, rgba(18, 18, 18, 0.9) 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.3);
    --gold-glow: 0 0 20px rgba(255, 171, 0, 0.6);
    --card-radius: 12px;
    --btn-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(30, 30, 30, 0.4) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-heading .accent-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 0 auto 20px;
    display: block;
}

.section-heading p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-color);
}

.accent {
    color: var(--accent-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: var(--primary-color);
    color: var(--darker-bg);
    font-weight: 600;
    border-radius: var(--btn-radius);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: var(--btn-radius);
}

.btn:hover {
    color: var(--text-color);
    box-shadow: var(--box-shadow);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: var(--darker-bg);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
}

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

.btn-secondary:hover {
    color: var(--darker-bg);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--text-color);
}

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

.btn-accent:hover {
    color: var(--darker-bg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

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

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-animated {
    animation: pulse 2s infinite;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preloader-inner {
    position: relative;
    width: 200px;
    height: 200px;
}

.loader-car {
    position: absolute;
    width: 100px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 10px 10px 0 0;
    animation: car-drive 3s infinite linear;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.loader-car::before,
.loader-car::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    background-color: #222;
    border-radius: 50%;
    animation: wheel-rotate 1s infinite linear;
}

.loader-car::before {
    left: 10px;
}

.loader-car::after {
    right: 10px;
}

.loader-road {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, var(--border-color) 0%, var(--border-color) 50%, transparent 50%, transparent 100%);
    background-size: 30px 100%;
    animation: road-move 0.5s infinite linear;
}

@keyframes car-drive {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes wheel-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes road-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30px); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--dark-bg);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0; /* Changé de 40px à 0 */
    left: 0;
    width: 100%;
    z-index: 1001;
    transition: var(--transition);
    background: transparent;
    padding: 15px 0;
    padding-top: 55px; /* Ajouté pour laisser de l'espace pour la top-info */
}


.header.scrolled {
    top: 0; /* Changé de 40px à 0 */
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    padding-top: 55px; /* Ajouté pour garder l'espace pour la top-info */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-section, .page-header {
    padding-top: 150px; /* Ajuster selon la hauteur combinée du header et top-info */
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 80px;
    transition: var(--transition);
}

.logo h1 {
    font-size: 28px;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 800;
    position: relative;
}

.logo span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 20px;
    position: relative;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li.active a,
.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li.active a::after,
.nav-menu li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-search {
    display: none !important;
}

.nav-search input {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    padding: 10px 40px 10px 20px;
    color: var(--text-color);
    width: 180px;
    transition: var(--transition);
}

.nav-search input:focus {
    width: 240px;
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
}

.nav-search button {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--darker-bg);
    z-index: 1001;
    padding: 60px 30px 30px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: var(--box-shadow);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

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

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    display: block;
    color: var(--text-color);
    font-size: 18px;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.top-info {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9); /* Plus opaque pour une meilleure visibilité */
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    line-height: 40px; /* Ajusté pour centrer le contenu */
    margin: 0;
    padding: 0; /* Changé de 10px à 0 */
    z-index: 1002;
}

.page-header {
    padding-top: 130px; /* Ajusté pour tenir compte du header fixe */
    margin-top: 0;
}

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

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

.contact-info a {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-info a i {
    margin-right: 8px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: left;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    margin-left: 10px;
    transition: var(--transition);
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.4) 100%);
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(255, 171, 0, 0.2);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
    border-left: 3px solid var(--primary-color);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.6s;
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.9s;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: 1.2s;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 50%;
    z-index: 4;
    opacity: 0;
    animation: fadeInRight 1s forwards, float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 2s;
}

.scroll-down .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
}

.scroll-down .mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SEARCH SECTION ===== */
.search-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding-bottom: 50px;
}

.search-container {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.search-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--gradient-gold);
    border-radius: var(--card-radius) 0 0 var(--card-radius);
}

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

.page-header-content {
    padding-top: 30px;
}

.search-title {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.search-title h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.search-title p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

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

.form-group label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.form-control {
    width: 100%;
    height: 54px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    color: white !important;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 171, 0, 0.1);
    color: white !important;
}

.form-control::placeholder {
    color: var(--text-secondary);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFAB00' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

textarea.form-control {
    height: auto;
    resize: none;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    height: 54px;
}

.form-info {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.advanced-options {
    margin-top: 20px;
    text-align: center;
}

.advanced-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.advanced-toggle:hover {
    text-decoration: underline;
}

.advanced-toggle i {
    margin-left: 5px;
    transition: var(--transition);
}

.advanced-toggle.active i {
    transform: rotate(180deg);
}

.advanced-fields {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.advanced-fields.active {
    max-height: 500px;
    margin-top: 20px;
}

/* ===== VEHICLES GRID ===== */
.vehicles-section {
    padding: 100px 0;
    position: relative;
}

.vehicles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.vehicles-title {
    max-width: 500px;
}

.vehicles-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vehicles-sort {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 10px 20px;
    border-radius: var(--btn-radius);
}

.vehicles-sort label {
    margin-right: 15px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.vehicles-sort select {
    background: transparent;
    color: var(--text-color);
    border: none;
    min-width: 150px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFAB00' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px 16px;
    padding-right: 30px;
}

.vehicles-sort select:focus {
    outline: none;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--btn-radius);
    background-color: var(--card-bg);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow), var(--gold-glow);
}

.vehicle-image {
    position: relative;
    height: 300px; /* Augmenté de 250px à 300px */
    overflow: hidden;
}

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

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

.vehicle-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.vehicle-tag {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-available {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.tag-reserved {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.tag-new {
    background-color: var(--success-color);
    color: var(--darker-bg);
}

.vehicle-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 700;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%);
    min-width: 120px;
    text-align: right;
    z-index: 2;
}

.vehicle-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.vehicle-subtitle {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.vehicle-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 16px;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.meta-item span {
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-actions {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.vehicle-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.vehicle-favorite {
    display: none !important;
}

.vehicle-favorite:hover,
.vehicle-favorite.active {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* List View */
.vehicles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vehicle-list-item {
    display: grid;
    grid-template-columns: 300px 1fr auto;
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.vehicle-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow), var(--gold-glow);
}

.vehicle-list-image {
    height: 100%;
    overflow: hidden;
    position: relative;
}

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

.vehicle-list-item:hover .vehicle-list-image img {
    transform: scale(1.1);
}

.vehicle-list-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.vehicle-list-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.vehicle-list-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.vehicle-list-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.vehicle-list-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.vehicle-list-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 25px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.02);
}

.vehicle-list-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.vehicle-list-action .btn {
    margin-bottom: 10px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination ul li {
    margin: 0 5px;
}

.pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: var(--btn-radius);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.pagination ul li a:hover,
.pagination ul li a.active {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--darker-bg);
}

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

.feature-card {
    padding: 40px 30px;
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: left;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: var(--transition);
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed var(--primary-color);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.feature-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-card:hover .feature-icon i {
    color: var(--darker-bg);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== SPOTLIGHT VEHICLE ===== */
.spotlight-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.spotlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.spotlight-images {
    position: relative;
}

.spotlight-main {
    width: 100%;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.spotlight-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.spotlight-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.spotlight-thumb {
    height: 80px;
    border-radius: var(--btn-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}

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

.spotlight-thumb.active,
.spotlight-thumb:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-sm);
}

.spotlight-info {
    padding: 30px;
}

.spotlight-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotlight-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.spotlight-subtitle {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.spotlight-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}

.spotlight-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spotlight-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--darker-bg);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 171, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-quote {
    text-align: center;
    position: relative;
    padding: 40px;
}

.testimonial-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: var(--box-shadow-sm);
}

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

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-title {
    color: var(--text-secondary);
    font-size: 14px;
}

.testimonial-rating {
    margin-top: 10px;
    color: var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* ===== CALL TO ACTION ===== */
.cta-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.7) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== VEHICLE DETAILS ===== */
.vehicle-detail-section {
    padding: 100px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--border-color);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.detail-gallery {
    margin-bottom: 50px;
}

.gallery-main {
    width: 100%;
    height: 600px;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

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

.gallery-thumbs {
    display: grid; /* Ajouté cette ligne essentielle */
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-thumb {
    height: 80px;
    border-radius: var(--btn-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}

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

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-sm);
}

.gallery-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.gallery-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-action:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.detail-title {
    max-width: 600px;
}

.detail-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.detail-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 20px;
}

.detail-price-box {
    background-color: var(--card-bg);
    padding: 20px 30px;
    border-radius: var(--card-radius);
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.detail-price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
}

.detail-price-box.reserved::before {
    background: var(--gradient-accent);
}

.detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.detail-price-box.reserved .detail-price {
    color: var(--accent-color);
}

.detail-price-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 5px;
}

.detail-content {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-tabs {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tabs-nav-item {
    padding: 20px 30px;
    white-space: nowrap;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tabs-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.tabs-nav-item.active,
.tabs-nav-item:hover {
    color: var(--primary-color);
}

.tabs-nav-item.active::after {
    transform: scaleX(1);
}

.tabs-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

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

.spec-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--btn-radius);
}

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.spec-icon i {
    color: var(--primary-color);
}

.spec-content {
    flex: 1;
}

.spec-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.spec-value {
    font-size: 16px;
    font-weight: 600;
}

.features-list {
    columns: 3;
    column-gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    break-inside: avoid;
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.widget-title {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.03);
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.widget-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
}

.widget-content {
    padding: 25px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list li span:first-child {
    color: var(--text-secondary);
}

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

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: var(--primary-color);
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-info-value {
    font-size: 16px;
    font-weight: 600;
}

.contact-form {
    margin-top: 50px;
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.form-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 30px;
    text-align: center;
    position: relative;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
}

.form-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-body {
    padding: 30px;
}

.form-footer {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.form-note {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 15px;
}

/* ===== SUCCESS & CANCEL PAGES ===== */
.result-section {
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.result-card {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.success-card::before {
    background: var(--gradient-gold);
}

.cancel-card::before {
    background: var(--gradient-accent);
}

.result-header {
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 0.03);
}

.result-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 50px;
}

.success-icon {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.cancel-icon {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.result-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.success-title {
    color: var(--success-color);
}

.cancel-title {
    color: var(--danger-color);
}

.result-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.result-body {
    padding: 40px;
}

.result-section-title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
}

.result-section-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.result-details {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--btn-radius);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.details-table {
    width: 100%;
}

.details-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.details-table tr:last-child td {
    border-bottom: none;
}

.details-label {
    color: var(--text-secondary);
    font-weight: 500;
    width: 40%;
}

.details-value {
    color: var(--text-color);
    font-weight: 600;
}

.details-price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

.steps-list,
.reasons-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.steps-list li,
.reasons-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.steps-list li:last-child,
.reasons-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 25px;
    height: 25px;
    background-color: rgba(255, 171, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list li::after {
    content: attr(data-step);
    position: absolute;
    top: 15px;
    left: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

.reasons-list li::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    left: 5px;
    color: var(--accent-color);
}

.result-footer {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.02);
}

/* ===== RESERVATION FORM ===== */
.reservation-section {
    padding: 100px 0;
}

.reservation-box {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
}

.reservation-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.reservation-image {
    width: 120px;
    height: 80px;
    border-radius: var(--btn-radius);
    overflow: hidden;
    margin-right: 20px;
}

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

.reservation-title h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.reservation-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.reservation-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: auto;
}

.reservation-body {
    padding: 30px;
}

.reservation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.reservation-info {
    background-color: rgba(255, 171, 0, 0.05);
    border-radius: var(--btn-radius);
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    border-left: 3px solid var(--primary-color);
}

.reservation-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.payment-method {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.payment-option {
    position: relative;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option.active,
.payment-option:hover {
    background-color: rgba(255, 171, 0, 0.1);
}

.payment-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.payment-label {
    font-weight: 600;
}

.payment-info {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--btn-radius);
    text-align: center;
}

.payment-info i {
    margin-right: 10px;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.secure-badge i {
    font-size: 24px;
    color: var(--text-secondary);
}

.reservation-footer {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--border-color);
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.step-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.step-text {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 100px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-card-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-card-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.contact-card-link:hover i {
    transform: translateX(5px);
}

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

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form-header {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    text-align: center;
    position: relative;
}

.contact-form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
}

.contact-form-body {
    padding: 30px;
}

.contact-form-footer {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: var(--card-radius);
    overflow: hidden;
}

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

/* ===== REPRISE PAGE ===== */
.reprise-section {
    padding: 100px 0;
}

.reprise-info {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 30px;
    margin-bottom: 40px;
}

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

.reprise-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.reprise-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.reprise-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.reprise-info-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.reprise-info-content {
    flex: 1;
}

.reprise-info-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.reprise-info-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.reprise-process {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.reprise-step {
    flex: 1;
    min-width: 250px;
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.reprise-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.reprise-step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.reprise-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reprise-step-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.reprise-step-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.reprise-step-text {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background-color: var(--darker-bg);
    color: var(--text-secondary);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.footer-top {
    padding: 100px 0 70px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.widget-about {
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-5px);
}

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

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

.footer-links li a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 171, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: var(--primary-color);
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-text span {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-contact-text a,
.footer-contact-text p {
    color: var(--text-secondary);
}

.footer-contact-text a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 171, 0, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 171, 0, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 171, 0, 0);
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-list {
        columns: 2;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .contact-info {
        display: none;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .nav-actions {
        margin-left: auto;
    }
    
    .nav-search {
        display: none;
    }
    
    .vehicle-list-item {
        grid-template-columns: 1fr;
    }
    
    .spotlight-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-header-content {
        padding-top: 40px;
    }
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        max-width: 80%;
    }
    
    .search-container {
        padding: 30px 20px;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .vehicles-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vehicles-controls {
        width: 100%;
        margin-top: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vehicles-sort {
        width: 100%;
        justify-content: space-between;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        height: 450px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .detail-header {
        flex-direction: column;
    }
    
    .detail-price-box {
        margin-top: 20px;
        width: 100%;
    }
    
    .tabs-nav-item {
        padding: 15px 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        columns: 1;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicle-meta {
        grid-template-columns: 1fr;
    }
    
    .vehicle-price {
        clip-path: none;
        width: 100%;
        text-align: center;
    }
    
    .detail-tabs {
        overflow-x: auto;
    }
    
    .tabs-nav {
        width: max-content;
        min-width: 100%;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-danger {
    color: var(--danger-color);
}

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

.bg-accent {
    background-color: var(--accent-color);
}

.bg-dark {
    background-color: var(--darker-bg);
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.mt-5 {
    margin-top: 2rem !important;
}

.hidden {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.align-center {
    align-items: center !important;
}

.justify-center {
    justify-content: center !important;
}

.text-center {
    text-align: center !important;
}

.rounded {
    border-radius: var(--btn-radius) !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.position-relative {
    position: relative !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

/* Alert styles */
.alert {
    padding: 15px 20px;
    border-radius: var(--btn-radius);
    margin-bottom: 20px;
    position: relative;
}

.alert-info {
    background-color: rgba(255, 171, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--success-color);
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--danger-color);
}

/* Loading indicator */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
}

/* Help block and validation styles */
.help-block {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--danger-color);
}

.is-invalid {
    border-color: var(--danger-color) !important;
}

.is-valid {
    border-color: var(--success-color) !important;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Vehicle Gallery Fullscreen Mode */
.vehicle-gallery.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    z-index: 9999;
    padding: 30px;
}

.vehicle-gallery.fullscreen .gallery-main {
    height: calc(100vh - 180px);
}

.vehicle-gallery.fullscreen .gallery-thumbs {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    grid-template-columns: repeat(8, 1fr);
}

.vehicle-gallery.fullscreen .gallery-action {
    position: absolute;
    top: 20px;
    right: 20px;
}

.vehicle-gallery-action {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* Custom scrollbar for select elements */
select::-webkit-scrollbar {
    width: 8px;
}

select::-webkit-scrollbar-track {
    background-color: var(--card-bg);
}

select::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Vehicle Reserve Badge */
.reserve-badge {
    position: absolute;
    top: 20px;
    right: -60px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 8px 60px;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 2;
}

/* Shooting stars animation for hero section */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    animation: shooting 3s linear infinite;
    opacity: 0;
}

@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(1000px) translateY(-1000px) rotate(45deg);
        opacity: 0;
    }
}

.search-select,
.sort-select {
    color: white !important;
    background-color: rgba(40, 40, 40, 0.7) !important;
    border: 1px solid var(--border-color);
}

.search-select option,
.sort-select option {
    background-color: var(--card-bg);
    color: white !important;
    padding: 8px 12px;
}


.search-select option:hover,
.search-select option:focus,
.search-select option:active,
.search-select option:checked,
.sort-select option:hover,
.sort-select option:focus,
.sort-select option:active,
.sort-select option:checked {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

/* Assurer que les selects sont visibles dans tous les états */
.search-form .form-control,
.vehicles-sort select {
    color: white !important;
    background-color: rgba(40, 40, 40, 0.7) !important;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 3;
    transition: var(--transition);
}

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

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-main {
    position: relative;
}

/* Overlay pour le mode plein écran */
.detail-gallery.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.detail-gallery.fullscreen .gallery-main {
    flex: 1;
    height: auto;
    margin-bottom: 30px;
}

.detail-gallery.fullscreen .gallery-main img {
    object-fit: contain;
    height: 100%;
    margin: 0 auto;
}

.detail-gallery.fullscreen .gallery-thumbs {
    height: 100px;
}

/* Ajouter ces styles à la fin de style.css pour améliorer l'expérience de pagination sur mobile */

@media (max-width: 767px) {
    /* Rendre les boutons de pagination plus grands sur mobile pour une meilleure interaction */
    .pagination ul li a {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    /* Améliorer la visibilité de l'élément actif */
    .pagination ul li a.active {
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(255, 171, 0, 0.5);
    }
    
    /* Ajouter une animation de chargement plus visible pour la pagination */
    .loading-overlay .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
    
    /* Feedback visuel pendant le chargement des pages */
    .vehicles-container.loading {
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }
}

/* Assurer que le conteneur de véhicules a une hauteur minimale pour éviter le saut de page */
.vehicles-container {
    min-height: 300px;
}