/* Tablet and smaller desktops */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem 5%;
        height: 600px;
    }

    .gallery-item {
        height: 250px;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--dark-text);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-text);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        padding: 1rem 5%;
        height: auto;
    }

    .gallery-item {
        height: 250px;
        overflow: hidden;
    }

    .gallery-item img {
        height: 100% !important; /* Force full height */
        transform: none !important; /* Disable parallax on mobile */
    }

    .gallery-caption {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* Mobile devices */
@media screen and (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
    }

    .services-overview,
    .why-choose-us {
        padding: 3rem 1rem;
    }

    .service-card,
    .feature {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

/* Small mobile devices */
@media screen and (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .service-card i,
    .feature i {
        font-size: 2rem;
    }

    .gallery-item {
        height: 180px;
    }
} 