
/* CSS Dynamique - Couleurs personnalisées et mode sombre */
:root {
    --primary-color: #a21616 !important;
    --secondary-color: #000000 !important;
    --accent-color: #575757 !important;
    --primary-rgb: 162, 22, 22 !important;
    --secondary-rgb: 0, 0, 0 !important;
    --accent-rgb: 87, 87, 87 !important;
}

/* Mode sombre forcé */

body {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Navigation en mode sombre */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    border-bottom: 1px solid #404040 !important;
}

.nav-link {
    color: #e5e5e5 !important;
}

/* Sections en mode sombre */
.fleet {
    background: #0f0f0f !important;
}

.about {
    background: #0f0f0f !important;
}

.services {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    position: relative !important;
}

.services::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 0 !important;
}

.services .container {
    position: relative !important;
    z-index: 1 !important;
}

.contact {
    background: #1a1a1a !important;
}

.section-title {
    color: #ffffff !important;
}

.services .section-label {
    background: rgba(0, 0, 0, 0.7) !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services .section-title {
    color: #ffffff !important;
}

.section-description {
    color: #a1a1a1 !important;
}

/* Cards en mode sombre */
.car-card {
    background: #2a2a2a !important;
    border: 1px solid #404040 !important;
}

.service-card {
    background: #2a2a2a !important;
    border: 1px solid #404040 !important;
}

.car-title {
    color: #ffffff !important;
}

.service-card h3 {
    color: #ffffff !important;
}

.service-card p {
    color: #a1a1a1 !important;
}

.spec {
    color: #a1a1a1 !important;
}

/* About en mode sombre */
.about-text p {
    color: #a1a1a1 !important;
}

.stat-label {
    color: #a1a1a1 !important;
}

/* Contact en mode sombre */
.contact-details h3 {
    color: #ffffff !important;
}

.contact-details p {
    color: #a1a1a1 !important;
}

.contact-form {
    background: #2a2a2a !important;
}

.form-group input,
.form-group textarea {
    background: #333333 !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1a1a1 !important;
}

/* Footer en mode sombre */
.footer {
    background: #0f0f0f !important;
}

.footer-logo p {
    color: #a1a1a1 !important;
}

.footer-links a {
    color: #a1a1a1 !important;
}

.footer-contact p {
    color: #a1a1a1 !important;
}

.footer-social {
    border-top: 1px solid #333 !important;
}

.footer-social h4 {
    color: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid #333 !important;
    color: #a1a1a1 !important;
}

/* Modals en mode sombre */
.modal {
    background: rgba(0, 0, 0, 0.8) !important;
}

.modal-content {
    background: #2a2a2a !important;
    border: 1px solid #404040 !important;
}

.modal-close {
    background: #333333 !important;
    color: #a1a1a1 !important;
}

.car-modal-header {
    border-bottom: 1px solid #404040 !important;
}

.car-modal-header h2 {
    color: #ffffff !important;
}

.car-description {
    color: #a1a1a1 !important;
}

.spec-item {
    color: #a1a1a1 !important;
}

.spec-item strong {
    color: #ffffff !important;
}

.modal-header h2 {
    color: #ffffff !important;
}

.modal-header p {
    color: #a1a1a1 !important;
}

/* Couleurs communes qui restent identiques dans les deux modes */
.hero-background {
    background: linear-gradient(135deg, #a21616 0%, #000000 50%, #575757 100%) !important;
}

.nav-logo {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.nav-logo:hover {
    transform: scale(1.05) !important;
}

.logo-text {
    color: #ffffff !important;
}

.nav-link.active,
.nav-link:hover {
    color: #a21616 !important;
}

.nav-link::after {
    background: linear-gradient(135deg, #a21616, #000000) !important;
}

.admin-link {
    background: rgba(162, 22, 22, 0.1) !important;
    border-color: rgba(162, 22, 22, 0.2) !important;
    color: #a21616 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #a21616 0%, #000000 100%) !important;
    color: white !important;
}

.btn-outline {
    background: rgba(162, 22, 22, 0.1) !important;
    color: #a21616 !important;
    border-color: #a21616 !important;
}

.btn-outline:hover {
    background: #a21616 !important;
    color: white !important;
}

.section-label {
    background: rgba(162, 22, 22, 0.1) !important;
    color: #a21616 !important;
}

.car-price {
    color: #a21616 !important;
}

.spec i {
    color: #a21616 !important;
}

.car-details-btn:hover {
    background: #a21616 !important;
    color: white !important;
}

.car-modal-price {
    color: #a21616 !important;
}

.service-icon {
    background: linear-gradient(135deg, #a21616, #000000) !important;
}

.service-card:hover {
    border-color: rgba(162, 22, 22, 0.2) !important;
}

.stat-number {
    color: #a21616 !important;
}

.image-placeholder {
    background: linear-gradient(135deg, #a21616, #000000) !important;
}

.contact-icon {
    background: linear-gradient(135deg, #a21616, #000000) !important;
}

.contact-details a {
    color: #a21616 !important;
}

.contact-details a:hover {
    color: #000000 !important;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a21616 !important;
    box-shadow: 0 0 0 3px rgba(162, 22, 22, 0.1) !important;
}

.footer-logo-text {
    color: #a21616 !important;
}

.footer-links a:hover {
    color: #a21616 !important;
}

.footer-contact i {
    color: #a21616 !important;
}

/* Bouton Mode Jour/Nuit */
.dark-mode-toggle {
    position: fixed !important;
    top: 50% !important;
    right: 20px !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    background: #2a2a2a !important;
    border: 2px solid #404040 !important;
    border-radius: 50px !important;
    padding: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dark-mode-toggle:hover {
    transform: translateY(-50%) scale(1.1) !important;
    border-color: #a21616 !important;
}

.dark-mode-toggle i {
    font-size: 24px !important;
    color: #a21616 !important;
    transition: all 0.3s ease !important;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dark-mode-toggle.rotating i {
    animation: rotate 0.5s ease-in-out !important;
}
?>