/* ============================================
   SHINE GLOBAL ENTERPRISE - RESPONSIVE STYLES
   ============================================ */

/* ===================
   TABLET LANDSCAPE (1024px)
   =================== */
@media (max-width: 1024px) {
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

/* ===================
   TABLET PORTRAIT (768px)
   =================== */
@media (max-width: 768px) {

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-6);
        padding: var(--space-8);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
        z-index: var(--z-modal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text);
        font-size: var(--text-lg);
    }

    .nav-menu .nav-link:hover {
        color: var(--primary);
    }

    .nav-menu .btn {
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: var(--z-modal);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: var(--z-modal-backdrop);
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero */
    .hero-content {
        padding: var(--space-4);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .about-visual {
        order: -1;
    }

    .about-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    /* Units Grid */
    .units-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Services */
    .services-categories {
        grid-template-columns: 1fr;
    }

    /* Ministry Grid */
    .ministry-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .ministry-features {
        grid-template-columns: 1fr;
    }

    .ministry-buttons {
        flex-direction: column;
    }

    .ministry-buttons .btn {
        width: 100%;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-contact {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* ===================
   MOBILE (480px)
   =================== */
@media (max-width: 480px) {

    /* Typography adjustments */
    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-xl);
    }

    /* Section padding */
    .section {
        padding: var(--space-12) 0;
    }

    /* Units Grid - single column */
    .units-grid {
        grid-template-columns: 1fr;
    }

    .unit-card {
        padding: var(--space-6);
    }

    /* Sectors tags wrap better */
    .about-sectors {
        justify-content: center;
    }

    /* Service category */
    .service-category {
        padding: var(--space-4);
    }

    /* Ministry section */
    .ministry-verse {
        font-size: var(--text-base);
    }

    /* Video wrapper */
    .video-wrapper {
        border-radius: var(--radius-xl);
    }

    /* Buttons */
    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }

    /* Footer links */
    .footer-legal {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* ===================
   VERY SMALL SCREENS (360px)
   =================== */
@media (max-width: 360px) {
    .container {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .hero-content {
        padding: var(--space-3);
    }

    .unit-icon {
        width: 60px;
        height: 60px;
        font-size: var(--text-2xl);
    }
}

/* ===================
   LARGE SCREENS (1440px+)
   =================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-content {
        max-width: 1000px;
    }
}

/* ===================
   PRINT STYLES
   =================== */
@media print {

    .header,
    .hero-scroll,
    .nav-toggle,
    .footer-social,
    .btn {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
    }

    .hero-title {
        color: #000;
    }

    .section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }

    a {
        text-decoration: underline;
    }
}