/* ========================================
   MENU PAGE - Style Crousty One
   ======================================== */

:root {
    --primary-rose: #EC4899;
    --dark-rose: #DB2777;
    --light-rose: #F9A8D4;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, #EC4899 0%, #D81B60 15%, #C2185B 30%, #9C1548 50%, #6B1030 70%, #3D0D1F 85%, #1a1a1a 100%);
    min-height: 100vh;
}

/* ========================================
   FLOATING STICKERS - MENU PAGE
   ======================================== */

.floating-sticker {
    position: absolute;
    animation: floatRotate 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0px) rotate(-8deg);
    }
    50% {
        transform: translateY(-40px) rotate(8deg);
    }
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.05);
    }
}

.sticker-flamme-menu {
    width: 130px;
    top: 200px;
    right: 100px;
    animation: floatBounce 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.sticker-sauce-menu {
    width: 110px;
    bottom: 150px;
    left: 90px;
    animation: floatRotate 7s ease-in-out infinite;
    animation-delay: 1s;
}

.sticker-poulet-menu-top {
    width: 180px;
    top: 120px;
    left: 120px;
    animation: floatRotate 8s ease-in-out infinite;
    animation-delay: 0.2s;
}

.floating-sticker:hover {
    animation-play-state: paused;
    transform: scale(1.3) rotate(15deg) !important;
    filter: drop-shadow(0 20px 50px rgba(236, 72, 153, 0.7));
    cursor: pointer;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    padding: 0;
    transition: transform 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 160px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-commander-header {
    transform: skewX(-10deg);
    background: var(--white);
    color: var(--primary-rose);
    padding: 14px 45px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-commander-header:hover {
    background: var(--black);
    color: var(--white);
    transform: skewX(-10deg) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 14px 20px;
    background: var(--white);
    transform: skewX(-15deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--black);
    transform: skewX(-15deg) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-rose);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: var(--white);
}

/* ========================================
   MENU SIDEBAR
   ======================================== */

.menu-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.menu-sidebar.active {
    pointer-events: all;
}

.menu-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.menu-sidebar.active .menu-sidebar-overlay {
    background: rgba(0, 0, 0, 0.7);
    pointer-events: all;
}

.menu-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 85%;
    height: 100%;
    background: linear-gradient(135deg, #DB2777 0%, #EC4899 100%);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
}

.menu-sidebar.active .menu-sidebar-content {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    font-size: 50px;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.menu-close:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 120px;
}

.sidebar-link {
    font-family: 'Anton', sans-serif;
    font-size: 56px;
    color: var(--white);
    text-decoration: none;
    padding: 20px 0;
    transition: all 0.3s ease;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1;
}

.sidebar-link:hover {
    padding-left: 20px;
    color: var(--black);
    text-shadow: 6px 6px 16px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

/* ========================================
   MENU HEADER
   ======================================== */

.menu-header {
    padding: 180px 40px 60px;
    text-align: center;
    position: relative;
}

.menu-title-main {
    font-family: 'Anton', sans-serif;
    font-size: clamp(80px, 12vw, 160px);
    color: var(--white);
    margin-bottom: 0;
    letter-spacing: -3px;
    text-shadow: 6px 6px 20px rgba(0, 0, 0, 0.4);
    line-height: 0.95;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-description-main {
    font-size: 22px;
    color: var(--white);
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    margin-top: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   MENU TABS
   ======================================== */

.menu-tabs-section {
    padding: 50px 0 60px;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 0 40px;
}

.tab-btn {
    transform: skewX(-12deg);
    background: var(--white);
    color: var(--primary-rose);
    padding: 20px 65px;
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease-out backwards;
    z-index: 1;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5) skewX(-12deg);
    }
    to {
        opacity: 1;
        transform: scale(1) skewX(-12deg);
    }
}

.tab-btn:nth-child(1) {
    animation-delay: 0.2s;
}

.tab-btn:nth-child(2) {
    animation-delay: 0.3s;
}

.tab-btn:nth-child(3) {
    animation-delay: 0.4s;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--dark-rose) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.tab-btn:hover::before {
    width: 400%;
    height: 400%;
}

.tab-btn:hover {
    color: var(--white) !important;
    transform: skewX(-12deg) translateY(-6px) scale(1.05);
    box-shadow: 0 15px 45px rgba(236, 72, 153, 0.5);
}

.tab-btn.active {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
}

/* ========================================
   MENU ITEMS
   ======================================== */

.menu-items-section {
    padding: 80px 40px 220px;
    background: transparent;
    margin-bottom: 0;
}

.menu-items-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.product-card {
    flex: 0 1 400px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.15), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::after {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(236, 72, 153, 0.4);
    border: 2px solid var(--light-rose);
}

.product-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: brightness(1.25);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.product-info {
    padding: 30px;
}

.product-name {
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    color: var(--primary-rose);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.product-description {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-price {
    font-family: 'Anton', sans-serif;
    font-size: 36px;
    color: var(--primary-rose);
}

/* Product Sizes - Stylé */
.product-sizes {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.size-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.15) 100%);
    border: 2px solid var(--primary-rose);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.size-option:hover {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--dark-rose) 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

.size-label {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    color: var(--primary-rose);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.size-option:hover .size-label {
    color: var(--white);
}

.size-price {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-rose);
    transition: color 0.3s ease;
}

.size-option:hover .size-price {
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */

/* ========================================
   FOOTER AVEC VAGUES ANIMÉES
   ======================================== */

.footer {
    position: relative;
    background: linear-gradient(180deg, #EC4899 0%, #EC4899 25%, #EA479A 45%, #E8469B 65%, #E6459C 85%, #E4449D 100%);
    color: var(--white);
    padding: 0;
    margin-top: 0;
}

/* Animation des vagues */
.wave-container {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.waves {
    position: relative;
    width: 100%;
    height: 150px;
}

.wave-parallax use {
    animation: wave-animation 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-parallax use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.wave-parallax use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.wave-parallax use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.wave-parallax use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes wave-animation {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Contenu principal du footer */
.footer-main {
    position: relative;
    z-index: 2;
    padding: 100px 0 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo-col {
    justify-content: center;
    align-items: flex-start;
}

.footer-logo {
    max-height: 180px;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(236, 72, 153, 0.3));
}

.footer-title {
    font-family: 'Anton', sans-serif;
    font-size: 38px;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links li a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--light-rose);
    transform: translateX(5px);
}

/* Réseaux sociaux */
.footer-social {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--dark-rose);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(219, 39, 119, 0.5);
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

.social-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-icon:hover .social-icon-img {
    transform: scale(1.1);
}

/* ========================================
   PRICE NOTE
   ======================================== */

.price-note {
    text-align: center;
    padding: 30px 20px 0;
    margin-top: 40px;
}

.price-note p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
}

/* ========================================
   RESPONSIVE - Mobile First comme Crousty One
   ======================================== */

/* Tablet landscape - 1024px */
@media (max-width: 1024px) {
    .menu-title-main {
        font-size: 120px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 35px;
    }
}

/* Hide stickers on medium screens */
@media (max-width: 968px) {
    .floating-sticker {
        display: none;
    }
}

/* Tablet portrait - 768px */
@media (max-width: 768px) {
    /* Navigation mobile */
    .nav-container {
        padding: 8px 20px;
    }

    .logo-img {
        height: 90px;
    }

    .btn-commander-header {
        padding: 10px 25px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .hamburger {
        padding: 10px 16px;
        gap: 5px;
    }

    .hamburger span {
        width: 26px;
        height: 2.5px;
    }

    /* Menu sidebar mobile */
    .sidebar-link {
        font-size: 42px;
        padding: 15px 0;
    }

    .menu-sidebar-content {
        padding: 30px 25px;
    }

    .sidebar-nav {
        margin-top: 100px;
    }

    /* Menu header mobile */
    .menu-header {
        padding: 150px 20px 50px;
    }

    .menu-title-main {
        font-size: 68px;
        letter-spacing: -2px;
        margin-bottom: 20px;
    }

    .menu-description-main {
        font-size: 17px;
        display: block;
        color: var(--white);
        line-height: 1.6;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    }

    /* Menu tabs mobile */
    .menu-tabs-section {
        padding: 50px 0 60px;
    }

    .menu-tabs {
        padding: 0 20px;
        gap: 15px;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 16px 30px;
        font-size: 20px;
        letter-spacing: 1px;
        width: auto;
        flex: 0 1 auto;
    }

    /* Menu items mobile */
    .menu-items-section {
        padding: 50px 0 220px;
    }

    .menu-items-container {
        padding: 0 20px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-image {
        height: 280px;
    }

    .product-info {
        padding: 28px;
    }

    .product-name {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .product-description {
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .product-price {
        font-size: 34px;
    }

    .product-sizes {
        gap: 12px;
        margin-top: 22px;
    }

    .size-option {
        padding: 16px 12px;
    }

    .size-label {
        font-size: 20px;
    }

    .size-price {
        font-size: 24px;
    }

    /* Footer mobile */
    /* Section avant footer */
    .menu-items-section {
        padding-bottom: 140px !important;
    }

    .wave-container {
        top: -120px;
        height: 150px;
    }

    .waves {
        height: 150px;
    }

    .wave-parallax use:nth-child(1) {
        fill: rgba(216, 27, 96, 0.6) !important;
    }

    .wave-parallax use:nth-child(2) {
        fill: rgba(219, 39, 119, 0.75) !important;
    }

    .wave-parallax use:nth-child(3) {
        fill: rgba(236, 72, 153, 0.85) !important;
    }

    .wave-parallax use:nth-child(4) {
        fill: #EC4899 !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-main {
        padding: 80px 20px 40px;
    }

    .footer-logo {
        max-height: 130px;
    }

    .footer-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links li a {
        font-size: 16px;
    }

    .footer-social {
        gap: 18px;
    }

    .social-icon {
        width: 52px;
        height: 52px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }

    .social-icon-img {
        width: 32px;
        height: 32px;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    /* Navigation très petit mobile */
    .nav-container {
        padding: 8px 15px;
    }

    .logo-img {
        height: 70px;
    }

    .btn-commander-header {
        padding: 8px 20px;
        font-size: 12px;
    }

    .hamburger {
        padding: 8px 14px;
        gap: 4px;
    }

    .hamburger span {
        width: 24px;
        height: 2px;
    }

    /* Menu sidebar très petit */
    .sidebar-link {
        font-size: 36px;
        padding: 12px 0;
    }

    .menu-close {
        width: 45px;
        height: 45px;
        font-size: 45px;
        top: 25px;
        right: 25px;
    }

    /* Menu header très petit */
    .menu-header {
        padding: 130px 15px 40px;
    }

    .menu-title-main {
        font-size: 52px;
        margin-bottom: 18px;
    }

    .menu-description-main {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Menu tabs très petit */
    .menu-tabs-section {
        padding: 40px 0 50px;
    }

    .menu-tabs {
        padding: 0 15px;
        gap: 10px;
    }

    .tab-btn {
        padding: 14px 25px;
        font-size: 18px;
    }

    /* Menu items très petit */
    .menu-items-section {
        padding: 45px 0 200px;
    }

    .menu-items-container {
        padding: 0 15px;
    }

    .menu-grid {
        gap: 28px;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 24px 22px;
    }

    .product-name {
        font-size: 27px;
        margin-bottom: 12px;
    }

    .product-description {
        font-size: 15px;
        margin-bottom: 18px;
        line-height: 1.55;
    }

    .product-price {
        font-size: 32px;
    }

    .product-sizes {
        gap: 10px;
        margin-top: 20px;
    }

    .size-option {
        padding: 14px 10px;
    }

    .size-label {
        font-size: 18px;
    }

    .size-price {
        font-size: 22px;
    }

    /* Footer très petit */
    .menu-items-section {
        padding-bottom: 120px !important;
    }

    .wave-container {
        top: -100px;
        height: 130px;
    }

    .waves {
        height: 130px;
    }

    .wave-parallax use:nth-child(1) {
        fill: rgba(216, 27, 96, 0.6) !important;
    }

    .wave-parallax use:nth-child(2) {
        fill: rgba(219, 39, 119, 0.75) !important;
    }

    .wave-parallax use:nth-child(3) {
        fill: rgba(236, 72, 153, 0.85) !important;
    }

    .wave-parallax use:nth-child(4) {
        fill: #EC4899 !important;
    }

    .footer-main {
        padding: 60px 15px 35px;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-logo {
        max-height: 110px;
    }

    .footer-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links li a {
        font-size: 15px;
    }

    .social-icon {
        width: 48px;
        height: 48px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }

    .social-icon-img {
        width: 32px;
        height: 32px;
    }
}

/* Très petit mobile - 360px */
@media (max-width: 360px) {
    .menu-title-main {
        font-size: 44px;
    }

    .tab-btn {
        padding: 12px 24px;
        font-size: 17px;
    }

    .sidebar-link {
        font-size: 32px;
    }

    .product-name {
        font-size: 24px;
    }
}
