/* Responsive Styles for Machupicchu Restaurant Website */

/* Small devices (phones, 576px and down) */
@media (max-width: 576px) {
    /* Header adjustments */
    .header {
        padding: 1rem 0;
    }
    
    .logo-container {
        max-width: 280px;
        margin-bottom: 1rem;
    }
    
    /* Section adjustments */
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    /* Contact and location cards */
    .info-card {
        padding: 1rem;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
    
    /* Menu items */
    .dish-card {
        flex-direction: column;
    }
    
    .dish-image {
        width: 100%;
        height: 200px;
    }
    
    .dish-info {
        width: 100%;
        padding: 1rem;
    }
    
    /* History section */
    .history-content {
        flex-direction: column;
    }
    
    .history-text, .history-image {
        width: 100%;
    }
    
    .history-image {
        margin-top: 1.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 577px) and (max-width: 991px) {
    /* Header adjustments */
    .logo-container {
        max-width: 320px;
    }
    
    /* Menu items */
    .dishes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* History section */
    .history-content {
        flex-direction: row;
        align-items: center;
    }
    
    .history-text {
        width: 60%;
        padding-right: 1.5rem;
    }
    
    .history-image {
        width: 40%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }
    
    .logo-container {
        max-width: 400px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .dishes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .history-content {
        gap: 3rem;
    }
}

/* Fix for Instagram link on mobile */
@media (max-width: 576px) {
    a[href*="instagram.com"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* WhatsApp float button adjustments */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
