/* ===== RESPONSIVE STYLES ===== */

/* Large Desktops */
@media (max-width: 1200px) {
    .hero-title {
        font-size: clamp(3rem, 8vw, 5rem);
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .events-container {
        gap: 2rem;
    }
}

/* Tablets and Small Desktops */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--testimony-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-social {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        justify-content: center;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-verse {
        font-size: 1.2rem;
        margin: 1.5rem auto 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .sermons-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .event-highlight {
        padding: 2rem;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        min-width: 100%;
    }
    
    .floating-prayer span {
        display: none;
    }
    
    .floating-prayer {
        padding: 1rem;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .back-to-top {
        left: 1rem;
        bottom: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    :root {
        --section-padding: 50px 0;
        --container-padding: 0 15px;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-verse {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .about-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sermons-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .event-date {
        min-width: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 0;
    }
    
    .prayer-modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 380px) {
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .sermons-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .nav-menu {
        max-height: 100vh;
        overflow-y: auto;
    }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .floating-prayer,
    .back-to-top,
    .video-modal,
    .slider-btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .hero {
        min-height: auto;
        background: #fff !important;
        color: #000 !important;
    }
    
    .hero-title {
        color: #000 !important;
    }
    
    .btn {
        display: none;
    }
}