/* Responsive Design */

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .hero-profile h1 {
        font-size: 1.8rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .hero-info h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .stat {
        padding: 1rem;
    }

    .stat h4 {
        font-size: 1.5rem;
    }

    /* Articles Grid */
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Videos Grid */
    .videos-grid {
        grid-template-columns: 1fr;
    }

    /* Predictions Grid */
    .predictions-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Language Selector */
    .language-selector {
        top: 10px;
        right: 10px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 30px 0;
        min-height: auto;
    }

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

    .title {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .hero-info h2 {
        font-size: 1.3rem;
    }

    .info-cards {
        gap: 1rem;
    }

    .info-card {
        padding: 1rem;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    /* Section Headers */
    .about h2,
    .articles h2,
    .videos h2,
    .predictions h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat h4 {
        font-size: 1.3rem;
    }

    /* Article Card */
    .article-image {
        height: 150px;
    }

    .article-content {
        padding: 1rem;
    }

    .article-card h3 {
        font-size: 1rem;
    }

    /* Prediction Match */
    .prediction-match {
        gap: 0.5rem;
    }

    .team img {
        width: 40px;
        height: 40px;
    }

    .vs {
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        gap: 1rem;
    }

    .footer-section h4 {
        margin-bottom: 0.5rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    /* Language Selector */
    .language-selector {
        gap: 5px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .language-selector,
    .navbar,
    .hamburger {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .hero {
        page-break-after: always;
    }

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

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

/* High Contrast Mode */
@media (prefers-contrast: more) {
    :root {
        --primary-color: #c41e3a;
        --secondary-color: #000;
        --border-color: #333;
    }

    a {
        text-decoration: underline;
    }
}

/* Contact and Page Sections - Tablet */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .page-section h1 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }
}

/* Contact and Page Sections - Mobile */
@media (max-width: 480px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

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

    .page-section {
        padding: 30px 0;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        gap: 15px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.3rem;
    }

    .info-item {
        padding: 15px;
    }

    .policy-content,
    .terms-content {
        padding: 15px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e0e0e0;
        --light-bg: #1e1e1e;
        --white: #121212;
        --border-color: #444;
    }

    body {
        background-color: var(--white);
        color: var(--text-color);
    }

    .article-card,
    .video-card,
    .prediction-card {
        background-color: #2a2a2a;
    }

    .info-card {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .contact-content,
    .policy-content,
    .terms-content {
        background-color: #2a2a2a;
    }

    .info-item,
    .contact-form {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

