/* responsive.css - Media queries and responsive adjustments */
@media (max-width: 1024px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2.5rem;
    }

    .service-slide .card {
        gap: 10px;
    }

    #about .container.grid-2 {
        grid-template-columns: 1fr;
    }

    #about img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 100px var(--spacing-sm);
        gap: var(--spacing-md);
        z-index: 1000;
        text-align: center;
    }
    
    nav.active .nav-list {
        display: flex;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }

    /* Mobile Submenu */
    .has-submenu .nav-link {
        justify-content: center;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 10px;
        display: none;
        background: transparent;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .submenu li a {
        font-size: 1.1rem;
        padding: 8px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none; /* Hide the main CTA on mobile to save space */
    }

    /* Add the CTA back inside the mobile menu if needed, 
       but for now let's just fix the overlap */
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 580px) {
    /* Services Mobile Redesign - Only for small phones */
    #services .service-slide .card p {
        display: none;
    }

    #services .service-slide .card h3 {
        display: block;
        text-align: center;
        font-size: 1.25rem;
        margin-top: 16px;
        font-weight: 600;
    }

    #services .service-slide .card .btn-premium {
        display: flex;
        margin: 10px auto 10px auto;
        width: fit-content;
    }

    #services .service-slide .card {
        padding: 0;
        overflow: hidden;
        border: none;
        background: transparent;
        gap: 0;
    }

    #services .service-slide .card figure {
        margin: 0;
        width: 100%;
        aspect-ratio: 4/5;
    }

    #services .service-slide .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .services-slider-container {
        margin: 0;
        padding: 0;
        gap: 0;
    }

    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        border: none;
        width: 44px;
        height: 44px;
        z-index: 20;
    }

    .slider-arrow:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        margin-top: 24px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}
