/* ===== RESPONSIVE DESIGN ===== */

/* Tablet és kisebb desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        gap: var(--spacing-lg);
    }

    .video-grid,
    .guests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-lg);
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {

    /* Header változások */
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav.active {
        display: block;
    }

    /* Hamburger animáció */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero section */
    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    /* Page header */
    .page-header {
        padding: var(--spacing-lg) 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Filter controls */
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .filter-group,
    .search-group {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
    }

    .search-group input {
        min-width: auto;
    }

    /* Video és guest grids */
    .video-grid,
    .guests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    /* Team section */
    .team-member {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

    /* Social links */
    .social-links {
        justify-content: center;
    }

    /* Video sections */
    .video-section {
        padding: var(--spacing-xl) 0;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Padding adjustments */
    .about-story,
    .mission-section,
    .contact-section,
    .team-section {
        padding: var(--spacing-xl) 0;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Header */
    .header-content {
        padding: var(--spacing-xs) 0;
    }

    .logo img {
        height: 40px;
    }

    /* Hero section */
    .hero {
        padding: var(--spacing-lg) 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }

    /* Page header */
    .page-header h1 {
        font-size: 1.75rem;
    }

    /* Grids */
    .video-grid,
    .guests-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Video cards */
    .video-card {
        margin-bottom: var(--spacing-sm);
    }

    .video-info {
        padding: var(--spacing-sm);
    }

    .video-title {
        font-size: 1rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Guest cards */
    .guest-photo {
        height: 150px;
    }

    .guest-info {
        padding: var(--spacing-sm);
    }

    /* Team section */
    .member-photo {
        width: 100px;
        height: 100px;
    }

    /* Footer */
    .main-footer {
        padding: var(--spacing-xl) 0 var(--spacing-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-section .social-links {
        justify-content: center;
    }

    /* Typography mobil */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Button és form elemek */
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .filter-group select,
    .search-group input {
        font-size: 0.9rem;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-md);
    }

    .pagination a,
    .pagination span {
        padding: var(--spacing-xs);
        font-size: 0.9rem;
    }

    /* Sections padding */
    .video-section,
    .about-story,
    .mission-section,
    .contact-section,
    .team-section {
        padding: var(--spacing-lg) 0;
    }
}

/* Extra kis képernyők (max-width: 320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 var(--spacing-xs);
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .video-info,
    .guest-info {
        padding: var(--spacing-xs);
    }

    .team-member {
        gap: var(--spacing-sm);
    }

    .member-photo {
        width: 80px;
        height: 80px;
    }

    .footer-content {
        gap: var(--spacing-sm);
    }
}

/* Landscape orientáció mobilon */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-md) 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-sm);
    }

    .page-header {
        padding: var(--spacing-sm) 0;
    }

    .video-section {
        padding: var(--spacing-md) 0;
    }
}

/* Dark mode támogatás (rendszer beállítás alapján) */
@media (prefers-color-scheme: dark) {
    /* Ezt később implementálhatjuk opcionálisan */
}

/* Reduced motion támogatás */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .btn {
        border: 2px solid var(--accent-blue);
    }

    .video-card,
    .guest-card {
        border: 1px solid var(--accent-blue);
    }
}