/* Responsive Styles for Sikh Temple Fund */

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Tablet - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .sikh-nav {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .mission-card,
    .gurudwara-card {
        margin-bottom: 2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    /* Donation Form */
    .gurudwara-option {
        margin-bottom: 1rem;
    }
    
    .amount-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    /* Voting Form */
    .poll-option {
        margin-bottom: 1rem;
    }
}

/* Mobile Large - 576px to 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        margin-top: 1.5rem;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-section,
    .featured-section,
    .impact-section {
        padding: 3rem 0;
    }
    
    .mission-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    /* Forms */
    .donation-form-container,
    .submission-container,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.3rem;
    }
    
    .amount-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .gurudwara-option .option-content h4 {
        font-size: 1.1rem;
    }
    
    .poll-option .option-content h5 {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Mobile Small - up to 575px */
@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand .ms-2 {
        margin-left: 0.5rem !important;
    }
    
    .hero-section {
        min-height: 80vh;
        text-align: center;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .page-header {
        padding: 5rem 0 2.5rem;
    }
    
    .page-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        text-align: center;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .mission-section,
    .featured-section,
    .impact-section,
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .mission-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .mission-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .mission-card h4 {
        font-size: 1.2rem;
    }
    
    .gurudwara-card {
        margin-bottom: 2rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-content h4 {
        font-size: 1.1rem;
    }
    
    .impact-stat {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-actions .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Forms */
    .donation-form-container,
    .submission-container,
    .contact-form-container,
    .poll-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem !important;
    }
    
    .form-section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .gurudwara-options {
        display: block;
    }
    
    .gurudwara-option {
        margin-bottom: 1rem;
    }
    
    .gurudwara-label {
        padding: 1rem;
    }
    
    .option-image {
        height: 120px;
        margin-bottom: 0.75rem;
    }
    
    .option-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .option-content p {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .option-content small {
        font-size: 0.75rem;
    }
    
    .amount-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .amount-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .poll-options {
        display: block;
    }
    
    .poll-option {
        margin-bottom: 1rem;
    }
    
    .poll-label {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .poll-option .option-content h5 {
        font-size: 0.95rem;
    }
    
    .poll-option .option-content p {
        font-size: 0.8rem;
    }
    
    .vote-count {
        font-size: 0.75rem;
    }
    
    /* Contact Info Cards */
    .contact-info-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        font-size: 0.85rem;
        padding: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 !important;
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
    }
    
    .social-links {
        text-align: center;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Extra Small Mobile - up to 400px */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .amount-options {
        grid-template-columns: 1fr;
    }
    
    .amount-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.9rem;
    }
    
    .gurudwara-label,
    .poll-label {
        padding: 0.75rem;
    }
    
    .contact-info-card {
        padding: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        margin-top: 1rem;
    }
    
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .section-title {
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .hero-actions,
    .cta-actions {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
    }
    
    .page-header {
        background: white !important;
        color: black !important;
        padding: 1rem 0 !important;
    }
    
    .section-title {
        color: black !important;
    }
    
    .mission-card,
    .gurudwara-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .card-image {
        height: auto !important;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
}
