/* Responsive Design - Mobile First Approach */

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .container {
        max-width: 800px;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding-top: 80px;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem 0;
        border-bottom: 1px solid #E5E7EB;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: var(--secondary-beige);
        color: var(--primary-green);
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Menu Section */
    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-tab {
        width: 200px;
    }
    
    /* Reservations Section */
    .reservation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Header */
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        padding: 0.5rem;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(212, 165, 116, 0.4), rgba(0, 0, 0, 0.5)),
                    url('../assets/hero-bg.jpg') center/cover no-repeat !important;
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        min-height: 100vh;
        height: auto;
        padding: 1rem 0;    
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Quick Info */
    .quick-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-item {
        text-align: center;
        flex-direction: column;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .reservation-form,
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section .social-links {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
    
    /* Hero */
    .hero {
        height: 70vh;
        margin-top: 65px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Menu Tabs */
    .menu-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 180px;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-buttons .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .nav-list {
        padding: 1rem;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        background: linear-gradient(rgba(212, 165, 116, 0.4), rgba(0, 0, 0, 0.5)),
                    url('../assets/hero-bg.jpg') center/cover no-repeat !important;
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    .nav-list {
        gap: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                          url('../assets/hero-bg@2x.jpg');
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .hero-buttons,
    .social-links,
    .footer {
        display: none;
    }
    
    .hero {
        height: auto;
        background: none;
        color: var(--text-dark);
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--text-dark);
        text-shadow: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .section-header,
    .about,
    .menu,
    .reservations,
    .gallery,
    .contact {
        page-break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

/* Dark Mode Support */
/* @media (prefers-color-scheme: dark) {
    :root {
        --white: #1F2937;
        --ivory: #374151;
        --text-dark: #F9FAFB;
        --text-light: #D1D5DB;
        --secondary-beige: #374151;
    }
    
    .header {
        background-color: rgba(31, 41, 55, 0.95);
    }
    
    .nav {
        background-color: rgba(31, 41, 55, 0.98);
    }
    
    input, select, textarea {
        background-color: #374151;
        color: #F9FAFB;
        border-color: #4B5563;
    }
    
    .reservation-form,
    .contact-form {
        background-color: #374151;
    }
    
    .feature-card,
    .menu-item,
    .reservation-info {
        background-color: #4B5563;
    }
} */

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Scrolling for Older Browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Responsive Design */

/* Large screens */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

/* Medium screens */
@media (max-width: 768px) {
    /* Header */
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Quick Info */
    .quick-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Menu */
    .menu-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .menu-tab {
        width: 100%;
    }

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

    .menu-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .menu-link {
        padding: 1.25rem;
    }

    .menu-link i {
        font-size: 2rem;
    }

    /* Reservations */
    .reservation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-item i {
        font-size: 1.25rem;
        min-width: 1.5rem;
        margin-top: 0.25rem;
        flex-shrink: 0;
        color: var(--primary-green);
    }

    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 0.5rem;
        gap: 0.75rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        background-color: var(--primary-green);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: var(--transition);
    }

    .social-links a:hover {
        background-color: var(--accent-terracotta);
        transform: translateY(-2px);
    }

    .map-container iframe {
        height: 350px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

    /* Section padding */
    .hero,
    .about,
    .menu,
    .reservations,
    .gallery,
    .contact {
        padding: 60px 0;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    .logo h1 {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-item i {
        margin-top: 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }

    /* Section padding */
    .hero,
    .about,
    .menu,
    .reservations,
    .gallery,
    .contact {
        padding: 40px 0;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    /* Contact section for very small screens */
    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .contact-item i {
        font-size: 1.1rem;
        min-width: 1.25rem;
    }

    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .contact-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        background: linear-gradient(rgba(212, 165, 116, 0.4), rgba(0, 0, 0, 0.5)),
                    url('../assets/hero-bg.jpg') center/cover no-repeat !important;
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .nav-list {
        gap: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: url('../assets/hero-bg@2x.jpg');
    }
}

/* Print styles */
@media print {
    .header,
    .nav,
    .nav-toggle,
    .hero-buttons,
    .social-links,
    .contact-form,
    .map-container {
        display: none;
    }

    .hero {
        height: auto;
        background: none;
        color: var(--text-dark);
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .section-header {
        text-align: left;
    }
}

/* Menu */
.menu-download h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.menu-links {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.menu-link {
    padding: 1rem;
}

.menu-link i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.menu-link span {
    font-size: 1rem;
}

.menu-link small {
    font-size: 0.8rem;
}

/* Online Ordering */
.ordering-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.ordering-text h2 {
    font-size: 1.75rem;
}

.ordering-features {
    justify-content: center;
    gap: 1.5rem;
}

.ordering-action {
    padding: 1.5rem;
} 