/* 
* Zelený Koutek - Responsive Styles
* Author: Zelený Koutek Team
* Version: 1.0
*/

/* ----------------------------------------
   Media Queries
---------------------------------------- */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    :root {
        --spacing-xxl: 60px;
    }
    
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .offers-grid,
    .featured-grid,
    .services-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    :root {
        --spacing-xl: 40px;
        --spacing-xxl: 50px;
    }
    
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    .hero-section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content {
        padding: var(--spacing-lg) 0;
    }
    
    .about-content,
    .story-content,
    .shop-content {
        flex-direction: column;
    }
    
    .about-image,
    .story-image,
    .shop-image {
        margin-top: var(--spacing-lg);
    }
    
    .image-wrapper {
        max-width: 300px;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .newsletter-text {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-info-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-logo a {
        justify-content: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-links-column {
        flex: 0 0 50%;
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-lg);
    }
    
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-medium);
        z-index: 99;
        padding: var(--spacing-md) 0;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0 0 var(--spacing-md);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .offers-grid,
    .featured-grid,
    .services-grid,
    .blog-preview-grid,
    .contact-info-wrapper,
    .values-grid,
    .team-grid,
    .blog-grid,
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-links-column {
        flex: 0 0 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .article-navigation {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .article-navigation-next {
        text-align: left;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    :root {
        --font-size-base: 15px;
        --spacing-lg: 25px;
        --spacing-xl: 35px;
    }
    
    .container {
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .logo span {
        display: none;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        border-radius: var(--border-radius-md);
        margin-bottom: var(--spacing-sm);
    }
    
    .input-group .btn {
        border-radius: var(--border-radius-md);
        width: 100%;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .testimonial-card {
        padding: var(--spacing-lg);
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .article-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-right: 0;
        margin-bottom: var(--spacing-md);
    }
}
