/* 
* VitalFlow Yoga - Responsive Stylesheet
* Author: VitalFlow Yoga
* Version: 1.0
* 
* This file contains all responsive styles for different screen sizes
* using media queries to create a fully adaptive layout
*/

/* =========== Large Desktops (1200px and up) =========== */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* =========== Desktops (992px to 1199px) =========== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    html {
        font-size: 60%;
    }
    
    .nav-menu li {
        margin-left: 2rem;
    }
}

/* =========== Tablets (768px to 991px) =========== */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    html {
        font-size: 58%;
    }
    
    /* Header and Navigation */
    .nav-toggle-label {
        display: block;
        position: relative;
        width: 30px;
        height: 21px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--text-color);
        border-radius: 9px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span {
        top: 9px;
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -9px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        bottom: -9px;
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 15rem 0 10rem;
    }
    
    .hero h1 {
        font-size: 4.2rem;
    }
    
    /* Philosophy Section */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .image-content {
        max-width: 60rem;
        margin: 0 auto;
    }
    
    /* Training Types */
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials */
    .testimonial-card {
        width: calc(50% - 1.5rem);
    }
    
    /* Contact Info */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* =========== Large Mobile Devices (576px to 767px) =========== */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    html {
        font-size: 56%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 12rem 0 8rem;
    }
    
    /* Training Types */
    .types-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Testimonials */
    .testimonial-card {
        width: 100%;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 3rem;
    }
    
    /* Contact Info */
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Thank You & Error Pages */
    .thankyou-buttons,
    .error-buttons {
        flex-direction: column;
    }
    
    .thankyou-buttons .button,
    .error-buttons .button {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* =========== Small Mobile Devices (575px and down) =========== */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 1.5rem;
    }
    
    html {
        font-size: 54%;
    }
    
    section {
        padding: 5rem 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem;
    }
    
    /* Policy Pages */
    .policy-text h2 {
        font-size: 2.4rem;
    }
    
    /* Cookie Popup */
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.5rem;
    }
} 