/* =====================================================
   LAYAR KATEKESE KATOLIK
   File: assets/css/responsive.css
   Fungsi: Media queries untuk mobile & tablet
   ===================================================== */

/* ============================================
   TABLET (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 1001;
        align-items: stretch;
        gap: 5px;
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    .navbar-menu li a {
        padding: 14px 18px;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }
    
    .navbar-menu li a::after {
        display: none;
    }
    
    .navbar-toggle {
        display: block;
        z-index: 1002;
    }
    
    .navbar-search {
        display: none;
    }
    
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .top-bar-left {
        gap: 12px;
        font-size: 0.8rem;
    }
}

/* ============================================
   MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    
    .top-bar {
        padding: 6px 0;
    }
    
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 5px;
    }
    
    .navbar-container {
        padding: 0.8rem 1rem;
    }
    
    .navbar-logo {
        width: 45px;
        height: 45px;
    }
    
    .navbar-brand-title {
        font-size: 1.1rem;
    }
    
    .navbar-brand-tagline {
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .wave-divider {
        height: 50px;
    }
}

/* ============================================
   MOBILE KECIL (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container-custom {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-cross {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
    }
    
    .navbar-menu {
        width: 85%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   DESKTOP BESAR (min-width: 1400px)
   ============================================ */
@media (min-width: 1400px) {
    .container-custom {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* ============================================
   DARK MODE (opsional, siap untuk masa depan)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Dapat diaktifkan nanti dengan class .dark-mode */
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-navbar,
    .main-footer,
    .scroll-to-top,
    .top-bar {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}