/* 
* Pryanaya Seledka Tour Agency
* Responsive Stylesheet
*/

/* ==================
   Mobile Menu
==================== */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--text-white);
        box-shadow: var(--box-shadow);
        padding: 2rem;
        overflow-y: auto;
        transition: left var(--transition-medium);
        z-index: 999;
    }
    
    nav.open {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 2rem 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* ==================
   Large Devices (Desktops, less than 1200px)
==================== */
@media (max-width: 1199.98px) {
    :root {
        --section-spacing: 80px;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .banner h1 {
        font-size: 4.2rem;
    }
}

/* ==================
   Medium Devices (Tablets, less than 992px)
==================== */
@media (max-width: 991.98px) {
    :root {
        --section-spacing: 70px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    .banner {
        flex-direction: column;
        padding-top: calc(var(--header-height) + 3rem);
        height: auto;
    }
    
    .banner-content {
        text-align: center;
        max-width: 100%;
        padding: 3rem 2rem;
        order: 2;
        max-height: min-content;
    }
    
    .banner-image {
        margin-top: 4rem;
        order: 1;
    }
    
    .banner h1 {
        font-size: 3.6rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 4rem;
    }
    
    .about-stats {
        flex: 0 0 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        flex: 0 0 100%;
    }
    
    .contact-info {
        margin-bottom: 3rem;
    }
    
    .footer-top {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex: 0 0 50%;
        margin-bottom: 4rem;
    }
}

/* ==================
   Small Devices (Landscape Phones, less than 768px)
==================== */
@media (max-width: 767.98px) {
    :root {
        --section-spacing: 60px;
        --element-spacing: 20px;
    }
    
    html {
        font-size: 58%;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .banner h1 {
        font-size: 3.2rem;
    }
    
    .banner p {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .testimonial-content {
        padding: 3rem 2rem;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .blog-post-header h1 {
        font-size: 3rem;
    }
    
    .blog-post .blog-content {
        padding: 0 1.5rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-content {
        padding: 4rem 2rem;
    }
    
    .thank-you h1 {
        font-size: 3.6rem;
    }
    
    .thank-you-cta {
        flex-direction: column;
    }
    
    .thank-you-cta .btn {
        width: 100%;
    }
    
    .legal-content {
        padding: 3rem 2rem;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* ==================
   Extra Small Devices (Portrait Phones, less than 576px)
==================== */
@media (max-width: 575.98px) {
    :root {
        --section-spacing: 50px;
    }
    
    html {
        font-size: 55%;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .banner h1 {
        font-size: 3rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content:before {
        font-size: 6rem;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item .icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .info-content {
        text-align: center;
    }
    
    .social-share {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .form-group.checkbox {
        align-items: flex-start;
    }
    
    .blog-post-header h1 {
        font-size: 2.6rem;
    }
    
    .blog-meta {
        flex-direction: column;
    }
    
    .blog-meta .blog-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .legal-header h1 {
        font-size: 2.8rem;
    }
}

/* ==================
   Height-based Media Queries
==================== */
@media (max-height: 700px) {
    .banner {
        min-height: 120vh;
    }
}

/* ==================
   Print Styles
==================== */
@media print {
    header,
    footer,
    .cookie-banner,
    .blog-cta,
    .blog-navigation,
    .social-share {
        display: none !important;
    }
    
    body {
        background-color: white;
    }
    
    .blog-post,
    .legal-page {
        padding: 0;
    }
    
    .blog-content,
    .legal-content {
        box-shadow: none;
        max-width: 100%;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 500px !important;
    }
}
