:root {
    --red-accent: #DAA520; /* Détourne le rouge vers l'or */
    --bg-color: #0a0a0a;
    --primary-text-color: #ffffff; /* Changé de #f0f0f0 à #ffffff */
    --gold-accent: #DAA520;
    --blue-accent: #2a6f97;
    --header-font: 'Orbitron', sans-serif;
    --body-font: 'Roboto Condensed', sans-serif;
}

/* Styles pour le carrousel */
.gallery-item {
    transition: opacity 0.5s ease;
}

/* Boutons de navigation */
#prev-btn, #next-btn {
    transition: all 0.3s ease;
}

#prev-btn:hover, #next-btn:hover {
    background-color: #DAA520;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-item {
        text-align: center;
    }
    
    #prev-btn, #next-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Logo Styles */
.navbar-brand img.logo-img {
    height: 60px !important; 
    width: auto !important;
    max-height: 60px !important;
    object-fit: contain;
}

/* Base Styles */
body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    line-height: 1.6;
    /* Image de fond */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/images/motoback.jpg');
    
    /* Fixe l'image */
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    
    /* Assure la continuité du fond */
    background-repeat: no-repeat;
    
    /* Hauteur minimale pour le contenu */
    min-height: 100vh;
}

@font-face {
  font-family: 'OldLondon.ttf';
  src: url('/assets/police/OldLondon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} 

/* Text Styles */
.text-muted, 
.small.text-muted,
.card-footer,
.recent-chat-message,
.text-light, 
.text-white-50 {
    color: var(--primary-text-color) !important;
    opacity: 0.9;
}

/* CORRECTION: Styles pour les champs de texte */
input, textarea, select {
    color: #ffffff !important;
}

/* Force la couleur du texte dans les champs de formulaire */
.form-control, 
.form-control:focus,
.form-select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea {
    color: #ffffff !important;
    background-color: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid #444 !important;
}

/* Placeholder text color */
.form-control::placeholder,
.form-control::-webkit-input-placeholder,
.form-control::-moz-placeholder,
.form-control:-ms-input-placeholder,
.form-control::-ms-input-placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
}

/* Card Styles */
.card {
    background-color: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--gold-accent);
    backdrop-filter: blur(5px);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    color: var(--primary-text-color);
}

.card:hover {
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--gold-accent);
    font-family: var(--header-font);
    color: var(--gold-accent);
}

.border-danger {
    border-color: var(--gold-accent);
}

/* Override Bootstrap pour les bordures */
.border-danger, 
.border,
.card,
.card-header,
.card-footer {
    border-color: var(--gold-accent) !important;
}

/* Override spécifique pour les cartes */
.card {
    background-color: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid var(--gold-accent) !important;
}

.card-header {
    border-bottom: 1px solid var(--gold-accent) !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Override des couleurs Bootstrap */
.text-danger {
    color: var(--gold-accent) !important;
    font-family: 'OldLondon.ttf';
}

.btn-outline-danger {
    border-color: var(--gold-accent) !important;
    color: var(--gold-accent) !important;
}

.btn-outline-danger:hover {
    background-color: var(--gold-accent) !important;
    color: #000 !important;
}

/* Button Styles */
.btn-biker {
    background-color: var(--gold-accent);
    color: #000;
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-biker:hover {
    background-color: #e6b422;
    color: #000;
}

.btn-outline-light {
    border-color: var(--gold-accent);
    color: var(--gold-accent);
}

.btn-outline-light:hover {
    background-color: var(--gold-accent);
    color: #000;
}

/* Hero Section */
.jumbotron {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    margin-bottom: 3rem;
    padding: 4rem 2rem;
}

.display-4 {
    font-family: var(--header-font);
    color: var(--gold-accent);
    letter-spacing: 2px;
}

hr {
    border-color: var(--gold-accent);
}

/* Navigation */
.navbar {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-accent);
}

.navbar-brand {
    font-family: var(--header-font);
    color: var(--gold-accent);
}

.nav-link {
    color: var(--primary-text-color);
    font-family: var(--body-font);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--gold-accent);
}

/* Form Styles - CORRIGÉ */
.form-control {
    background-color: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid #444 !important;
    color: #ffffff !important;
}

.form-control:focus {
    background-color: rgba(26, 26, 26, 0.9) !important;
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25) !important;
    color: #ffffff !important;
}

/* Styles spécifiques pour les textarea */
textarea.form-control {
    color: #ffffff !important;
    background-color: rgba(26, 26, 26, 0.8) !important;
}

/* Placeholder color */
.form-control::placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
}

.form-control::-webkit-input-placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
}

.form-control::-moz-placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
}

.form-control:-ms-input-placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
}

.form-control::-ms-input-placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
}

.straddle-logo-container {
    position: relative;
    height: 0; /* pour ne pas agrandir le header */
    z-index: 1030;
    overflow: visible;
}

.straddle-logo {
    position: absolute;
    bottom: -50px; /* chevauche sur le main */
    left: 50%;
    transform: translateX(-50%);
    width: 120px; /* taille maîtrisée */
    z-index: 1031;
}

.straddle-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 1024px) {
    body {
        background-attachment: scroll;
    }
}

/* Pour les écrans très petits */
@media (max-width: 576px) {
    .logo-img {
        height: 35px; /* Encore plus petit sur mobile */
    }
}

/* Version mobile - texte plus petit */
@media (max-width: 768px) {
    .navbar-brand-text {
        font-size: 0.9rem;
    }
}