* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

header {
    background: #1e1e1e;
    padding: 20px;
    position: relative;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #d4af37;
}

/* Hero Section amélioré */
.hero {
    background: url("https://i.imgur.com/gVfBfMy.png") center/cover;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("https://i.imgur.com/gVfBfMy.png") center/cover;
    background-attachment: fixed;
    filter: blur(0px);
    transition: filter 0.3s ease;
    z-index: 0;
}

.hero.scrolled::before {
    filter: blur(8px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.hero-overlay.scrolled {
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.hero h1 {
    color: #fff;
    padding: 25px 40px;
    border-radius: 8px;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero.scrolled {
    height: 50vh;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
    background: #f5f5f5;
}

h2 {
    margin-bottom: 20px;
    color: #1e1e1e;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery img {
    width: 100%;
    border-radius: 8px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

form button {
    background: #1e1e1e;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #d4af37;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: #d4af37;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #2a2a2a;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-menu a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}

.dropdown-menu a:first-child {
    border-radius: 4px 4px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 4px 4px;
}

.dropdown-menu a:hover {
    background-color: #d4af37;
    color: #1e1e1e;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Sidebar Layout */
.sidebar-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    flex: 0 0 200px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    background: #f5f5f5;
    border: 2px solid #ddd;
    color: #333;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: #e8e8e8;
    border-color: #d4af37;
}

.sidebar-btn.active {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

.main-content {
    flex: 1;
}

.category {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.category h3 {
    margin-bottom: 25px;
    color: #1e1e1e;
    font-size: 1.8rem;
}

.equipment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 20px;
}

.equipment-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    display: block;
}

/* Ajustement spécifique image candy bar */
.equipment-card img[alt="Candy bar chene"] {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    border: none;
    box-shadow: none;
    margin: 0 0 15px 0;
}

/* Image bouteille LED Côte de Rose complète */
.equipment-card img[alt="bouteille led cote de rose"] {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.2);
}

.equipment-card h4 {
    color: #1e1e1e;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.equipment-card p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.equipment-card p:last-child {
    color: #d4af37;
    font-weight: 600;
    margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar-container {
        flex-direction: column;
    }

    .sidebar {
        flex: 1;
        position: static;
    }

    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-btn {
        flex: 1;
        min-width: 120px;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
        padding: 15px 25px;
    }
}

/* Formulaire d'avis */
.avis-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    max-width: 600px;
}

.avis-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e1e1e;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

/* Contact phone styling */
.contact-phone {
    background: white;
    display: inline-block;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-weight: 600;
}

.contact-phone a { color: #1e1e1e; text-decoration: none; }
.contact-phone a:hover { color: #d4af37; }

/* Social links (footer / contact section) */
.social-links {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 18px 0 30px 0;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff;
    color: #1e1e1e;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, background 0.15s ease;
    font-size: 18px;
}
.social-links a:hover {
    transform: translateY(-4px);
    background: #d4af37;
    color: #1e1e1e;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

/* Système de notation par étoiles */
.star-rating {
    display: flex;
    gap: 10px;
    font-size: 2.5rem;
}

.star {
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover,
.star.hover {
    color: #d4af37;
    transform: scale(1.2);
}

.star.active {
    color: #d4af37;
}

.btn-submit {
    background: #1e1e1e;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #d4af37;
    color: #1e1e1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,175,55,0.3);
}

/* Cartes d'avis */
.avis-card {
    border-left: 4px solid #d4af37;
    animation: slideIn 0.3s ease;
    position: relative;
}

.btn-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-delete:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.avis-rating {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #d4af37;
}

.avis-card p {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.avis-card p strong {
    color: #1e1e1e;
    font-size: 1.1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .avis-form-container {
        padding: 20px;
    }

    .star-rating {
        font-size: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
}

footer {
    background: #1e1e1e;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}