/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* Large Screens (min-width: 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* Tablet & Smaller Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(3rem, 5vw, 4rem);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-us-container {
        gap: 40px;
        align-items: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 0;
    }

    .step-icon {
        margin: 0;
        min-width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .step-number {
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        font-size: 3rem;
        opacity: 0.5;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Cursor disable on mobile */
    body {
        cursor: auto;
    }
    .cursor-dot, .cursor-ring {
        display: none !important;
    }

    /* Navbar */
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        z-index: 1001;
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .hamburger.active {
        transform: rotate(90deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        border-left: 1px solid rgba(200, 169, 126, 0.2);
        z-index: 1000;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .navbar .btn {
        display: none; 
    }

    /* Hero */
    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .hero-subtext {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* General */
    .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Grids */
    .services-grid,
    .why-us-container,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .why-us-image {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item h4 {
        font-size: 2.2rem;
    }

    /* Process */
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step-number {
        top: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Gallery Tabs */
    .filter-tabs {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        flex: 1 1 auto;
        text-align: center;
    }

    /* Slider */
    .quote {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    .slider-btn {
        display: none;
    }
    .slide {
        padding: 20px 10px;
    }
    
    /* Contact */
    .contact-form {
        padding: 30px 20px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-grid {
        text-align: center;
    }
    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-btn {
        width: 100%;
    }

    .gallery-item img {
        height: 250px;
        max-width: 100%;
        object-fit: cover;
    }
}

/* Extra Small (max-width: 320px) */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}
