/**
 * EuropeVault Responsive CSS - Collectors Edition
 * 
 * @package EuropeVault_Child
 */

/* ==========================================================================
   TABLET (768px - 1199px)
   ========================================================================== */

@media screen and (max-width: 1199px) {
    .ev-container {
        padding: 0 30px;
    }
    
    .ev-hero-title {
        font-size: 42px;
    }
    
    .ev-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ev-pricing-grid {
        gap: 24px;
    }
}

/* ==========================================================================
   MOBILNÍ & TABLET (< 920px)
   ========================================================================== */

@media screen and (max-width: 920px) {
    /* Top Bar */
    .ev-top-bar-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .ev-notification-area {
        justify-content: center;
    }
    
    /* Header */
    .ev-main-navigation {
        display: none;
    }
    
    .ev-mobile-menu-toggle {
        display: block;
    }
    
    /* Footer */
    .ev-footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ==========================================================================
   MOBILNÍ (< 768px)
   ========================================================================== */

@media screen and (max-width: 767px) {
    :root {
        --ev-section-padding: 60px 0;
    }
    
    .ev-container {
        padding: 0 20px;
    }
    
    /* Top Bar */
    .ev-top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .ev-notification-text {
        font-size: 12px;
    }
    
    .ev-auth-links {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ev-auth-link {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    /* Header */
    .ev-header-white-bg {
        padding: 12px 0;
    }
    
    .ev-logo-title {
        font-size: 20px;
    }
    
    .ev-logo-subtitle {
        font-size: 10px;
    }
    
    .ev-logo-icon {
        font-size: 30px;
    }
    
    /* Hero */
    .ev-hero-section {
        padding: 50px 0;
    }
    
    .ev-hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .ev-hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .ev-hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .ev-hero-buttons {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .ev-btn-hero-primary,
    .ev-btn-hero-secondary {
        width: 100%;
        font-size: 16px;
        padding: 14px 32px;
    }
    
    .ev-hero-trust-indicators {
        flex-direction: column;
        gap: 20px;
    }
    
    .ev-trust-item {
        width: 100%;
    }
    
    /* Section Titles */
    h2.ev-section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    /* Features */
    .ev-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ev-feature-card {
        padding: 24px;
    }
    
    .ev-feature-icon {
        font-size: 40px;
    }
    
    .ev-feature-title {
        font-size: 20px;
    }
    
    /* Pricing */
    .ev-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ev-pricing-card {
        padding: 32px 24px;
    }
    
    .ev-pricing-name {
        font-size: 24px;
    }
    
    .ev-price-amount {
        font-size: 48px;
    }
    
    /* Footer */
    .ev-footer {
        padding: 40px 0 0;
    }
    
    .ev-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .ev-footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   VELMI MALÉ MOBILNÍ (< 480px)
   ========================================================================== */

@media screen and (max-width: 479px) {
    .ev-hero-title {
        font-size: 28px;
    }
    
    .ev-hero-subtitle {
        font-size: 14px;
    }
    
    h2.ev-section-title {
        font-size: 24px;
    }
    
    .ev-feature-card {
        padding: 20px;
    }
    
    .ev-btn-hero-primary,
    .ev-btn-hero-secondary {
        padding: 12px 24px;
    }
    
    .ev-price-amount {
        font-size: 40px;
    }
}

/* ==========================================================================
   LANDSCAPE ORIENTACE
   ========================================================================== */

@media screen and (max-height: 600px) and (orientation: landscape) {
    .ev-hero-section {
        padding: 40px 0;
    }
    
    .ev-hero-title {
        font-size: 28px;
    }
    
    .ev-hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .ev-hero-buttons {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .ev-top-bar,
    .ev-header,
    .ev-mobile-menu,
    .ev-hero-buttons,
    .ev-footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .ev-section {
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .ev-feature-card,
    .ev-pricing-card {
        border: 3px solid var(--ev-primary);
    }
    
    .ev-btn-primary,
    .ev-btn-secondary {
        border: 2px solid currentColor;
    }
}

/* ==========================================================================
   MOBILE MENU ANIMATIONS
   ========================================================================== */

.ev-hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.ev-hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.ev-hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.ev-menu-open {
    overflow: hidden;
}
