/* ========================================
   VARIABLES
======================================== */
:root {
    --primary-color: #489758;
    --secondary-color: #262626;
}

/* ========================================
   POLICES
======================================== */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    font-size: 0.8rem; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* ========================================
   NAVBAR
======================================== */
.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color:white;
}

/* Icônes vertes dans le menu */
.nav-link i {
    color: var(--primary-color);
}

/* Bouton Contact vert */
.btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-success:hover {
    background-color: #52a865 !important;
    border-color: #52a865 !important;
}

/* Header du menu mobile (vert) */
.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-title {
    color: white;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Dégradé blanc vers gris foncé */
.bg-grey{
    background: #2E2E2E;
}

/* ========================================
   HAMBURGER SIMPLE ET MODERNE
======================================== */

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2365C178' stroke-linecap='round' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ========================================
   HERO COMMUN - TOUTES LES PAGES
======================================== */

/* Hero Simple - Section principale */
.page-hero-simple {
    position: relative;
    min-height: 180px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2416 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

/* Overlay avec effet radial vert */
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(101, 193, 120, 0.15), transparent 50%);
}

/* Contenu du hero */
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Titre principal */
.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: white;
}

/* Sous-titre */
.page-hero-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   RESPONSIVE - TABLETTES
======================================== */
@media (max-width: 991px) {
    .page-hero-simple {
        min-height: 160px;
        padding: 50px 0;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 0.8rem;
    }
}

/* ========================================
   RESPONSIVE - MOBILES
======================================== */
@media (max-width: 767px) {
    .page-hero-simple {
        min-height: 140px;
        padding: 40px 0;
    }

    .page-hero-content {
        padding: 0 15px;
    }

    .page-hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .page-hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}

/* ========================================
   RESPONSIVE - PETITS MOBILES
======================================== */
@media (max-width: 575px) {
    .page-hero-simple {
        min-height: 120px;
        padding: 35px 0;
    }

    .page-hero-content {
        padding: 0 10px;
    }

    .page-hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.65rem;
    }

    .page-hero-subtitle {
        font-size: 0.7rem;
        line-height: 1.5;
    }
}

/* ========================================
   RESPONSIVE - TRÈS PETITS MOBILES
======================================== */
@media (max-width: 400px) {
    .page-hero-simple {
        min-height: 110px;
        padding: 30px 0;
    }

    .page-hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .page-hero-subtitle {
        font-size: 0.7rem;
    }
}



/* ========================================
   RESPONSIVE
======================================== */

/* MOBILE : texte gris foncé */
@media (max-width: 991px) {
    .brand-text {
        font-size: 1rem;
    }
    
    .nav-item a {
        font-size: 1rem;
        color: #3a3a3a !important;
    }
}

/* DESKTOP : texte blanc + alignement */
@media (min-width: 992px) {
    .offcanvas-body {
        padding: 0;
    }
    
    .navbar-nav {
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-item a {
        font-size: 1rem;
        color: white !important;
    }
}


/* ========================================
   EFFET SCROLL NAVBAR - SANS TRANSFORM
======================================== */

.navbar {
    transition: padding 0.3s ease, top 0.3s ease-in-out;
    top: 0;
}

/* Navbar réduite après scroll */
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Cache la navbar en la déplaçant vers le haut */
.navbar.scroll-down {
    top: -100px;
}

/* Empêche le déplacement si menu ouvert */
body.offcanvas-open .navbar {
    top: 0 !important;
}


/* ========================================
   FOOTER - ÉLEVAGE DE BEL AIR
======================================== */

.main-footer {
    background: var(--secondary-color);
    color: #ffffff;
    margin-top: 5rem;
}

/* Section principale */
.footer-main {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #2d3e28 0%, #1a2416 100%);
}

/* Widget footer */
.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Description */
.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-location {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Liste de contact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--primary-color);
}

/* Réseaux sociaux */
.footer-social-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(101, 193, 120, 0.4);
    text-decoration: none;
}

/* Section liens rapides */
.footer-links {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.footer-nav a:hover {
    color: var(--primary-color);
}

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

/* Section copyright */
.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-copyright,
.footer-credits {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright strong {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-credits a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #7ed492;
}

.footer-credits i {
    font-size: 0.85rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 991px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-location {
        justify-content: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .footer-nav a {
        font-size: 0.8rem;
    }

    .footer-copyright,
    .footer-credits {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0;
}
}

@media (max-width: 576px) {
    .main-footer {
        margin-top: 3rem;
    }
    
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-widget-title {
        font-size: 1.1rem;
    }

    .footer-description {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-size: 0.7rem;
    }
    
    .footer-links {
        padding: 1.5rem 0;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .footer-bottom {
        padding: 1.25rem 0;
        
    }

    .footer-bottom p {
       font-size:0.7rem;
    }
    
    .footer-copyright,
    .footer-credits {
        font-size: 0.85rem;
    }
}



