/* ============================================
   7. RESPONSIVE - Mobile & Tablet Adaptations
   ============================================ */

@media (max-width: 768px) {
    /* General Mobile Fixes */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    body {
        cursor: auto;
    }

    /* Hide Custom Cursor on Mobile */
    .cursor, .cursor-follower {
        display: none;
    }

    /* Theme Toggle Position */
    .theme-toggle {
        top: auto;
        bottom: 30px;
        right: 30px;
    }

    /* ============================================
       NAVIGATION - MOBILE
       ============================================ */

    nav {
        padding: 1rem;
        width: 90%;
        top: 5px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 500;
    }

    body.dark-mode .nav-links a {
        color: #fff;
    }

    body.dark-mode .menu-toggle.active span {
        background: #fff;
    }

    /* ============================================
       HERO SECTION - MOBILE
       ============================================ */

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 0;
    }

    body.dark-mode .hero {
        padding: 0;
    }

    .section-decoration {
        display: none;
    }

    .hero-decoration {
        display: none;
    }

    .hero-container {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        min-height: 100vh;
    }

    .hero-content {
        position: absolute;
        bottom: 80px;
        left: 0;
        right: 0;
        transform: none;
        padding: 0 5%;
        z-index: 10;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .hero-content-inner {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 3rem;
        line-height: 1.1;
        font-weight: 700;
        color: #fff;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
        text-align: left;
    }

    body.dark-mode .hero-content h1 {
        color: #fff;
    }

    .hero-content button {
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
    }

    body.dark-mode .hero-content button {
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
        background: rgba(0, 0, 0, 0.8);
    }

    .hero-content button::before {
        background: #d4ff00;
    }

    .hero-content button:hover {
        color: #000;
    }

    .hero-video {
        min-height: 100vh;
        padding: 0;
        width: 100%;
        position: relative;
    }

    .hero-video-container {
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-video-group {
        width: 100%;
        height: 100%;
    }

    .hero-video-shadow {
        display: none;
    }

    .hero-video-wrapper {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border: none;
        border-radius: 0;
        overflow: hidden;
    }

    body.dark-mode .hero-video-wrapper {
        border: none;
    }

    .hero-video-wrapper::before {
        display: none;
    }

    .hero-video-wrapper::after {
        display: none;
        animation: none;
    }

    .hero-video-wrapper .light-bar {
        display: none;
    }

    .hero-video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }

    /* ============================================
       WHO ARE WE SECTION - MOBILE
       ============================================ */

    .who-are-we {
        width: 90%;
        padding: 3rem 0;
    }

    .who-are-we h2 {
        font-size: 2rem;
    }

    .who-are-we h2::before {
        font-size: 8rem;
        top: -3rem;
    }

    .ar-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ============================================
       WHAT WE DO SECTION - MOBILE
       ============================================ */

    .what-we-do {
        padding: 3rem 0;
    }

    .what-we-do-container {
        width: 90%;
    }

    .what-we-do h2 {
        font-size: 2rem;
    }

    .what-we-do h2::before {
        font-size: 8rem;
        top: -3rem;
    }

    .what-we-do-subtitle {
        font-size: 1rem;
    }

    .carousel-container {
        padding: 1rem 0;
    }

    .carousel-track {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }

    .ar-case-card {
        width: 90%;
        margin: 0 auto;
        border-radius: 25px;
        display: flex;
        flex-direction: column;
    }

    .ar-video-container {
        padding-bottom: 177.78%;
        flex-shrink: 0;
    }

    .ar-case-content {
        flex-grow: 0;
        flex-shrink: 0;
    }

    .video-play-overlay {
        display: none;
    }

    /* ============================================
       STATS SECTION - MOBILE
       ============================================ */

    .stats {
        padding: 3rem 0;
        overflow: hidden;
    }

    .stats::before {
        display: none;
    }

    .stats::after {
        left: 5%;
        font-size: 8rem;
    }

    .stats-container {
        width: 90%;
    }

    .stats h2 {
        font-size: 2rem;
    }

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

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

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

    .stat-label {
        font-size: 1rem;
    }

    .stat-description {
        font-size: 0.9rem;
    }

    /* ============================================
       CASE OVERLAY MODAL - MOBILE
       ============================================ */

    .case-overlay-content {
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        width: 100%;
        overflow-y: auto;
        padding: 0;
        background: #fff;
    }

    body.dark-mode .case-overlay-content {
        background: #1a1a1a;
    }

    .case-overlay-video {
        order: 1;
        width: 90%;
        margin: 2rem auto 0;
        position: relative;
        aspect-ratio: 9 / 16;
        border-radius: 25px;
        overflow: hidden;
        flex-shrink: 0;
        background: #000;
    }

    .case-overlay-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .case-overlay-info {
        order: 2;
        padding: 2rem 5%;
        flex-shrink: 0;
    }

    .case-overlay-info h2 {
        font-size: 2rem;
    }

    .case-overlay-description {
        font-size: 1rem;
    }

    .case-overlay-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .case-overlay-stat-value {
        font-size: 1.8rem;
    }

    .case-overlay-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* ============================================
       FOOTER - MOBILE
       ============================================ */

    footer {
        padding: 3rem 0 2rem;
    }

    footer::before {
        left: 5%;
        font-size: 8rem;
    }

    .footer-content {
        width: 90%;
    }

    .footer-content h2 {
        font-size: 2rem;
    }

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

    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .language-selector {
        justify-content: center;
    }
}
