/**
 * Responsive Stylesheet
 * topjocurionline.ro
 */

/* Tablet: up to 1024px */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .section-header h2 {
        font-size: 1.85rem;
    }
}

/* Mobile Large: up to 768px */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-blue);
        border-left: 1px solid rgba(0, 212, 255, 0.1);
        padding: 5rem 1.5rem 2rem;
        transition: right var(--transition);
        z-index: 1005;
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-list a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }

    .nav-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.05rem;
    }

    .page-hero {
        padding: 6.5rem 0 2.5rem;
    }

    .page-hero h1 {
        font-size: 1.85rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .detail-meta {
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}

/* Mobile Small: up to 480px */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .city-card {
        padding: 1.5rem;
    }

    .legal-content {
        padding: 2rem 0 3rem;
    }

    .error-code {
        font-size: 5rem;
    }

    .detail-content {
        padding: 0 0.5rem;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .hero-grid,
    .btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
