/* Responsive Design for Mobile Devices */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.4rem; }
    h3 { font-size: 2rem; }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .catering-content,
    .contact-content {
        gap: 3rem;
    }
    
    .reviews-stats {
        gap: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

/* Mobile Styles (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 20px var(--shadow);
        transition: top 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        top: 100%;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.5rem; }
    
    p {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        height: 100vh;
        padding: 0 20px;
        background-attachment: scroll; /* Override fixed attachment on mobile for performance */
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* About Section */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Gallery Section */
    .gallery {
        padding: 60px 0;
    }
    
    .gallery-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.8);
        opacity: 0.9;
    }
    
    /* Catering Section */
    .catering {
        padding: 60px 0;
    }
    
    .catering-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .catering-image {
        order: -1;
    }
    
    .catering-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .catering-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .package-grid {
        gap: 1rem;
    }
    
    /* Reviews Section */
    .reviews {
        padding: 60px 0;
    }
    
    .reviews-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        min-width: auto;
        width: 100%;
        max-width: 250px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info .section-title {
        font-size: 2.2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .info-card {
        padding: 1.5rem;
        text-align: left;
        gap: 1.2rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-map {
        min-height: 350px;
        border-radius: 20px;
    }
    
    .map-container {
        border-radius: 20px;
    }
    
    .map-overlay {
        padding: 1.5rem;
    }
    
    .map-overlay .map-title {
        font-size: 1.3rem;
    }
    
    .map-actions {
        bottom: 1.5rem;
        right: 1.5rem;
    }    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    /* Blog Reservation Section Mobile */
    .blog-reservation-section {
        padding: 60px 0;
    }
    
    .blog-reservation-section .reservation-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .blog-reservation-section .reservation-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .reservation-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .reservation-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Navigation */
    .nav-brand h1 {
        font-size: 1.6rem;
    }
    
    .nav-brand span {
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.3rem; }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* About Section */
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
    
    .experience-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    
    /* Gallery Section */
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .overlay-content {
        padding: 1rem;
    }
    
    /* Catering Section */
    .package-card {
        padding: 1rem;
    }
    
    .catering-badge {
        position: static;
        margin-top: 1rem;
        justify-content: center;
    }
    
    /* Reviews Section */
    .stat-number {
        font-size: 2.2rem;
    }
    
    .star-rating i {
        font-size: 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .review-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    /* Contact Section */
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-icon i {
        font-size: 1rem;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    /* Social Links */
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* Extra Small Mobile Styles (max-width: 360px) */
@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-buttons .btn,
    .catering-cta .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .reviews-stats {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Landscape Phone Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-bottom: 1.5rem;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .hero-image,
    .chef-image,
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This would be implemented if dark mode is desired */
    /* Currently maintaining light theme for restaurant branding */
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator i {
        animation: none;
    }
    
    .animate-fade-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-scroll,
    .back-to-top,
    .nav-toggle {
        display: none;
    }
    
    .hero {
        height: auto;
        page-break-after: always;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 10pt;
    }
    
    .contact-map {
        display: none;
    }
    
    .info-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}
