/* 
* Team Falcons Website
* Responsive Stylesheet
*/

/* ===== MEDIA QUERIES ===== */

/* Extra large devices (large desktops, 1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* Large devices (desktops, 1366px to 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .container {
        max-width: 1300px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Medium devices (tablets, 768px to 1365px) */
@media (min-width: 768px) and (max-width: 1365px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .merch-content h2 {
        font-size: 2rem;
    }
    
    /* Adjust calendar layout */
    .calendar-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Adjust contact section layout */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .info-item {
        flex: 0 0 auto;
    }
    
    /* Adjust footer layout */
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .merch-content h2 {
        font-size: 1.8rem;
    }
    
    /* Adjust sidebar */
    .sidebar {
        width: 60px;
    }
    
    .sidebar:hover {
        width: 200px;
    }
    
    .main-content {
        margin-left: 60px;
        width: calc(100% - 60px);
    }
    
    .rtl .main-content {
        margin-right: 60px;
        margin-left: 0;
    }
    
    /* Adjust calendar layout */
    .calendar-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Adjust contact section layout */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    /* Adjust footer layout */
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-md);
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    /* Adjust sidebar */
    .sidebar {
        width: 50px;
    }
    
    .sidebar:hover {
        width: 180px;
    }
    
    .main-content {
        margin-left: 50px;
        width: calc(100% - 50px);
    }
    
    .rtl .main-content {
        margin-right: 50px;
        margin-left: 0;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .sidebar:hover .logo {
        width: 60px;
        height: 60px;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    /* Adjust calendar layout */
    .calendar-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    /* Adjust contact section layout */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    /* Adjust merch banner */
    .merch-banner {
        padding: calc(var(--spacing-xl) * 1.3) var(--spacing-md); /* Maintain 30% bigger but scaled for mobile */
        min-height: 280px; /* 30% bigger mobile height */
    }
    
    .merch-content h2 {
        font-size: 1.95rem; /* 30% bigger than previous 1.5rem */
    }
    
    .merch-content p {
        font-size: 1.3rem; /* 30% bigger than previous 1rem */
    }
    
    .merch-content .btn {
        font-size: 1.1rem;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    /* Adjust footer layout */
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Hide certain elements on mobile */
    .hero-navigation {
        display: none;
    }
}

/* Mobile first special adjustments */
@media (max-width: 767px) {
    /* Mobile navigation is now handled by bottom nav - no toggle needed */
    .mobile-nav-toggle {
        display: none !important;
    }
    
    /* Hide desktop sidebar on mobile */
    .sidebar {
        display: none !important;
    }
    
    /* Adjust main content for mobile bottom navigation */
    .main-content {
        margin-left: 0 !important;
        padding-bottom: 80px !important; /* Space for bottom nav */
        width: 100% !important;
    }
    
    /* Adjust language switcher for mobile */
    .language-switcher {
        display: none !important; /* Hide desktop language switcher */
    }
    
    .rtl .language-switcher {
        display: none !important; /* Hide desktop language switcher */
    }
}

/* Ensure proper display of sidebar on tablet and larger */
@media (min-width: 768px) {
    .mobile-nav-toggle {
        display: none;
    }
    
    .sidebar {
        transform: translateX(0) !important;
    }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (max-width: 767px) {
    .hero-banner {
        height: auto;
        min-height: 100vh;
        padding: var(--spacing-xxl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
}

/* Print styles */
@media print {
    .sidebar,
    .language-switcher,
    .hero-navigation,
    .social-links,
    .contact-form,
    .footer-social {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
        width: 100% !important;
    }
    
    .hero-banner {
        height: auto;
        color: var(--cool-black);
    }
    
    .hero-video-container {
        display: none;
    }
    
    .btn {
        border: 1px solid var(--cool-black);
        color: var(--cool-black);
    }
    
    .site-footer {
        color: var(--cool-black);
        background-color: transparent;
    }
    
    .footer-column h3:after {
        background-color: var(--cool-black);
    }
}

/* ===== FAQ RESPONSIVE STYLES ===== */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .category-tabs {
        flex-direction: column;
        padding: 0 var(--spacing-sm);
    }

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

    .faq-contact-section .contact-options {
        flex-direction: column;
    }

    .contact-option {
        width: 100%;
        max-width: 100%;
    }

    .accordion-header h3 {
        font-size: 1rem;
        padding-right: var(--spacing-md);
    }

    .accordion-item.active .accordion-content {
        padding: var(--spacing-md);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .category-tabs {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }

    .category-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .faq-categories-section {
        padding: var(--spacing-md) 0;
    }

    .accordion-header h3 {
        font-size: 1rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .category-tabs {
        gap: var(--spacing-md);
    }

    .contact-option {
        min-width: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .accordion-container {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* ===== GENERAL RESPONSIVE STYLES ===== */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* ... existing styles ... */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* ... existing styles ... */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* ... existing styles ... */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* ... existing styles ... */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* ... existing styles ... */
}

/* ===== NEWS RESPONSIVE STYLES ===== */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .news-filter {
        flex-direction: column;
        padding: 0 var(--spacing-sm);
    }

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

    .featured-news-card {
        flex-direction: column;
    }

    .featured-news-image {
        height: 200px;
    }

    .featured-news-content h3 {
        font-size: 1.3rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .event-item {
        flex-direction: column;
    }

    .event-date {
        width: 100%;
        padding: var(--spacing-sm);
    }

    .date-box {
        flex-direction: row;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .date-box .month {
        font-size: 0.9rem;
    }

    .date-box .day {
        font-size: 1.5rem;
    }

    .event-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Article Page Responsive */
    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .article-gallery {
        grid-template-columns: 1fr;
    }

    .article-tags, .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .news-filter {
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .featured-news-image {
        height: 300px;
    }

    .featured-news-content h3 {
        font-size: 1.5rem;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .event-date {
        min-width: 100px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Article Page Responsive */
    .article-title {
        font-size: 2rem;
    }

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

    .related-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .featured-news-content h3 {
        font-size: 1.6rem;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    /* Article Page Responsive */
    .article-title {
        font-size: 2.2rem;
    }

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .featured-news-card {
        flex-direction: row;
    }

    .featured-news-image {
        width: 50%;
        height: auto;
    }

    .featured-news-content {
        width: 50%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .featured-news-card {
        flex-direction: row;
    }

    .featured-news-image {
        width: 60%;
        height: auto;
    }

    .featured-news-content {
        width: 40%;
    }

    .article-content .container {
        max-width: 900px;
    }
}

/* ===== RTL SPECIFIC ADJUSTMENTS ===== */
/* General RTL adjustments */
.rtl {
    text-align: right;
}

.rtl .section-header h2:after {
    left: auto;
    right: 0;
}

.rtl .footer-column h3:after {
    left: auto;
    right: 0;
}

/* News page RTL adjustments */
.rtl .read-more i.fa-arrow-right {
    transform: rotate(180deg);
}

.rtl .news-meta i {
    margin-right: 0;
    margin-left: var(--spacing-xs);
}

.rtl .event-meta i {
    margin-right: 0;
    margin-left: var(--spacing-xs);
}

/* Article page RTL adjustments */
.rtl .article-back .back-button i {
    transform: rotate(0);
}

.rtl .article-body h2:after {
    left: auto;
    right: 0;
}

.rtl .article-tags .tag-label,
.rtl .article-share .share-label {
    margin-right: 0;
    margin-left: var(--spacing-sm);
}

.rtl .article-meta span {
    margin-right: 0;
    margin-left: var(--spacing-md);
}

/* FAQ RTL adjustments */
.rtl .accordion-header {
    text-align: right;
}

.rtl .accordion-content {
    text-align: right;
}

.rtl .accordion-content ul,
.rtl .accordion-content ol {
    padding-left: 0;
    padding-right: var(--spacing-lg);
}

/* FAQ social grids should be centered; do not inherit RTL list padding */
.rtl .accordion-content ul.faq-social-list {
    padding-left: 0;
    padding-right: 0;
}

/* Mobile RTL adjustments */
@media (max-width: 767px) {
    .rtl .section-header {
        align-items: flex-end;
    }
    
    .rtl .article-tags, 
    .rtl .article-share {
        align-items: flex-end;
    }
} 