/* 
==========================================
Spark World Lighting - Responsive Styles
==========================================
*/

/* ========== DESKTOP LARGE (1440px+) ========== */
@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }
}

/* ========== DESKTOP (1024px - 1439px) ========== */
@media (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
}

/* ========== TABLET (768px - 1023px) ========== */
@media (max-width: 1023px) {

    /* Header */
    .header-container {
        padding: 0.8rem 1.5rem;
    }

    .header-center {
        display: none;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Navigation */
    .nav-list {
        padding: 1.5rem;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Social Sidebar */
    .social-sidebar {
        left: 15px;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Product Categories */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process Timeline */
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== MOBILE LARGE (481px - 767px) ========== */
@media (max-width: 767px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Header */
    .header-left .logo-img {
        height: 55px;
    }

    .header-right .btn-primary {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 600px;
    }

    .title-line-1 {
        font-size: 1.2rem;
    }

    .title-line-2 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Hide video on mobile for performance
    .hero-video {
        display: none;
    } */

    /* Show video on mobile by removing the overlay background */
    .hero::before {
        display: none;
    }

    /* Stack the split hero text and buttons on mobile */
    .hero-container-split {
        flex-direction: column;
        align-items: center;
        /* Center horizontally */
        text-align: center;
        gap: 1.5rem;
    }

    .hero-text-left {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons-right {
        justify-content: center;
    }

    /* .about-video {
        display: none;
    } */

    .about-preview .image-wrapper {
        background: #ddd;
    }

    /* Social Sidebar */
    .social-sidebar {
        display: none;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

    /* Product Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .category-card {
        padding: 1.25rem 0.75rem;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-filter {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
    }

    /* Process */
    .process-timeline {
        grid-template-columns: 1fr;
    }

    /* 3D Custom Manufacturing */
    .custom-3d-grid-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .custom-3d-hero {
        height: 400px;
    }

    .custom-3d-products {
        grid-template-columns: 1fr;
    }

    /* Brands section marquee naturally flows without responsive stacking */
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

/* ========== MOBILE SMALL (320px - 480px) ========== */
@media (max-width: 480px) {

    /* Container */
    .container,
    .container-fluid {
        padding: 0 1rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    /* Typography */
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Header */
    .header-container {
        padding: 0.6rem 1rem;
    }

    .header-left .logo-img {
        height: 55px;
    }

    /* Hero */
    .hero-content {
        padding: 1rem;
    }

    .title-line-1 {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .title-line-2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-buttons .btn {
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
    }

    /* Stats */
    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-suffix {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    /* Process Steps */
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-description {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-title {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-buttons .btn {
        padding: 1rem 2rem;
    }

    /* WhatsApp */
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 75px;
    }
}

/* ========== LANDSCAPE MOBILE ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .header,
    .social-sidebar,
    .whatsapp-float,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 20pt;
    }

    h3 {
        font-size: 16pt;
    }

    a {
        text-decoration: underline;
    }

    .hero-video {
        display: none;
    }
}