/* Variables */
:root {
    --primary-color: #018d8f; /* Medium Azure Green (DarkTurquoise) */
    --secondary-color: #6c757d; /* Gray */
    --text-color: #333;
    --light-bg: #f8f9fa; /* Light gray */
    --dark-bg: #343a40; /* Dark gray */
    --white: #fff;
    --font-family: 'Arial', sans-serif;
    --header-height: 80px; /* Default, updated by JS */
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: #00A0A3; /* A darker shade of the primary color */
}

ul {
    list-style: none;
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--dark-bg);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

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

/* Font Awesome Icon Styling (General) */
.fas, .fab {
    /* General icon styling, specific adjustments follow */
}

/* Header */
header {
    background: var(--white);
    color: var(--dark-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-bg);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.main-nav .nav-links {
    display: flex;
    gap: 25px;
}

.main-nav .nav-links a {
    color: var(--dark-bg);
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    /* Added for icon alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav .nav-links a .fas,
.main-nav .nav-links a .fab {
    margin-right: 5px; /* Spacing for icon in nav links */
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-bg);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-bg);
    position: absolute;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* When nav is open */
body.nav-open .hamburger {
    background: transparent;
}

body.nav-open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

body.nav-open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Sections */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-of-type(even) {
    background: var(--light-bg);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

h2 .fas, h2 .fab {
    margin-right: 15px; /* Spacing for icon in H2 */
    color: var(--primary-color); /* Color for H2 icons */
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: none; /* Removed static background image */
    color: var(--white);
    padding: 0; /* Removed padding to allow carousel to fill */
    position: relative; /* Needed for absolute positioning of carousel */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    text-align: center;
    min-height: 60vh; /* Minimum height for the hero section */
    overflow: hidden; /* Hide parts of images outside the section */
}

/* Hero Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Behind overlay and content */
}

.hero-carousel-track {
    display: flex;
    height: 100%;
    animation: scroll-left 60s linear infinite; /* Adjust duration for speed */
}

.hero-carousel-track img {
    min-width: 100vw; /* Each image takes full viewport width */
    max-width: 100vw;
    height: 100%;
    object-fit: cover; /* Cover the container, cropping if necessary */
    flex-shrink: 0; /* Prevent images from shrinking */
}

/* Keyframes for infinite smooth scroll */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    /* Moves by 6 times the viewport width (width of 6 unique images) */
    to {
        transform: translateX(-600vw);
    }
}

/* Overlay for text legibility on top of images */
.hero-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Above carousel, below content */
}

/* Positioning for hero content (text and button) */
.hero-content {
    position: relative; /* Ensure content is on top */
    z-index: 2; /* Above overlay */
    /* Padding for content inside the container */
    padding-top: 20px; /* Example, adjust as needed */
    padding-bottom: 20px; /* Example, adjust as needed */
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white); /* Ensure text is white */
}

/* Style for icon in hero h1 */
.hero-section h1 .fas {
    color: var(--primary-color); /* Primary color for icon */
    margin-left: 15px; /* Spacing from text */
    margin-right: 0; /* Override default */
}


.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #00A0A3; /* A darker shade of the primary color */
}

/* Icon in button */
.btn .fas, .btn .fab {
    margin-left: 8px; /* Spacing for icons after button text */
    margin-right: 0;
}

/* Crédits photos bannière */
.hero-credits {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 3;
}

.hero-credits a {
    color: var(--white);
    text-decoration: none;
}

/* About Section */
.about-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for smooth hover */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex; /* Make h3 a flex container */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Horizontally center items */
}

.service-item h3 .fas {
    font-size: 1.8rem; /* Make icon slightly larger than text */
    margin-right: 10px; /* Spacing between icon and text */
    color: var(--primary-color); /* Ensure icon color is primary */
}

.service-item p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    /* Inherits background: var(--white) as it's not an even section */
    padding: 80px 0;
    text-align: center;
}

.testimonials-section h2 {
    /* Uses general h2 style */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* For better internal layout of text */
    flex-direction: column;
    justify-content: space-between; /* Push client name/title to bottom */
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.testimonial-item .quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows the quote to take up available space */
}

.testimonial-item .quote .fas {
    margin-right: 8px; /* Spacing for the quote icon */
    color: var(--primary-color); /* Make the quote icon primary color */
}

/* Partners Section */
.partners-section {
    background: var(--light-bg); /* Use light-bg as it's an even section after testimonials */
    padding: 80px 0;
    text-align: center;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Auto-fit columns, min 120px */
    gap: 30px;
    margin-top: 3rem;
    align-items: center; /* Vertically align logos in grid */
    justify-items: center; /* Horizontally align logos in grid */
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.partner-item img {
    max-width: 100%;
    max-height: 80px; /* Constrain height of logos */
    width: auto;
    object-fit: contain; /* Ensure the entire logo is visible */
}


/* Contact Section */
.contact-info {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.contact-info strong {
    color: var(--dark-bg);
}

/* Icon in contact info paragraphs */
.contact-info p .fas {
    color: var(--primary-color); /* Color icons in contact info */
    margin-right: 10px; /* Spacing */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details h3 .fas {
    color: var(--primary-color);
    margin-right: 10px;
}

.opening-hours {
    margin: 0;
}

.opening-hours h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.opening-hours h3 .fas {
    color: var(--primary-color);
    margin-right: 10px;
}

.opening-hours ul li {
    margin-bottom: 0.5rem;
}

.opening-hours strong {
    color: var(--dark-bg);
    display: inline-block;
    width: 110px;
}

.map-container {
    margin-top: 2rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: var(--white); /* Ensure icons are white */
    font-size: 24px; /* Size like the old images */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
    color: var(--primary-color); /* Hover color */
}

/* Removed old img styles as they are replaced by icons */
/* .social-links img { */
/*     width: 24px; */
/*     height: 24px; */
/*     transition: transform 0.3s ease; */
/* } */

/* .social-links img:hover { */
/*     transform: scale(1.1); */
/* } */

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

.btn.btn-secondary:hover {
    background: #5a6268;
}


/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* Reduced margin from top */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Increased width */
    max-width: 800px; /* Increased max-width */
    border-radius: 8px;
    position: relative;
    text-align: left;
}

#modal-prices ul {
    list-style: disc;
    padding-left: 20px;
}

#modal-prices li {
    margin-bottom: 10px;
}

/* Contest Section */
.contest-section .contest-content {
    max-width: 800px;
    margin: 0 auto;
}

.contest-section .prizes {
    margin: 25px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: inline-block;
    text-align: left;
}

.contest-section .prizes h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contest-section .prizes p {
    margin-bottom: 5px;
}


.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#modal-prices {
    overflow-x: auto; /* Permet de swiper le tableau horizontalement s'il est trop large */
}

#modal-prices p {
    margin-bottom: 0.5rem;
}

#modal-prices table {
    width: 100%;
    min-width: 400px; /* Garantit que le tableau reste lisible */
    border-collapse: collapse;
    margin: 1rem 0;
}

#modal-prices th, #modal-prices td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#modal-prices th {
    background-color: #f2f2f2;
}



/* Responsive Design */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 50vh; /* Adjust min-height for smaller screens */
    }

    /* Mobile Nav */
    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: var(--header-height); /* Needs to be dynamic or calculated */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    body.nav-open .main-nav .nav-links {
        display: flex;
    }

    .main-nav .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .main-nav .nav-links a {
        padding: 10px 0;
        display: block;
        color: var(--dark-bg);
        font-size: 1.1rem;
    }

    .main-nav .nav-links a::after {
        display: none; /* Remove underline for mobile nav items */
    }

    .nav-toggle {
        display: block; /* Show hamburger on mobile */
    }

    header .container {
        flex-wrap: wrap; /* Allow header content to wrap */
    }

    .logo {
        flex-grow: 1;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Adjust for smaller logos on small screens */
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        margin-bottom: 0.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .opening-hours h3, .contact-details h3 {
        justify-content: center;
    }

    footer .container {
        flex-direction: column;
    }

    .hero-section p { /* Moved from @media 480px, as it applies here too */
        font-size: 1rem;
    }

    .testimonial-grid { /* Moved from @media 480px, as it applies here too */
        grid-template-columns: 1fr; /* Stack testimonials on small screens */
    }

/* --- AJOUT POUR CORRIGER LE CHEVAUCHEMENT (Bouton / Crédit) --- */
    .hero-section {
        flex-direction: column; /* Empile le contenu et le crédit verticalement */
        justify-content: center;
    }

    .hero-credits {
        position: static; /* On arrête de le fixer en bas à droite */
        margin-top: 15px; /* Petit espace sous le bouton */
        text-align: center; /* On le centre */
        width: 100%;
        font-size: 0.8rem; /* Taille ajustée pour tablette */
    }

}

@media (max-width: 480px) {
    /* --- HERO / BANNIÈRE --- */
    .hero-section {
        /* On passe en colonne pour empiler le contenu et les crédits */
        flex-direction: column; 
        justify-content: center;
        padding-bottom: 20px; /* Espace en bas pour ne pas coller au bord */
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h1 .fas {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
    
    .hero-content {
        padding-bottom: 0; /* On retire le padding interne excessif */
    }

    /* Correction élégante des crédits photo */
    .hero-credits {
        position: static; /* On retire la position absolue pour qu'il ne flotte plus */
        margin-top: 20px; /* Espace propre entre le bouton et le crédit */
        font-size: 0.75rem; /* Légèrement plus petit sur mobile */
        width: 100%; /* S'assure qu'il est centré */
    }

    .btn .fas {
        display: block;
        margin-top: 5px;
        margin-left: auto;
        margin-right: auto;
    }

    /* --- SERVICES --- */
    .service-item h3 {
        flex-direction: column;
    }
    
    .service-item h3 .fas {
        margin-right: 0;
        margin-bottom: 5px;
    }

    /* --- CONTACT --- */
    /* Correction de l'alignement "n'importe comment" */
    .contact-info p {
        display: block; /* Important : on enlève le flex pour permettre au texte de revenir à la ligne naturellement */
        text-align: center; /* On centre le tout proprement */
        margin-bottom: 1.5rem; /* Un peu plus d'espace entre les lignes */
    }
    
    .contact-info p .fas {
        /* On garde l'icône dans le flux du texte ou juste avant */
        display: inline-block; 
        margin-right: 8px;
        margin-bottom: 5px; /* Si l'icône passe au dessus, petite marge */
    }
    
    .opening-hours strong {
        display: block;
        width: auto;
    }
    
    .opening-hours li {
        margin-bottom: 1rem;
    }
}

/* Salle Section */
.salle-section {
    background: var(--white);
}

.salle-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .salle-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.salle-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.salle-text ul li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.salle-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.salle-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.salle-gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

#gallery-modal {
    background-color: rgba(0,0,0,0.9);
}

#gallery-modal .modal-content {
    background: transparent;
    border: none;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#gallery-modal .gallery-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

#gallery-modal .gallery-close:hover,
#gallery-modal .gallery-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gallery-image {
    cursor: pointer;
}

/* Occasions Page Styles */
.occasions-page section {
    padding: 40px 0;
    text-align: left; /* Override global section center align for listing */
}

.occasions-hero {
    background: var(--light-bg);
    border-bottom: 1px solid #eee;
    text-align: center !important;
    padding: 30px 0 !important;
}

.occasions-hero p {
    margin-bottom: 0;
}

.occasions-listing {
    padding: 10px 0 !important;
}

.search-filter-container {
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 15px;
}

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

.items-count {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.btn-filter {
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.search-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.listing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    text-align: left;
}

.listing-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.listing-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.listing-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.listing-table tr:hover {
    background: #f1f8f8;
}

.col-ref { width: 15%; color: var(--secondary-color); font-size: 0.85rem; }
.col-libelle { width: 65%; font-weight: 500; }
.col-prix { width: 20%; font-weight: bold; text-align: right; color: var(--primary-color); }

.loader-container {
    padding: 50px;
    text-align: center;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.error-message {
    padding: 40px;
    text-align: center;
    color: #d9534f;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.occasions-note {
    margin-top: 40px;
    padding: 20px;
    background: #e7f3f3;
    border-radius: 8px;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .col-ref { width: 25%; }
    .col-prix { width: 30%; }
    .listing-table th, .listing-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

