/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --yellow-bg: #ffd50000;
    --orange-bg: #ffaa0000;
    --red-bg: #D32F2F;
    --logo-green: #4CAF50;
    --logo-green-border: #4CAF50;
    --logo-shadow: rgba(0,0,0,0.3);
    --red-line: #D32F2F;
    --product-blue: #0d6d00;
    --product-red: #D32F2F;
    --btn-bg: #EAEAEA;
    --footer-bg: #333;
    --footer-text: #fff;
    --product-green: #00a859;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(to bottom, var(--yellow-bg) 0%, var(--orange-bg) 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


body {
    background: linear-gradient(270deg, #FFD400, #ffaa0048, #D32F2F);
    background-size: 600% 600%;
    animation: juiceFlow 15s ease infinite;
}

@keyframes juiceFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* En-tête */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 35px;
}

.navigation ul {
    list-style: none;
    display: flex;
}

.navigation ul li {
    margin-left: 20px;
}

.navigation ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: #267e44;
}

/* Styles pour le menu déroulant */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}

/* Contenu principal */
.main-content {
    width: 100%;
    margin: auto;
}

/* Main Content Section */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, var(--yellow-bg) 0%, var(--orange-bg) 100%);
}

.background-section {
    background: var(--red-bg);
    width: 100%;
    height: 200px;
    position: relative;
    z-index: 1;
}

.logo-fruitalos-container {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-container {
    background-color: var(--logo-green);
    border: 3px solid #fff;
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px var(--logo-shadow);
    display: inline-block;
}

.logo {
    width: 200px;
    height: auto;
}

.description-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 100px;
    z-index: 10;
}

/* Product Carousel */
.product-carousel-container {
    width: 1620px;
    margin: 100px auto;
    overflow: hidden;
    margin-bottom: 400px;
}

.product-carousel {
    display: flex;
    transition: transform 1s ease-in-out;
    gap: 20px; /* Ajout d'un dÃ©calage entre les cadres */
}

.product-card {
    flex-shrink: 0;
    min-height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    width: 800px; /* Largeur de 800px pour chaque carte */
}

/* Inversion des Ã©lÃ©ments */
.product-card.reverse {
    flex-direction: row-reverse;
}

.product-card.green {
    background-color: var(--product-green);
}
.product-card.blue {
    background-color: var(--product-blue);
}
.product-card.red {
    background-color: var(--product-red);
}

.product-image-container {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: -30px;
}

.product-image-large {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(0deg);
    position: relative;
    top: -20px;
    left: -20px;
    margin-top: 40px;
}

.product-info-container {
    flex: 1;
    color: #fff;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    margin-right: 50px;
}

.product-title {
    font-size: 20px;
    font-weight: 400;
}

.product-subtitle {
    font-size: 30px;
    font-weight: 700;
    margin: 5px 0;
}

.product-name {
    font-size: 50px;
    font-weight: 900;
    font-weight: bold;
    font-style: normal;
    margin-bottom: 10px;
}

.view-more-btn {
    background-color: var(--btn-bg);
    color: #333;
    padding: 8px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-align: left;
    transition: background-color 0.3s;
    margin-top: 50px;
}

.view-more-btn:hover {
    background-color: #dcdcdc;
}



/* Footer (inchangÃ©) */
/* ... */



/* ======================================= */
/* FOOTERS */
/* ======================================= */

/* Styles pour le footer de la page d'accueil */
.main-footer:not(.green-background) {
    position: relative;
    background-color: #424242;
    color: #fff;
    padding: 40px 50px;
    z-index: 5;
    margin-top: 100px;
    overflow: hidden;
}

.main-footer .footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.main-footer .footer-col {
    flex: 1;
    min-width: 180px;
    margin-bottom: 20px;
}

.main-footer .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.main-footer .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

.main-footer .footer-col ul {
    list-style: none;
}

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

.main-footer .footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-footer .footer-col ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .footer-col.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.main-footer .footer-col.footer-logo p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .social-icons {
    margin-top: 20px;
}

.main-footer .social-icons a {
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.main-footer .social-icons a:hover {
    transform: translateY(-3px);
}

/* Styles pour le footer des autres pages (vert) */
.main-footer.green-background {
    position: relative;
    background-color: #2b2b2b;
    color: #fff;
    padding: 100px 50px 30px;
    z-index: 5;
    transform: none;
    margin-top: -100px;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('etoiles.png'); /* Assurez-vous que cette image existe */
    background-size: cover;
    opacity: 0.1;
}

.footer-content-new {
    max-width: 900px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer-col-new {
    flex: 1;
    text-align: left;
    margin: 0 20px;
}

.footer-col-new h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    font-weight: bold;
}

.footer-col-new h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: #fff;
}

.footer-col-new ul {
    list-style: none;
    
}

.footer-col-new ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.footer-col-new ul li i {
    font-size: 1rem;
    
}

.footer-col-new ul li span {
    font-size: 0.95rem;
}

.footer-col-new ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    
}

.footer-col-new ul li a:hover {
    color: #ddd;
}

.social-icons-col {
    text-align: left;
}

.social-icons-new {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-top: 20px;
   
}

.social-icons-new a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    
}

.social-icons-new a:hover {
    transform: translateY(-3px);
     text-align: left;
}

.footer-bottom-new {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-logo-new img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-bottom-new p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}



/* ======================================= */
/* NOUVELLES RÃˆGLES POUR LE BLOC DE LOCALISATION */
/* ======================================= */
.location-section {
    position: relative;
    width: 100%;
    background-color: #f4f4f4;
    z-index: 3;
    overflow: hidden;
    /* La marge nÃ©gative remonte la section sur la prÃ©cÃ©dente */
    margin-top: -250px;
    margin-bottom: 100px; 
}

/* Le conteneur de la carte est redressÃ© Ã  l'intÃ©rieur de la section */
.location-section .map-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    padding-top: 0px;
    padding-bottom: -50;
    /* La transformation pour un effet "tapis" */
    transform: skewY(-0deg);
}

.location-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}



/* Style du menu déroulant */
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;      /* fond blanc */
    border: 1px solid #ddd;
    min-width: 100px;      /* largeur minimale propre */
}

/* Chaque item du dropdown */
.dropdown-menu li {
    border-bottom: 1px solid #ddd; /* ligne qui traverse tout le cadre */
     margin-right: 15px;
}

/* Supprimer la ligne après le dernier */
.dropdown-menu li:last-child {
    border-bottom: none;
}

/* Les liens prennent toute la largeur */
.dropdown-menu li a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #333;
   
}



/* Bulles de jus */
.bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0.8;
    animation: rise 5s infinite ease-in; /* durée par défaut plus rapide */
}

/* Ajoutez ce CSS à votre fichier frstyle.css */

#background-video {
    /* Positionnement fixe pour couvrir tout le viewport */
    position: fixed;
    top: 0;
    left: 0;
    /* Assurez-vous qu'elle est derrière tout le contenu */
    z-index: -1; 
    
    /* Le 'min-width' et 'min-height' assurent que la vidéo couvre
       toujours l'écran, même si elle doit être recadrée. */
    min-width: 100%; 
    min-height: 100%; 

    /* 'object-fit: cover' s'assure que la vidéo remplit l'espace
       sans déformation, recadrant les bords si nécessaire. */
    object-fit: cover; 
    
    /* Garder l'opacité légère si nécessaire, mais ce n'est pas toujours requis */
    /* opacity: 0.8; */ 
}

/* Vous pourriez aussi vouloir vous assurer que le contenu principal 
   est positionné par-dessus si nécessaire, 
   mais 'z-index: -1' devrait suffire. */
.header, .main-content, .footer {
    position: relative;
    z-index: 1; /* Assure que le contenu est au-dessus de la vidéo */
}

/* Tailles et vitesses variées */
.bubble:nth-child(1)  { left: 5%;  width: 20px; height: 20px; animation-duration: 4s; }
.bubble:nth-child(2)  { left: 10%; width: 25px; height: 25px; animation-duration: 5s; }
.bubble:nth-child(3)  { left: 15%; width: 18px; height: 18px; animation-duration: 3.5s; }
.bubble:nth-child(4)  { left: 20%; width: 22px; height: 22px; animation-duration: 4.5s; }
.bubble:nth-child(5)  { left: 25%; width: 15px; height: 15px; animation-duration: 3s; }
.bubble:nth-child(6)  { left: 30%; width: 28px; height: 28px; animation-duration: 5s; }
.bubble:nth-child(7)  { left: 35%; width: 20px; height: 20px; animation-duration: 4s; }
.bubble:nth-child(8)  { left: 40%; width: 18px; height: 18px; animation-duration: 3.2s; }
.bubble:nth-child(9)  { left: 45%; width: 22px; height: 22px; animation-duration: 4.8s; }
.bubble:nth-child(10) { left: 50%; width: 25px; height: 25px; animation-duration: 5s; }
.bubble:nth-child(11) { left: 55%; width: 19px; height: 19px; animation-duration: 3.6s; }
.bubble:nth-child(12) { left: 60%; width: 24px; height: 24px; animation-duration: 4.7s; }
.bubble:nth-child(13) { left: 65%; width: 21px; height: 21px; animation-duration: 4.1s; }
.bubble:nth-child(14) { left: 70%; width: 17px; height: 17px; animation-duration: 3.3s; }
.bubble:nth-child(15) { left: 75%; width: 26px; height: 26px; animation-duration: 5.2s; }
.bubble:nth-child(16) { left: 80%; width: 23px; height: 23px; animation-duration: 4.5s; }
.bubble:nth-child(17) { left: 85%; width: 18px; height: 18px; animation-duration: 3.8s; }
.bubble:nth-child(18) { left: 90%; width: 20px; height: 20px; animation-duration: 4.2s; }
.bubble:nth-child(19) { left: 95%; width: 22px; height: 22px; animation-duration: 4.9s; }
.bubble:nth-child(20) { left: 98%; width: 16px; height: 16px; animation-duration: 3.1s; }

/* Animation de montée */
@keyframes rise {
    0%   { transform: translateY(0) scale(1); opacity: 0.9; }
    50%  { opacity: 0.6; }
    100% { transform: translateY(-1000px) scale(0.7); opacity: 0; }
}


