/* ============================================================
   BANJARA SANSKRITI SAMVARDHAN KENDRA
   Responsive Styles - Mobile Optimization
   ============================================================ */

/* ===== TABLETS (max-width: 991px) ===== */
@media (max-width: 991px) {
    .site-title {
        font-size: 1.2rem;
    }

    .hindi-title {
        font-size: 0.95rem;
    }

    .site-subtitle {
        font-size: 0.8rem;
    }

    .header-logo .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-section {
        min-height: 400px;
    }

    .hero-decoration {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .page-banner h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .main-navbar .nav-link {
        padding: 10px 16px !important;
    }

    .main-navbar .navbar-collapse {
        background: var(--banjara-red-dark);
        margin: 0 -12px;
        padding: 10px 12px;
        border-top: 2px solid rgba(255,255,255,0.1);
    }

    .nav-auth-buttons {
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* ===== MOBILE PHONES (max-width: 767px) ===== */
@media (max-width: 767px) {
    .top-bar {
        text-align: center;
        padding: 6px 0;
    }

    .top-bar .col-md-6:first-child {
        display: none;
    }

    .social-links-top {
        text-align: center;
    }

    .main-header .row {
        text-align: center;
    }

    .site-title {
        font-size: 1rem;
        letter-spacing: 0;
    }

    .hindi-title {
        font-size: 0.85rem;
    }

    .site-subtitle {
        font-size: 0.75rem;
    }

    .header-logo .logo-circle {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin: 0 auto 10px;
    }

    .header-logo .logo-circle::after {
        display: none;
    }

    .hero-section {
        min-height: 350px;
        padding: 30px 0;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .page-banner {
        padding: 35px 0;
    }

    .page-banner h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .cultural-card .card-img-top {
        height: 180px;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date-box {
        margin: 0 auto;
    }

    .icon-card {
        padding: 20px 15px;
    }

    .icon-card .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .community-post {
        padding: 18px;
    }

    .post-actions {
        gap: 10px;
        flex-wrap: wrap;
    }

    .contact-info-card {
        padding: 25px;
    }

    .auth-card {
        margin: 15px;
    }

    .auth-card .auth-body {
        padding: 20px;
    }

    .footer-content {
        padding: 35px 0 10px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-social {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 5px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .welcome-image-wrapper::before {
        display: none;
    }

    .about-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Admin responsive */
    .admin-sidebar {
        position: fixed;
        left: -260px;
        transition: left 0.3s ease;
        z-index: 1050;
    }

    .admin-sidebar.active {
        left: 0;
    }

    .admin-content {
        margin-left: 0 !important;
    }
}

/* ===== SMALL PHONES (max-width: 480px) ===== */
@media (max-width: 480px) {
    .site-title {
        font-size: 0.85rem;
    }

    .hindi-title {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .btn-banjara {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .est-badge {
        display: none;
    }

    .stats-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ===== LARGE SCREENS (min-width: 1400px) ===== */
@media (min-width: 1400px) {
    .hero-section {
        min-height: 600px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .top-bar,
    .main-navbar,
    .back-to-top,
    .main-footer,
    .cultural-top-border,
    .cultural-bottom-border,
    .tribal-border-bottom,
    .tribal-border-top {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .main-header {
        border-bottom: 2px solid #333;
    }
}
