/* 
* Responsive CSS Styles for Čajový Svet
*/

/* Large Desktops (1200px and up) */
@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* Desktop and Large Tablets (992px to 1199px) */
@media only screen and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .product-card {
        min-width: 280px;
    }
    
    .footer-column {
        min-width: 220px;
    }
}

/* Tablets (768px to 991px) */
@media only screen and (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-image img {
        max-width: 80%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        margin-bottom: 40px;
    }
    
    .about-image img {
        max-width: 80%;
    }
    
    .product-card {
        min-width: 45%;
    }
    
    .testimonial {
        max-width: 100%;
    }
    
    .tea-recommendation {
        flex-direction: column;
    }
    
    .tea-image {
        text-align: center;
    }
    
    .tea-image img {
        max-width: 80%;
    }
    
    .tea-details h2 {
        text-align: center;
    }
    
    .tea-details h2:after {
        margin: 1rem auto 0;
    }
    
    .recommendation-actions {
        justify-content: center;
    }
}

/* Mobile Devices (576px to 767px) */
@media only screen and (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Show mobile menu when session flag is set */
    .mobile-menu-open .main-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .mobile-menu-open .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-open .nav-cta {
        display: inline-block;
        margin-top: 10px;
    }
    
    .header-main {
        position: relative;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .product-card {
        min-width: 100%;
    }
    
    .promotion-card {
        padding: 20px;
    }
    
    .promotion-badge {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .custom-form {
        padding: 30px 20px;
    }
    
    .checkbox-group {
        align-items: flex-start;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .thank-you-content {
        padding: 30px 20px;
    }
    
    .cookie-popup {
        padding: 15px;
    }
    
    .cookie-popup form {
        flex-direction: column;
    }
    
    .cookie-popup .btn-primary,
    .cookie-popup .btn-secondary {
        width: 100%;
    }
}

/* Small Mobile Devices (Up to 575px) */
@media only screen and (max-width: 575px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .about-image img {
        max-width: 100%;
    }
    
    .tea-image img {
        max-width: 100%;
    }
    
    .promotion-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .other-tea {
        width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
} 