.hero {
    height: calc(100vh - 90px);
    position: relative;
    overflow: hidden;

    /* Centrage parfait */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Particules décoratives */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.2), transparent);
    animation: particles 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.hero::before {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero::after {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    animation-delay: 7s;
}

@keyframes particles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.2;
    }
}

/* Carousel */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-bg .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-bg .slide.active {
    opacity: 1;
}

/* Overlay */
.hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.8);
    z-index: 1;
}

/* Contenu */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
    position: relative;
}

.hero h1::before {
    content: "🍕";
    position: absolute;
    left: -60px;
    top: 0;
    font-size: 2.5rem;
    animation: rotate 3s ease-in-out infinite;
}

.hero h1::after {
    content: "🍽️";
    position: absolute;
    right: -60px;
    top: 0;
    font-size: 2.5rem;
    animation: rotate 3s ease-in-out infinite reverse;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(20deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 span {
    color: #f39c12;
    background: linear-gradient(45deg, #f39c12, #e67e22, #d35400);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
}

.hero p::before {
    content: "⭐";
    margin-right: 10px;
}

.hero p::after {
    content: "⭐";
    margin-left: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section avec animation */
.cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background: #f39c12;
    color: #1e1e1e;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "✨";
    position: absolute;
    left: -30px;
    transition: left 0.3s ease;
}

.btn-primary:hover::before {
    left: 10px;
}

.btn-primary:hover {
    background: #d98200;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #f39c12;
    border: 2px solid #f39c12;
}

.btn-secondary:hover {
    background: #f39c12;
    color: #1e1e1e;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        height: calc(100vh - 80px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1::before,
    .hero h1::after {
        font-size: 2rem;
        left: -50px;
        right: -50px;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: calc(100vh - 70px);
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 40px;
    }

    .hero h1::before {
        left: -5px;
        top: -35px;
        font-size: 1.5rem;
    }

    .hero h1::after {
        right: -5px;
        top: -35px;
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero::before {
        width: 150px;
        height: 150px;
    }

    .hero::after {
        width: 100px;
        height: 100px;
    }

    .cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .cta .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: calc(100vh - 65px);
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
        padding: 0 30px;
    }

    .hero h1::before,
    .hero h1::after {
        font-size: 1.2rem;
        top: -30px;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero::before,
    .hero::after {
        width: 80px;
        height: 80px;
    }

    .cta {
        padding: 0 15px;
    }

    .cta .btn {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}