/* ================================================
   VARIABLES CSS PERSONNALISÉES
   ================================================ */
:root {
    --green-dark: #1a3c34;
    --green-medium: #2e6b52;
    --green-light: #3d8c6f;
    --gold: #d4af37;
    --bg-light: #f8f9f5;
}

/* ================================================
   TYPOGRAPHIE
   ================================================ */
body {
    font-family: 'Inter', sans-serif;
    color: #1e2a24;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green-medium), var(--green-light));
    border-radius: 8px;
}

.text-primary-green {
    color: var(--green-dark) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #1e2a24;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--green-medium);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 100%);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 56px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ================================================
   BOUTONS
   ================================================ */
.btn-gold {
    background: var(--gold);
    border: none;
    color: #1e2a24;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background: #c49d2e;
    color: #1e2a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline-success {
    border-color: var(--green-medium);
    color: var(--green-medium);
    font-weight: 600;
}

.btn-outline-success:hover {
    background: var(--green-medium);
    border-color: var(--green-medium);
    color: white;
}

/* ================================================
   SECTIONS
   ================================================ */
.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* ================================================
   CARTES PRODUITS
   ================================================ */
.product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Produits à prévoir */
.product-preview {
    opacity: 0.95;
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
}

/* ================================================
   FORMULAIRE CONTACT
   ================================================ */
.form-control:focus {
    border-color: var(--green-medium);
    box-shadow: 0 0 0 0.25rem rgba(46, 107, 82, 0.15);
}

/* ================================================
   FOOTER
   ================================================ */
footer .btn-outline-light {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1e2a24;
    transform: translateY(-3px);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   SCROLL BEHAVIOR
   ================================================ */
html {
    scroll-behavior: smooth;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}
