/* ---------- RESET & BASE STYLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow-primary: #ffeb00;
    --yellow-secondary: #e9e70d;
    --purple-primary: #9f14d0;
    --purple-secondary: #580077;
    --cyan-primary: #2ab3d0;
    --cyan-secondary: #1a6c78;
    --green-primary: #216b1d;
    --green-secondary: #055a1d;
    --red-primary: #ff3131;
    --red-secondary: #e30202;
    --orange-primary: #d87503;
    --blue-primary: #483fe2;
    --burgundy: #692e32;
    --light-blue: #7cd7ea;
    --pink: #dc9692;
    --black: #0f0e0e;
    --primary-color: #000000;
    --secondary-color: #e8f4e3;
    --accent-color: #363636;
    --light-color: #f7fbf5;
    --dark-color: #0f0e0e;
    --medium-color: #666;
    --heading-color: #0f0e0e;

    --heading-font: 'Playfair Display', serif; 
    --body-font: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

h1 {
    font-size: 3.2rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.4rem;
    letter-spacing: 0.5px;
    position: relative;
}

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

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* ---------- HEADER & NAVIGATION ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: white;
    backdrop-filter: none;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    height: calc(var(--header-height) + 30px);
    display: flex;
    align-items: center;
}

.logo {
    height: 130px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    margin-top: 15px;
}

.main-nav {
    width: 100%;
    height: 100%;
}

.main-nav ul {
    display: flex;
    justify-content: space-between;
    height: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.left-links, .right-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.left-links {
    margin-right: calc(var(--header-height) / 2);
    justify-content: flex-end;
    width: 50%;
}

.right-links {
    margin-left: calc(var(--header-height) / 2);
    justify-content: flex-start;
    width: 50%;
}

.main-nav ul li {
    height: 100%;
    display: flex;
    align-items: center;
    flex: 1;
}

.main-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-align: center;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: white;
}

.main-nav a.accent-green:hover,
.main-nav a.accent-green.active { color: var(--green-primary); }
.main-nav a.accent-green:hover:after,
.main-nav a.accent-green.active:after { background-color: var(--green-primary); }

.main-nav a.accent-purple:hover,
.main-nav a.accent-purple.active { color: var(--purple-primary); }
.main-nav a.accent-purple:hover:after,
.main-nav a.accent-purple.active:after { background-color: var(--purple-primary); }

.main-nav a.accent-cyan:hover,
.main-nav a.accent-cyan.active { color: var(--cyan-primary); }
.main-nav a.accent-cyan:hover:after,
.main-nav a.accent-cyan.active:after { background-color: var(--cyan-primary); }

.main-nav a.accent-red:hover,
.main-nav a.accent-red.active { color: var(--red-primary); }
.main-nav a.accent-red:hover:after,
.main-nav a.accent-red.active:after { background-color: var(--red-primary); }

.main-nav a.accent-orange:hover,
.main-nav a.accent-orange.active { color: var(--orange-primary); }
.main-nav a.accent-orange:hover:after,
.main-nav a.accent-orange.active:after { background-color: var(--orange-primary); }

.main-nav a.accent-blue:hover,
.main-nav a.accent-blue.active { color: var(--blue-primary); }
.main-nav a.accent-blue:hover:after,
.main-nav a.accent-blue.active:after { background-color: var(--blue-primary); }

.main-nav a.accent-burgundy:hover,
.main-nav a.accent-burgundy.active { color: var(--burgundy); }
.main-nav a.accent-burgundy:hover:after,
.main-nav a.accent-burgundy.active:after { background-color: var(--burgundy); }

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 60%;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 2rem;
}

main {
    margin-top: 30px;
}

.page-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background: url('../images/banniere.png') center/cover no-repeat;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.page-hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* ---------- HERO CAROUSEL ---------- */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.slide-content h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    font-weight: 400;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.carousel-controls {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.carousel-dots {
    display: flex;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.prev-slide, .next-slide {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ---------- FEATURED SECTIONS ---------- */
.featured-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 5rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.section-card {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 1rem;
    background-color: white;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.section-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    z-index: 1;
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 158, 49, 0.15);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.card-content h2:after {
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.card-content p {
    margin-bottom: 1.8rem;
    color: var(--medium-color);
    line-height: 1.7;
}

/* ---------- LATEST EVENTS ---------- */
.latest-events {
    max-width: var(--container-width);
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    border-bottom: none;
    padding-bottom: 1rem;
    position: relative;
}

.section-header h2 {
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

.view-all {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

.view-all:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2.5rem;
}

.event-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    border-radius: 8px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(92, 158, 49, 0.15);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.event-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(45, 90, 29, 0.1) 0%, rgba(45, 90, 29, 0.3) 100%);
}

.event-details {
    padding: 2rem;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-time {
    color: var(--medium-color);
    font-size: 0.95rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.event-time i {
    margin-right: 0.7rem;
    color: var(--primary-color);
}

/* ---------- INSTAGRAM FEED ---------- */
.instagram-feed {
    max-width: var(--container-width);
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 158, 49, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.instagram-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-overlay i {
    transform: scale(1);
}

/* ---------- SCROLL CONTAINER ---------- */
.scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 300px;
}

.scroll-images {
    display: flex;
    width: calc(200%);
    animation: scroll-left 60s linear infinite;
}

.scroll-images img {
    width: 12.5%;
    height: 300px;
    object-fit: cover;
    filter: brightness(1.05) saturate(1.2);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.carrousel-background {
    background-color: rgba(30, 60, 20, 0.7);
}

/* ---------- FOOTER ---------- */
footer {
    background-color: #ffffff;
    color: #333;
    padding: 4rem 2rem 2rem;
    position: relative;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
}



footer h3 {
    font-size: 1.2rem;
    color: #2d2d2d;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Section infos */
footer address {
    font-style: normal;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

footer address p {
    margin-bottom: 1rem;
}

/* Section horaires */
.footer-hours ul {
    list-style: none;
    padding: 0;
}

.footer-hours li {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours li span:first-child {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 140px;
}

.footer-hours li span:last-child {
    color: #666;
    text-align: right;
}

/* Section navigation */
.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.footer-nav a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

/* ... (Début du fichier non modifié) ... */

/* Section réseaux sociaux */
.social-icons a:nth-child(3) {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

/* Copyright */
.copyright {
    max-width: var(--container-width);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.copyright p {
    margin: 0.5rem 0;
}

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

.copyright a:hover {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        align-items: center;
    }

    .footer-hours,
    .footer-info,
    .footer-social{
        align-items: center;
    }
    
    .footer-hours li {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .footer-hours li span:last-child {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 1100px) {
    .left-links, .right-links {
        padding: 0;
    }

    .main-nav ul li a {
        padding: 0 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .featured-sections {
        flex-direction: column;
    }
    
    .section-card {
        flex: 0 0 calc(100% - 2rem);
        margin-bottom: 2rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav ul li a {
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .logo-container {
        position: relative;
        left: 0;
        transform: none;
        height: var(--header-height);
    }

    .logo {
        height: 45px;
        margin-top: 0;
    }

    header {
        justify-content: space-between;
    }

    .mobile-nav-toggle {
        display: block;
        color: var(--dark-color);
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--dark-color);
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        height: auto;
        max-height: calc(100vh - var(--header-height)); 
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    .left-links, .right-links {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .main-nav ul li {
        height: auto;
        width: 100%;
    }

    .main-nav ul li a {
        padding: 1rem 2rem;
        height: auto;
        color: var(--light-color);
    }

    .main-nav ul li a:after {
        display: none;
    }
    
    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        color: var(--yellow-primary);
    }

    main {
        margin-top: 0;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(1, 1fr);
    }
} 
