/* Rockstar Collision - Mobile CSS */

/* Mobile-First Responsive Design */
@media screen and (max-width: 768px) {
    /* Global */
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Header */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        padding: 0 15px;
    }

    .hero-logo-img {
        width: 150px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

    .about-stats {
        justify-content: center;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-item.large {
        height: 250px;
    }

    /* Testimonials Section */
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .testimonials-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .testimonials-carousel {
        margin-bottom: 0.5rem;
        min-height: 250px;
    }

    .testimonial-card {
        margin-bottom: 0.25rem;
    }

    .testimonials-dots {
        order: -1;
    }

    /* Service images on mobile */
    .service-image {
        height: 200px;
    }

    /* Gallery images on mobile */
    .gallery-item {
        height: 220px;
    }

    .gallery-item.large {
        height: 260px;
    }

    /* CAPTCHA on mobile */
    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: left;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

@media screen and (max-width: 480px) {
    /* Extra small screens */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

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

/* Touch and interaction improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .btn:hover {
        transform: none;
    }

    .gallery-item:hover .gallery-overlay {
        transform: none;
    }

    .nav-link:hover {
        color: var(--text-primary);
    }

    .service-link:hover {
        color: var(--accent-cyan);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-logo-img,
    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 50px 0;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-logo-img {
        width: 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}
