/* Responsive Design */

/* Tablettes et petits écrans */
@media (max-width: 992px) {
    .nav-container {
        padding: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .slider-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 1rem;
    }

    .slider-btn.next {
        right: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation mobile */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 500px;
        margin-top: 70px;
    }

    .hero-logo .main-logo {
        max-width: 200px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .menu-preview {
        padding: 1.5rem;
        max-height: 70vh;
        overflow-y: auto;
    }

    .menu-preview h2 {
        font-size: 1.5rem;
    }

    .burger-item {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .slider-btn {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: 0.5rem;
    }

    .slider-btn.next {
        right: 0.5rem;
    }

    .slider-dots {
        bottom: 1rem;
    }

    /* Sections */
    .about,
    .horaires,
    .contact,
    .menu-section {
        padding: 3rem 0;
    }

    .about-text h2,
    .horaires h2,
    .contact h2,
    .section-header h2 {
        font-size: 2rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-grid img,
    .image-grid img:first-child {
        height: 200px;
    }

    /* Menu */
    .menu-header {
        padding: 3rem 0 1.5rem;
    }

    .menu-header h1 {
        font-size: 2rem;
    }

    .menu-header p {
        font-size: 1rem;
    }

    .category-tabs {
        padding: 1rem 0;
    }

    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .boissons-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .service-note {
        font-size: 0.95rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-section .btn-primary {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    /* Horaires */
    .horaires-box {
        padding: 1.5rem 2rem;
    }

    .time {
        font-size: 1.5rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .menu-preview {
        padding: 1rem;
        max-height: 65vh;
        overflow-y: auto;
    }

    .burger-item {
        font-size: 0.8rem;
        line-height: 1.3;
        padding: 0.4rem 0;
    }

    .price {
        float: none;
        display: block;
        margin-top: 0.3rem;
    }

    .service-info {
        font-size: 0.9rem;
    }

    .badges {
        flex-direction: column;
        align-items: center;
    }

    .about-text h2,
    .horaires h2,
    .contact h2,
    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .boissons-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .boisson-image {
        height: 150px;
    }

    .slider-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .horaires-box {
        padding: 1rem 1.5rem;
    }

    .horaires-box h3 {
        font-size: 1.2rem;
    }

    .time {
        font-size: 1.3rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .icon {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Landscape mode pour mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
    }

    .slide {
        padding: 1rem;
    }

    .menu-preview {
        max-height: 80vh;
        overflow-y: auto;
    }
}