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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section with Carousel */
.hero {
    position: relative;
    min-height: 200px; /* Hauteur très réduite pour carousel compact */
    max-height: 280px; /* Hauteur maximale compacte */
    overflow: hidden;
    background: #f0f0f0;
}

.carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none; /* Désactiver les clics sur les slides non actifs */
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto; /* Activer les clics seulement sur le slide actif */
}

.carousel-slide img {
    width: 100vw; /* Largeur pleine largeur de l'écran */
    height: 100%;
    object-fit: cover; /* Couvre tout l'espace sans laisser de vide */
    object-position: center; /* Centre l'image */
    background: #f0f0f0; /* Fond de secours */
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.slide-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slide-link {
    display: inline-block;
    background: #d4a574;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slide-link:hover {
    background: transparent;
    border-color: #d4a574;
    transform: translateY(-2px);
}

/* Responsive pour le carousel */
@media (max-width: 768px) {
    .hero {
        min-height: 150px; /* Hauteur très réduite pour mobile */
        max-height: 200px;
    }
    
    .carousel-slide img {
        width: 100vw; /* Pleine largeur sur mobile */
    }
    
    .slide-content {
        padding: 20px 15px 15px; /* Padding réduit pour mobile */
    }
    
    .slide-content h2 {
        font-size: 20px; /* Titre plus petit sur mobile */
    }
    
    .slide-content p {
        font-size: 14px; /* Texte plus petit sur mobile */
        margin-bottom: 10px;
    }
    
    .slide-link {
        padding: 8px 16px; /* Bouton plus petit sur mobile */
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 120px; /* Hauteur minimale pour petits écrans */
        max-height: 160px;
    }
    
    .carousel-slide img {
        width: 100vw; /* Pleine largeur même sur petits écrans */
    }
    
    .slide-content {
        padding: 15px 10px 10px;
    }
    
    .slide-content h2 {
        font-size: 18px;
    }
    
    .slide-content p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .slide-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Hero Text Only */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 5;
}

.hero-text p {
    margin-bottom: 10px;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-text .highlight {
    font-size: 18px;
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* WhatsApp Button */
.whatsapp-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
}

.whatsapp-btn {
    background: #25D366;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-btn i {
    font-size: 24px;
    color: white;
}

/* Share Button */
.share-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
}

.share-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #d4a574;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.share-btn:hover {
    background: #d4a574;
    color: white;
    transform: scale(1.1);
}

.share-btn i {
    font-size: 20px;
    color: #d4a574;
}

.share-btn:hover i {
    color: white;
}

/* Overlapping Logo */
.overlapping-logo {
    position: absolute;
    top: 90px; /* Position at the boundary between hero and body */
    left: 20px;
    z-index: 15;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid #d4a574;
    overflow: hidden;
    padding: 0;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.logo-text {
    text-align: center;
    color: #333;
}

.logo-title {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.chef-hat {
    font-size: 24px;
    color: #d4a574;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 20px 0px; /* No bottom padding */
    text-align: center;
    position: relative;
    z-index: 10;
}

.main-title {
    font-size: 28px;
    font-weight: bold;
    color: #003681;
    margin-bottom: 30px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto 0px; /* No bottom margin */
}

.link-item {
    text-decoration: none;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.link-icon {
    font-size: 28px;
    min-width: 40px;
    text-align: center;
}

.link-content h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Individual Link Colors */
.link-item.facebook {
    background: linear-gradient(135deg, #b0a102 0%, #007a47 100%);
    color: #333;
}

.link-item.facebook:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
}

.link-item.facebook .link-icon {
    color: #1877f2;
}

.link-item.tiktok {
    background: linear-gradient(135deg, #b0a102 0%, #007a47 100%);
    color: #333;
}

.link-item.tiktok:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
}

.link-item.tiktok .link-icon {
    color: #000000;
    background: linear-gradient(135deg, #ff0050 50%, #00f2ea 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-item.instagram {
    background: linear-gradient(135deg, #b0a102 0%, #007a47 100%);
    color: #333;
}

.link-item.instagram:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
}

.link-item.instagram .link-icon {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-item.phone {
    background: linear-gradient(135deg, #b0a102 0%, #007a47 100%);
    color: #333;
}

.link-item.phone:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
}

.link-item.phone .link-icon {
    color: #25d366;
}

.link-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Separator */
.separator {
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4a574, transparent);
    margin: 5px auto;
}

/* Footer */
.footer {
    text-align: center;
    padding: 5px;
    color: #666;
    font-size: 12px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Carousel Animation */
@keyframes carousel {
    0%, 33.33% { opacity: 1; }
    33.34%, 100% { opacity: 0; }
}

.carousel-slide:nth-child(1) {
    animation: carousel 9s infinite;
}

.carousel-slide:nth-child(2) {
    animation: carousel 9s infinite 3s;
}

.carousel-slide:nth-child(3) {
    animation: carousel 9s infinite 6s;
}

/* Responsive Design */
@media (max-width: 480px) {
    .hero {
        height: 150px;
    }
    
    .overlapping-logo {
        top: 90px;
        left: 15px;
    }
    
    .whatsapp-button {
        display: flex !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        z-index: auto !important;
    }
    
    .share-button {
        display: flex !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        z-index: auto !important;
    }
    
    .footer-content {
        flex-direction: row;
        align-items: center;
    }
    
    .footer-left,
    .footer-right {
        flex: 0 0 auto;
    }
    
    .footer-center {
        flex: 1;
    }
    
    .whatsapp-btn, .share-btn {
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
    
    .share-btn i {
        font-size: 18px;
    }
    
    .slide-content {
        padding: 20px 15px 15px;
    }
    
    .slide-content h2 {
        font-size: 18px;
    }
    
    .slide-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .slide-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .logo-title {
        font-size: 12px;
    }
    
    .chef-hat {
        font-size: 20px;
    }
    
    .main-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .main-content {
        padding: 60px 15px 0px; /* No bottom padding for mobile */
    }
    
    .links-container {
        margin: 0 auto 0px; /* No bottom margin for mobile */
    }
    
    .footer {
        padding: 20px;
    }
    
    .link-item {
        padding: 15px;
        gap: 12px;
    }
    
    .link-icon {
        font-size: 24px;
        min-width: 35px;
    }
    
    .link-content h3 {
        font-size: 14px;
    }
    
    .link-content p {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        margin: 0 auto;
    }
    
    .links-container {
        max-width: 500px;
    }
}
