/* --- VARIABLES & RESET --- */
:root {
    --color-primary: #40E0D0; /* Cyan Turquoise */
    --color-secondary: #FFB6C1; /* Rose Pastel */
    --color-dark: #1a1a2e; /* Bleu nuit */
    --color-white: #FFFFFF;
    --color-text: #333333;
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
    --radius-card: 20px;
    --font-display: 'Anton', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(26, 26, 46, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 26, 46, 0.6);
}
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 26, 46, 0.3) transparent;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    min-height: 100vh;
    color: var(--color-text);

    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white {
    background: var(--color-white);
    color: var(--color-dark);
    box-shadow: var(--shadow-soft);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    color: var(--color-primary);
}

.btn-primary {
    background: var(--color-dark);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- HEADER (US FLAG STYLE) --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    /* padding-top: 10px; Espace pour la barre du haut */
}

/* Top Bar: Blue & White Stripes
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        45deg,
        #3C3B6E,
        #3C3B6E 20px,
        #FFFFFF 20px,
        #FFFFFF 40px
    );
}
*/

/* Red & White Stripes at the bottom
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        -45deg,
        #B22234,
        #B22234 20px,
        #FFFFFF 20px,
        #FFFFFF 40px
    );
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
*/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-dark);
    transform: skew(-5deg);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 700;
    color: var(--color-dark);
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

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

.nav-links a.nav-highlight {
    background: linear-gradient(45deg, #ff00cc, #333399); /* Purple/Pink Pop */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Fallback */
    font-weight: 900;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- HERO SECTION --- */
.hero {
    padding: 0; /* Removing padding to let it fill fully if needed, aligning content center */
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px); /* Full height minus header */
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
    height: 720px; /* Increased height to allow shadow to show without clipping */
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    opacity: 0;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.exit {
    opacity: 0;
    transform: translateX(-100%);
}

.slide img {
    max-height: 600px; /* Locked size */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(5deg); }
}

/* --- CATEGORIES --- */
.products-section {
    padding: 80px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    display: block;
    position: relative;
    height: 350px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cat-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
}

.cat-img-wrapper img {
    max-width: 80%;
    max-height: 70%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    transition: transform 0.3s;
}

.category-card:hover .cat-img-wrapper img {
    transform: scale(1.1) rotate(5deg);
}

.cat-label {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    background: var(--color-white);
    color: var(--color-dark);
    padding: 10px 30px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 2;
    transition: transform 0.3s;
}

.category-card:hover .cat-label {
    transform: translateX(-50%) rotate(0deg) scale(1.05);
}

/* --- CTA BANNER --- */
.cta-banner {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 80px;
}

.cta-box {
    background: var(--color-dark);
    border-radius: var(--radius-card);
    padding: 50px;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
    background: var(--color-white);
    color: var(--color-dark);
    padding: 60px 0 20px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

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

.footer-col h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .container {
        padding: 0 10px; /* Reduced side padding slightly */
    }

    .hero {
        align-items: flex-start; /* Move content to top */
        padding-top: 20px; /* Small push from header */
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0; /* Tighten layout */
        align-content: flex-start; /* Stack from top */
    }

    .hero-text {
        padding-top: 50px;
    }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-image { 
        order: -1; 
        margin-bottom: 20px; 
        height: 280px; 
    }
    .hero-image img { 
        max-height: 280px; 
    }
    
    .delivery-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .delivery-text { padding: 0; margin-bottom: 30px; }
    .delivery-img { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .trust-content { gap: 20px; font-size: 0.8rem; }
}
