/* Responsive Design for About Nutrition Website */

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

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-content {
        gap: 3rem;
    }
    
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .conditions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .conditions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .path-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .optimization-content {
        gap: 2rem;
    }
}

/* Mobile Large */
@media (max-width: 767px) and (min-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
    }
    
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .path-grid {
        grid-template-columns: 1fr;
    }
    
    .optimization-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .condition-item {
        padding: 1rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .path-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .path-card {
        padding: 2rem;
    }
    
    .optimization-icons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .opt-icon {
        padding: 0.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Navigation Mobile */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .footer {
        display: none;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .closing-cta {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        border: 1px solid #333 !important;
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000 !important;
        color: #fff !important;
    }
    
    .btn-secondary {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }
    
    .section-title {
        color: #000 !important;
    }
    
    .condition-item:hover {
        border-color: #000 !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .whatsapp-float {
        animation: none;
    }
    
    .testimonial-rating i {
        animation: none;
    }
}

/* Override Dark Mode - Keep Bright Professional Theme */
@media (prefers-color-scheme: dark) {
    body {
        background: #FFFFFF !important;
        color: #333333 !important;
    }
    
    .header {
        background: #FFFFFF !important;
    }
    
    .nav-link {
        color: #333333 !important;
    }
    
    .section-title {
        color: #1A252F !important;
    }
    
    .promise-item,
    .condition-item,
    .process-step,
    .path-card,
    .testimonial-card {
        background: #FFFFFF !important;
        color: #333333 !important;
    }
    
    .footer {
        background: #F8F9FA !important;
        color: #1A252F !important;
    }
    
    /* Ensure all sections maintain bright theme */
    section {
        background: #FFFFFF !important;
        color: #333333 !important;
    }
    
    .hero,
    .promise,
    .conditions,
    .optimization,
    .how-it-works,
    .choose-path,
    .testimonials,
    .closing-cta,
    .contact {
        background: #FFFFFF !important;
        color: #333333 !important;
    }
    
    .hero.green-hero,
    .promise,
    .how-it-works,
    .footer {
        background: #F8F9FA !important;
        color: #1A252F !important;
    }
} 