/**
 * MILOBRE DE DRAG - Styles principaux
 * Thème inspiré des couleurs des chiens de chasse
 * © 2026 - Design professionnel et responsive
 */

/* ============================================================
   VARIABLES CSS (Couleurs inspirées des chiens)
   ============================================================ */
:root {
    /* Palette principale - Tons de marron et beige (pelage des chiens) */
    --color-primary: #8B4513;      /* Marron saddle brown */
    --color-primary-dark: #654321; /* Marron foncé */
    --color-primary-light: #A0522D; /* Marron sienna */
    
    --color-secondary: #D2691E;    /* Chocolate */
    --color-accent: #CD853F;       /* Peru (beige doré) */
    
    /* Tons naturels */
    --color-beige: #F5F5DC;        /* Beige */
    --color-cream: #FFFAF0;        /* Floral white */
    --color-sand: #EED9C4;         /* Almond */
    
    /* Tons neutres */
    --color-dark: #2C2416;         /* Brun très foncé */
    --color-gray: #6B5D52;         /* Taupe */
    --color-light-gray: #D3CCC4;   /* Gris clair chaud */
    
    /* Statuts et alertes */
    --color-success: #4A7C59;      /* Vert forêt */
    --color-warning: #D4A017;      /* Or */
    --color-danger: #8B0000;       /* Rouge foncé */
    --color-info: #4682B4;         /* Steel blue */
    
    /* Typographie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Bordures et ombres */
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.1rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-xs) 0;
    font-size: 0.9rem;
}

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

.header-contact a {
    color: #fff;
    margin-left: var(--spacing-sm);
}

.header-contact a:hover {
    color: var(--color-accent);
}

.header-main {
    padding: var(--spacing-sm) 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-tagline {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-style: italic;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-navigation {
    background-color: var(--color-primary);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.main-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0;
    margin: 0;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
    background-color: var(--color-primary-dark);
    color: var(--color-accent);
}

/* Dropdown */
.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary-dark);
    min-width: 220px;
    box-shadow: var(--box-shadow-lg);
    display: none;
    z-index: 100;
}

.main-nav li:hover .dropdown {
    display: block;
}

.main-nav .dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown li:last-child {
    border-bottom: none;
}

.main-nav .dropdown a {
    padding: var(--spacing-sm);
    display: block;
    color: #fff;
}

.main-nav .dropdown a:hover {
    background-color: var(--color-primary);
    color: var(--color-accent);
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* ============================================================
   CONTAINER ET LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    /* height: 500px; removed fixed height */
    min-height: 60vh; /* Minimum height for small screens */
    aspect-ratio: 16/9; /* Respect standard 1920x1080 ratio */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start; /* Align to top */
    padding-top: 8%; /* Push down slightly from the very top */
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(44, 36, 22, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-lg);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

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

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

.btn-secondary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

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

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

/* ============================================================
   FILTRES AMÉLIORÉS
   ============================================================ */
.filters {
    background-color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Ombre douce portée */
    margin: 30px auto 50px auto;
    max-width: 800px;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.filter-form {
    width: 100%;
}

.filter-form .row {
    align-items: center;
    margin: 0;
    width: 100%;
}

/* Style des Select */
.filters select.form-control {
    border: 2px solid var(--color-light-gray); /* Bordure solide */
    border-radius: 30px; /* Arrondi prononcé */
    padding: 12px 25px;
    height: auto;
    width: 100%;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 1rem;
    background-color: var(--color-cream); /* Fond crème léger */
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Retirer la flèche par défaut */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    min-width: 200px;
}

.filters select.form-control:hover,
.filters select.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
    outline: none;
    background-color: #fff;
}

/* Boutons de reset dans les filtres */
.filters .btn-secondary {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 15px;
    background-color: var(--color-light-gray);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.filters .btn-secondary:hover {
    background-color: var(--color-danger); /* Rouge au survol pour signifier 'supprimer' */
    transform: rotate(90deg);
}

/* Media Queries pour les filtres sur mobile */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
    }
    
    .filter-form .row > div {
        margin-bottom: 10px;
        width: 100%;
        flex: 100%;
    }
    
    .filters select.form-control {
        width: 100%;
    }
}

/* ============================================================
   CARTES (Cards)
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

.card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: var(--color-light-gray);
}

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

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

.card-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-body {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-xs);
}

.card-meta {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.card-footer {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-beige);
    border-top: 1px solid var(--color-light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-dark) 100%);
    color: #fff;
    padding: var(--spacing-xl) 0 var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

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

.footer-section h3 {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-sm);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: var(--color-success);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: var(--color-danger);
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: var(--color-warning);
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: var(--color-info);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary-dark);
        box-shadow: var(--box-shadow-lg);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav .dropdown {
        position: static;
        display: none;
        box-shadow: none;
    }
    
    .main-nav .dropdown.active {
        display: block;
    }
    
    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-center {
    text-align: center;
}

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

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

.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }

/* ============================================================
   EN-TÊTES DE PAGE & FIL D'ARIANE
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.breadcrumb {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    margin-right: 5px;
    transition: all 0.2s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

/* ============================================================
   PAGE D'ACCUEIL AVANCÉE
   ============================================================ */

/* Hero Animation */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 20s infinite alternate;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(210, 105, 30, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(210, 105, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(210, 105, 30, 0); }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.about-images {
    position: relative;
    padding-bottom: 30px;
}

.about-images .secondary-img {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 55%;
    border: 5px solid #fff;
}

.sub-title {
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.about-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-features li {
    font-weight: 600;
    color: var(--color-dark);
}

.about-features i {
    margin-right: 8px;
}

/* Race Card Modern */
.race-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s;
    height: 100%;
}

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

.race-card-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.race-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.race-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.race-card-modern:hover .race-overlay {
    opacity: 1;
}

.race-card-body {
    padding: 20px;
    text-align: center;
}

.race-card-body h3 {
    margin: 0 0 5px;
    font-family: var(--font-heading);
}

.race-stats-mini {
    color: #888;
    font-size: 0.9rem;
}

/* Parallax Section */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 36, 22, 0.85); /* Brown overlay */
}

.stat-item {
    padding: 20px;
}

.stat-item .counter {
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0;
    color: var(--color-accent);
}

.float-effect {
    animation: float 6s ease-in-out infinite;
}

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

/* Amélioration du texte d'intro */
.lead.text-muted {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-gray);
    font-family: var(--font-heading);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    border-bottom: 2px solid var(--color-sand);
    padding-bottom: 2rem;
}

.parallax-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9) !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    z-index: 20;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .parallax-title {
        font-size: 1.5rem !important;
    }
}

/* ============================================================
   PAGE CHIEN - GALLERIE
   ============================================================ */
.dog-gallery .main-photo {
    text-align: center;
    background-color: transparent; /* Changed from beige to handle transparency better */
    border-radius: var(--border-radius);
    padding: 0;
    margin-bottom: 15px;
    box-shadow: none; /* Removed shadow for cleaner look if image is contained */
    width: 100%;
    /* Removed fixed max-height and aspect-ratio to allow full image */
    display: block;
    overflow: visible;
}

.dog-gallery .main-photo img {
    width: 100%;
    height: auto; 
    max-height: 800px; /* Limit height for very tall images but keeping it large */
    object-fit: contain; /* Ensure full dog is seen */
    border-radius: 4px;
    margin: 0 auto;
    display: block;
}

.dog-gallery .thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.dog-gallery .thumbnails .thumb {
    width: 80px;
    height: 60px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.dog-gallery .thumbnails .thumb:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

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

/* ============================================================ 
   RACE TABS NAVIGATION
   ============================================================ */
.race-tabs-container {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: inline-flex;
    margin-bottom: 30px;
    /* Center it */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.race-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.race-tab-link {
    padding: 12px 25px;
    border-radius: 40px;
    color: var(--color-gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.race-tab-link:hover {
    color: var(--color-primary);
    background: var(--color-beige);
}

.race-tab-link.active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
}

.race-content-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeIn 0.5s ease-out;
}

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

/* ============================================================
   SECTION TÉMOIGNAGES & LIVRE D'OR (HOME)
   ============================================================ */
.section-testimonials {
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Motif de fond subtil */
.section-testimonials::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.section-testimonials .section-title {
    color: var(--color-cream);
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05); /* Verre dépoli très léger */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    opacity: 1;
    margin-bottom: 1.5rem;
    display: block;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--font-heading);
    font-style: italic;
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.testimonial-author strong {
    color: var(--color-cream);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-date {
    opacity: 0.7;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Séparateur élégant */
.separator-line {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto 4rem auto;
    border-radius: 2px;
    opacity: 0.8;
}

/* Appel à l'action */
.cta-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 3rem;
    display: inline-block;
    width: 100%;
    max-width: 800px;
    backdrop-filter: blur(5px);
}

.cta-box h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-gold {
    background-color: #fff;
    color: var(--color-primary);
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-gold:hover {
    background-color: var(--color-beige);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
