/* ============================================================
   RESPONSIVE STYLES - THE CHAAYE CAFÉ
   ============================================================ */

/* === 1200px+ (Large desktops) === */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* === 1024px - 1199px (Tablets / Small desktops) === */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

/* === 768px - 1023px (Tablets) === */
@media (max-width: 1023px) {
    .container {
        max-width: 720px;
    }
    
    .about-grid,
    .reservations-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* === 576px - 767px (Mobile landscape) === */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 16px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(27, 27, 27, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 24px 32px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(187, 144, 115, 0.05);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }
    
    .main-nav ul a {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .btn-reserve {
        display: none;
    }
    
    .hero h1 {
        font-size: clamp(32px, 8vw, 48px);
    }
    
    .hero-the {
        font-size: clamp(18px, 4vw, 28px);
    }
    
    .hero-cafe {
        font-size: clamp(22px, 5vw, 32px);
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .signature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-image {
        width: 100%;
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .reservation-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .cta-content {
        padding: 32px 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .page-hero {
        min-height: 40vh;
    }
    
    .page-hero-content h1 {
        font-size: 32px;
    }
    
    .chatbot-window {
        right: 12px;
        bottom: 80px;
        width: calc(100vw - 24px);
        max-height: 380px;
    }
    
    .chatbot-toggle {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
        font-size: 20px;
    }
}

/* === 480px and below (Small phones) === */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-the {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .hero-chaaye {
        font-size: 32px;
    }
    
    .hero-cafe {
        font-size: 20px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card,
    .value-card {
        padding: 20px 16px;
    }
    
    .signature-item {
        margin-bottom: 0;
    }
    
    .signature-image {
        height: 180px;
    }
    
    .signature-info {
        padding: 16px;
    }
    
    .signature-info h3 {
        font-size: 17px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .gallery-item-overlay {
        padding: 12px;
    }
    
    .gallery-item-overlay h3 {
        font-size: 14px;
    }
    
    .gallery-item-overlay p {
        font-size: 11px;
    }
    
    .blog-card-image {
        height: 160px;
    }
    
    .blog-card-content {
        padding: 16px;
    }
    
    .blog-card-content h3 {
        font-size: 17px;
    }
    
    .menu-categories {
        gap: 8px;
    }
    
    .menu-category-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .reservation-form-container,
    .contact-form-container {
        padding: 20px;
    }
    
    .info-card {
        padding: 16px 20px;
    }
    
    .contact-card {
        padding: 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
    
    .page-hero {
        min-height: 30vh;
    }
    
    .page-hero-content {
        padding: 100px 16px 40px;
    }
    
    .page-hero-content h1 {
        font-size: 28px;
    }
    
    .page-hero-content p {
        font-size: 15px;
    }
    
    .footer-brand .logo img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .chatbot-window {
        right: 8px;
        bottom: 72px;
        width: calc(100vw - 16px);
        max-height: 340px;
        border-radius: 12px;
    }
    
    .chatbot-header {
        padding: 12px 16px;
    }
    
    .chatbot-messages {
        padding: 12px 16px;
        max-height: 240px;
    }
    
    .chatbot-input {
        padding: 8px 12px;
    }
    
    .chatbot-toggle {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
        font-size: 18px;
    }
    
    .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .btn-secondary {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .mobile-break {
        display: block;
    }
}

/* === Dark mode support === */
@media (prefers-color-scheme: dark) {
    body {
        background: #1B1B1B;
    }
}

/* === Print styles === */
@media print {
    #main-header,
    #main-footer,
    .chatbot-toggle,
    .chatbot-window,
    .hero-scroll-indicator {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-bg {
        display: none;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .page-hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .page-hero-overlay {
        display: none;
    }
    
    .glassmorphism {
        background: transparent !important;
        backdrop-filter: none !important;
        border: 1px solid #D8D8D8 !important;
        box-shadow: none !important;
    }
    
    body {
        color: #1B1B1B !important;
        background: #fff !important;
    }
    
    .section-title span,
    .hero-chaaye {
        color: #BB9073 !important;
    }
    
    .stat-number {
        color: #1B1B1B !important;
    }
}