/* Mobile-specific styles */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #1a1a1a;
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 1001;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    nav.nav-scrolled .mobile-menu-toggle {
        color: #1a1a1a;
    }

    /* Header */
    .header-content {
        margin-top: 25vh;
        padding: 0 1rem;
    }

    .header-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .header-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Projects Section Mobile Styles */
    .projects {
        padding: 2rem 0;
    }

    .projects .container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
        width: 100%;
    }

    /* Reset all project item variations for mobile */
    .project-item,
    .project-item.wide,
    .project-item.large,
    .project-item.tall {
        width: 100% !important;
        height: 250px !important;
        margin: 0 !important;
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }

    .project-image {
        width: 100% !important;
        height: 100% !important;
    }

    .project-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .project-overlay {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.7);
        opacity: 1;
        transform: translateY(0);
        width: 100% !important;
        height: auto !important;
    }

    .project-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .project-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .project-link i {
        font-size: 0.8rem;
    }

    /* Project Item Touch Interactions */
    .project-item {
        position: relative;
        overflow: hidden;
    }

    .project-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
        padding: 1rem;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    /* Project Item Animation */
    .project-item:active .project-overlay {
        transform: translateY(-5px);
    }

    /* Project Image Loading */
    .project-image img {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .project-image img.loaded {
        opacity: 1;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .author-image {
        margin: 0 auto;
    }

    .testimonial-item blockquote {
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Partners Section */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .partner-logo {
        padding: 0.5rem;
    }

    .partner-logo img {
        max-width: 100%;
        height: auto;
    }

    /* FAQ Section */
    .faq {
        padding: 2rem 1rem;
    }

    .faq h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .faq-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .faq-item {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .faq-question {
        padding: 1rem;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8f8f8;
        transition: background-color 0.3s ease;
    }

    .faq-question:active {
        background: #f0f0f0;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        margin: 0;
        padding-right: 2rem;
        color: #333;
    }

    .faq-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .faq-toggle i {
        font-size: 1rem;
        color: #666;
        transition: transform 0.3s ease;
    }

    .faq-answer {
        padding: 0;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #666;
        margin: 0;
        padding: 1rem;
    }

    .faq-answer ul {
        margin: 0.5rem 0 0 1.5rem;
        padding: 0 1rem 1rem;
    }

    .faq-answer li {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #666;
        margin-bottom: 0.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info {
        margin-bottom: 2rem;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-form {
        max-width: 100%;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content .lead-text {
        font-size: 1rem;
    }

    .about-image {
        height: 300px;
    }

    /* Project Detail Overlay */
    .project-detail-content {
        padding: 2rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-info {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 350px;
    }

    /* Services Section Mobile Styles */
    .services {
        padding: 2rem 1rem;
        background: #f8f8f8;
    }

    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item {
        background: #fff;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .service-icon {
        width: 50px;
        height: 50px;
        background: #f0f0f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .service-icon i {
        font-size: 1.5rem;
        color: #333;
    }

    .service-item h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: #333;
    }

    .service-item p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #666;
        margin: 0;
    }
} 