/* ====================================
   Food for the Soul - Responsive Styles
   Mobile-first responsive design
   ==================================== */

/* ====================================
   Tablet Styles (768px and below)
   ==================================== */
@media (max-width: 768px) {
    /* Typography Adjustments */
    html {
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.2rem; }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Section Spacing */
    section {
        padding: 60px 0;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background: var(--warm-white);
        width: 100%;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 30px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Virtual Info */
    .virtual-info-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Booking Section */
    .booking-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form-container {
        padding: 30px 20px;
    }
    
    /* Publishing Section */
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Resources */
    .video-grid,
    .articles-grid,
    .worksheets-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
}

/* ====================================
   Mobile Styles (480px and below)
   ==================================== */
@media (max-width: 480px) {
    /* Typography */
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Section Spacing */
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Logo */
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-label {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Forms */
    .booking-form-container,
    .contact-form-container,
    .upload-box {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    /* Cards */
    .service-card,
    .publication-card,
    .article-card,
    .worksheet-card {
        padding: 25px 20px;
    }
    
    /* Mission Box */
    .mission-box {
        padding: 20px;
    }
    
    /* Booking Steps */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Price Cards */
    .price-card {
        padding: 20px 10px;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    /* Contact Cards */
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-card i {
        font-size: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-logo {
        width: 85px;
        height: 85px;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ====================================
   Large Desktop (1400px and above)
   ==================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* ====================================
   Landscape Mobile Adjustments
   ==================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .hero-buttons,
    .back-to-top,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ====================================
   Accessibility Improvements
   ==================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-pink: #C4007A;
        --primary-rose: #A0005F;
        --primary-gold: #B8860B;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}