/* Responsive Styles */

/* Large Tablets and Small Desktops */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .info-grid {
        gap: 20px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .order-options {
        gap: 20px;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .header-right {
        order: 2;
    }

    .logo {
        order: 1;
    }

    .language-toggle {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-background);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-item a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item.active::after {
        display: none;
    }
    
    .hero-section {
        margin-top: 90px;
        height: 70vh;
    }
    
    .slide-content {
        padding: 15px;
        max-width: 90%;
    }

    .slide-person img {
        object-position: left;
    }

    .slide-banner img {
        object-fit: contain;
        object-position: top;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .category-tabs-container {
        display: block;
    }
    
    .tab-btn {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    /* .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    } */
    
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .order-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: span 2;
    }
}

/* Mobile Phones */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-section {
        margin-top: 80px;
        height: 60vh;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .info-card i {
        font-size: 2rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .about-section,
    .menu-section,
    .order-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .quick-info {
        padding: 40px 0;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .menu-content {
        padding: 20px 15px;
    }
    
    .menu-item {
        padding: 12px 0;
    }
    
    .menu-item h4 {
        font-size: 1.1rem;
    }
    
    .menu-item p {
        font-size: 0.9rem;
    }
    
    .menu-item .price {
        font-size: 1rem;
    }
    
    .order-card {
        padding: 30px 20px;
    }
    
    .order-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .order-icon i {
        font-size: 1.5rem;
    }
    
    .order-card h3 {
        font-size: 1.3rem;
    }
    
    .order-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-item i {
        font-size: 1.3rem;
        width: 25px;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .parking-info {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-logo {
        grid-column: span 1;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.85rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* Very Small Screens */
@media screen and (max-width: 360px) {
    .slide-content h1 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .info-card {
        padding: 15px 10px;
    }
    
    .order-card {
        padding: 25px 15px;
    }
}

/* Landscape Orientation for Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 80vh;
    }
    
    .slide-content {
        padding: 10px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .main-nav,
    .slider-controls,
    .slider-indicators,
    .back-to-top,
    .footer-social {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        margin-top: 0;
    }
    
    .slide {
        position: relative;
        opacity: 1;
    }
    
    .slide-content {
        background-color: white;
        color: black;
        border: 1px solid #ddd;
    }
    
    .btn {
        border: 1px solid #333;
        color: #333;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-header h2 {
        font-size: 18pt;
    }
    
    .menu-item {
        page-break-inside: avoid;
    }
    
    .order-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .slide {
        transition: none;
    }
    
    .slider-controls button:hover,
    .info-card:hover,
    .order-card:hover,
    .social-links a:hover,
    .btn:hover,
    .nav-item a:hover {
        transform: none;
    }
}
