:root {
    --primary: #2ca246;
    --secondary: #d4af37;
    --accent: #bcb122;
    --light: #f8f9fa;
    --dark: #212529; 
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #35453e 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}
/* Logo minimaliste et chic */
.logo-minimal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    position: relative;
}

.logo-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.3;
    animation: pulseDot 2s ease-in-out infinite;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.logo-accent {
    color: var(--secondary);
    font-weight: 700;
    margin-left: 2px;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.1;
    }
}

.logo-minimal:hover .logo-dot {
    animation: bounceDot 0.6s ease;
}

@keyframes bounceDot {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 15px;
    letter-spacing: 1px;
}

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

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

/* Dropdown Menu Styles - CLICK BASED */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 10px 0;
    display: block;
}

/* Show dropdown when active class is present */
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Rotate arrow when dropdown is active */
.dropdown-active i {
    transform: rotate(180deg) !important;
}

.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    color: var(--dark);
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background-color: var(--primary);
    color: white;
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/wallpaper.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
/* Logo élégant dans Hero */
.logo-elegant {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    animation: floatLogo 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.logo-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    opacity: 0.3;
    filter: blur(20px);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

.logo-image:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--secondary);
    box-shadow: 
        0 0 50px rgba(212, 175, 55, 0.4),
        0 0 80px rgba(44, 162, 70, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Animations pour le logo */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

/* Effets de particules élégantes */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 3px;
    height: 3px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 25s;
}

.particle:nth-child(3) {
    width: 5px;
    height: 5px;
    top: 40%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    width: 2px;
    height: 2px;
    top: 80%;
    left: 40%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 70%;
    animation-delay: 8s;
    animation-duration: 19s;
}

.particle:nth-child(6) {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 30%;
    animation-delay: 10s;
    animation-duration: 21s;
}

.particle:nth-child(7) {
    width: 5px;
    height: 5px;
    top: 50%;
    left: 90%;
    animation-delay: 12s;
    animation-duration: 17s;
}

.particle:nth-child(8) {
    width: 2px;
    height: 2px;
    top: 10%;
    left: 60%;
    animation-delay: 14s;
    animation-duration: 23s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Ajustement pour le hero avec le nouveau logo */
.hero {
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    .logo-image {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    
    .logo-glow {
        width: 120px;
        height: 120px;
    }
    
    .team-logo {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .logo-image {
        width: 80px;
        height: 80px;
        padding: 10px;
    }
    
    .logo-glow {
        width: 100px;
        height: 100px;
    }
    
    .team-logo {
        font-size: 2.8rem;
    }
}
.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.team-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.team-logo span {
    display: inline-block;
    margin: 0 10px;
    color: var(--secondary);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.team-logo span:hover {
    transform: translateY(-10px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(188, 177, 34, 0.4);
}

.cta-button:hover {
    background-color: #a8951e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 177, 34, 0.6);
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center; /* centers every row, including the last incomplete one */
  align-items: stretch;
  /* optional: limit width so grid doesn't hug full page edges */
  padding: 0 16px;
  box-sizing: border-box;
}

/* ensure each card has a stable width so rows wrap predictably */
.partner-card {
  flex: 0 0 200px; /* fixed width; change 200px to desired min width */
  max-width: 100%;
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  box-sizing: border-box;
}

/* responsive: use smaller card width on small screens */
@media (max-width: 600px) {
  .partner-card { flex: 0 0 140px; }
}
.partnerslogos{
  width: 110px;
  margin-top: 35%;
  height: 60px;
}
.delizia{
    width: 130px;
  margin-top: 35%;
  height: 90px;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.partner-name {
    font-weight: 600;
    color: var(--dark);
}

/* News Section */
.news {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 263px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.news-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Contact Section - Version horizontale */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(221px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 162, 70, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.2;
    z-index: -1;
    animation: pulseIcon 2s ease-in-out infinite;
}

.contact-card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .contact-horizontal {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-about p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #adb5bd;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}
/* Active Link Styles */
nav ul li a.active {
    color: var(--secondary) !important;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    width: 100% !important;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transform: scaleX(1);
    transition: none;
}

/* Pour s'assurer que le soulignement reste visible */
nav ul li a.active:hover:after {
    width: 100% !important;
    background-color: var(--secondary);
}
.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-newsletter p {
    color: #adb5bd;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter img {
    max-width: 150px;
    height: auto;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #a8951e;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .team-logo {
        font-size: 4rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary);
        transition: var(--transition);
        padding: 30px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    nav ul li a {
        padding: 12px 0;
        width: 100%;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        display: none;
        margin-top: 10px;
        border-radius: 5px;
        padding: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.active {
        display: block;
        max-height: 500px;
    }
    
    .dropdown-menu li a {
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        padding-left: 25px;
    }
    
    .team-logo {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
.no-news-container {
    display: flex;
    flex-direction: column; /* empile icône et texte */
    align-items: center;    /* centre horizontalement */
    justify-content: center; /* centre verticalement si nécessaire */
    min-height: 200px;      /* espace minimum */
    text-align: center;
    color: #333;
}

.no-news-container i {
    margin-bottom: 15px; /* espace entre icône et texte */
    color: #d4af37;      /* couleur de l’icône (orange) */
}

@media (max-width: 576px) {
    .team-logo {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}
      /* Pagination */
        .products-pagination {
            padding: 60px 0 40px;
            text-align: center;
        }

        .pagination {
            display: inline-flex;
            gap: 8px;
            list-style: none;
        }

        .page-item {
            margin: 0;
        }

        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: white;
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            border: 2px solid transparent;
        }

        .page-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
            border-color: var(--primary);
        }

        .page-link.active {
            background: var(--secondary);
            color: white;
            border-color: var(--secondary);
        }

          @media (max-width: 400px) {
              .page-link {
            width: 30px;
            height: 30px;
            font-weight: 400;
        }
          }