/* 
* Travyanaya-Zeleni GmbH - Responsive Stylesheet
* Version: 1.0
*/

/* =================== RESPONSIVE BREAKPOINTS =================== */
/* 
* Extra Small: 0px - 575px
* Small: 576px - 767px 
* Medium: 768px - 991px
* Large: 992px - 1199px
* Extra Large: 1200px and up
*/

/* =================== GLOBAL RESPONSIVE STYLES =================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.4rem;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
}

/* =================== HEADER RESPONSIVE =================== */
@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: var(--spacing-xxl) var(--spacing-lg);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        z-index: 1001;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav li {
        margin: 0 0 var(--spacing-md) 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .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;
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition), visibility var(--transition);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 575px) {
    header .container {
        padding: 0 var(--spacing-md);
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
}

/* =================== HERO RESPONSIVE =================== */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* =================== ABOUT SECTION RESPONSIVE =================== */
@media (max-width: 991px) {
    .about-content {
        flex-direction: column-reverse;
        gap: var(--spacing-lg);
    }
    
    .about-image {
        margin-bottom: var(--spacing-md);
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .about-stats li {
        flex: 1 0 45%;
    }
}

@media (max-width: 575px) {
    .about-stats {
        flex-direction: column;
    }
    
    .about-stats li {
        width: 100%;
    }
}

/* =================== PROPERTIES SECTION RESPONSIVE =================== */
@media (max-width: 991px) {
    .property-categories {
        justify-content: center;
    }
    
    .property-category {
        flex: 0 0 calc(50% - var(--spacing-lg));
    }
}

@media (max-width: 767px) {
    .property-category {
        flex: 0 0 100%;
    }
}

/* =================== SERVICES SECTION RESPONSIVE =================== */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =================== TEAM SECTION RESPONSIVE =================== */
@media (max-width: 991px) {
    .team-members {
        justify-content: center;
    }
    
    .team-member {
        flex: 0 0 calc(50% - var(--spacing-lg));
    }
}

@media (max-width: 767px) {
    .team-member {
        flex: 0 0 100%;
    }
}

/* =================== TESTIMONIALS SECTION RESPONSIVE =================== */
@media (max-width: 767px) {
    .testimonial-slide blockquote {
        font-size: 1rem;
    }
}

/* =================== BLOG SECTION RESPONSIVE =================== */
@media (max-width: 991px) {
    .blog-preview {
        justify-content: center;
    }
    
    .blog-card {
        flex: 0 0 calc(50% - var(--spacing-lg));
    }
}

@media (max-width: 767px) {
    .blog-card {
        flex: 0 0 100%;
    }
}

/* =================== CONTACT SECTION RESPONSIVE =================== */
@media (max-width: 991px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-lg);
    }
}

/* =================== FOOTER RESPONSIVE =================== */
@media (max-width: 991px) {
    .footer-content {
        gap: var(--spacing-lg);
    }
    
    .footer-logo {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-links {
        flex: 0 0 100%;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .footer-column {
        flex: 0 0 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =================== COOKIE BANNER RESPONSIVE =================== */
@media (max-width: 767px) {
    .cookie-options {
        flex-direction: column;
    }
    
    .cookie-options button {
        width: 100%;
    }
}

/* =================== BLOG PAGE RESPONSIVE =================== */
@media (max-width: 767px) {
    .blog-hero {
        padding: var(--spacing-xl) 0;
    }
    
    .blog-hero h1 {
        font-size: 1.75rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* =================== ARTICLE PAGE RESPONSIVE =================== */
@media (max-width: 991px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-featured-image {
        height: 300px;
    }
    
    .article-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .article-featured-image {
        height: 200px;
    }
    
    .comparison-table, 
    .finance-table,
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
    
    .article-quote {
        padding: var(--spacing-md);
    }
    
    .info-box {
        padding: var(--spacing-md);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* =================== THANK YOU PAGE RESPONSIVE =================== */
@media (max-width: 767px) {
    .thank-you-content h1 {
        font-size: 1.75rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
}

/* =================== LEGAL PAGES RESPONSIVE =================== */
@media (max-width: 767px) {
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.4rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
}

/* =================== RESPONSIVE UTILITIES =================== */
@media (max-width: 575px) {
    .hide-xs {
        display: none !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .hide-sm {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hide-md {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hide-lg {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .hide-xl {
        display: none !important;
    }
}
