/* ========================================
   DOQUE - Mobile Responsive Styles
   Güncellenmiş ve optimize edilmiş versiyon
======================================== */

/* ========================================
   DİL SEÇİCİ - MASAÜSTÜ GİZLE
======================================== */
.language-selector-mobile {
    display: none;
}

/* ========================================
   BASE MOBILE STYLES
======================================== */
@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }

    nav {
        padding: 0.3rem 5% !important;
    }
}

/* ========================================
   TABLET & MOBILE NAVIGATION
======================================== */
@media (max-width: 768px) {
    
    header {
        padding: 0;
    }

    nav {
        padding: 0.5rem 4% !important;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .logo {
        order: 1;
        z-index: 1002;
    }

    .logo-image {
        height: 60px !important;
    }

    /* MASAÜSTÜ DİL SEÇİCİYİ MOBİLDE GİZLE */
    .language-dropdown.desktop-only {
        display: none !important;
    }

    /* Hamburger Menu Toggle */
    .menu-toggle {
        order: 3;
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        z-index: 1002;
        cursor: pointer;
        padding: 10px;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: #1a1a1a;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
    }

    /* ANA SAYFA için hamburger BEYAZ */
    body:not([class*="page-"]) header:not(.scrolled) .menu-toggle span,
    .video-hero ~ header:not(.scrolled) .menu-toggle span {
        background: #ffffff !important;
    }

    /* DİĞER SAYFALAR için hamburger SİYAH */
    body[class*="page-"] .menu-toggle span,
    header.scrolled .menu-toggle span {
        background: #1a1a1a !important;
    }

    /* Hamburger animation when active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: #1a1a1a !important;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #1a1a1a !important;
    }

    /* Full Screen Navigation Menu */
    .nav-links {
        order: 4;
        position: fixed !important;
        top: 0;
        right: 0;
        left: auto !important;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2rem !important;
        transform: translateX(100%) !important;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        z-index: 1001;
        padding: 2rem;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0) !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for menu items */
    .nav-links.active li:nth-child(1) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.45s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.55s; }

    /* DİĞER SAYFALAR için menü linkleri SİYAH (varsayılan) */
    .nav-links a {
        color: #1a1a1a !important;
        text-shadow: none !important;
        font-size: 1.3rem !important;
        letter-spacing: 3px !important;
        padding: 1rem 2rem !important;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        position: relative;
        overflow: visible;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    /* ANA SAYFA için menü linkleri BEYAZ */
    body:not([class*="page-"]) .nav-links a {
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* SADECE ALT ÇİZGİ ANİMASYONU */
    .nav-links a::before {
        display: none !important;
    }

    .nav-links a:active {
        background: transparent !important;
        transform: scale(0.98);
        opacity: 0.7;
    }

    .nav-links a:focus {
        outline: none !important;
    }

    /* ========================================
       DİL SEÇİCİ - ULTRA MİNİMAL & TEMİZ
    ======================================== */
    .language-selector-mobile {
        display: block !important;
        width: 100%;
        margin-top: 1.2rem;
        padding-top: 1rem;
        border-top: none !important;
        text-align: center;
        list-style: none;
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.active .language-selector-mobile {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.65s;
    }

    .mobile-lang-title {
        display: none !important;
    }

    .mobile-lang-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }

    .mobile-lang-btn {
        background: transparent;
        color: rgba(0,0,0,0.6);
        border: none;
        border-bottom: 1.5px solid transparent;
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.25s ease;
        border-radius: 0;
        min-width: auto;
        text-align: center;
        -webkit-tap-highlight-color: transparent;
        font-weight: 400;
    }

    body:not([class*="page-"]) .mobile-lang-btn {
        color: rgba(255,255,255,0.65);
    }

    .mobile-lang-btn:hover {
        color: #1a1a1a;
        border-bottom-color: rgba(0,0,0,0.25);
    }

    body:not([class*="page-"]) .mobile-lang-btn:hover {
        color: #ffffff;
        border-bottom-color: rgba(255,255,255,0.4);
    }

    .mobile-lang-btn:active {
        transform: scale(0.95);
        opacity: 0.7;
    }

    .mobile-lang-btn.active {
        color: #1a1a1a;
        border-bottom-color: #1a1a1a;
        font-weight: 500;
    }

    body:not([class*="page-"]) .mobile-lang-btn.active {
        color: #ffffff;
        border-bottom-color: #ffffff;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Menu overlay backdrop */
    .nav-links::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        transition: opacity 0.6s ease;
        pointer-events: none;
        z-index: -1;
    }

    .nav-links.active::after {
        opacity: 1;
    }
}

/* ========================================
   EXTRA SMALL MOBILE (<480px)
======================================== */
@media (max-width: 480px) {
    .logo-image {
        height: 50px !important;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }

    .mobile-lang-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }

    .language-selector-mobile {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
        letter-spacing: 3px !important;
    }

    .hero-content p {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }
}

/* ========================================
   HOME PAGE (INDEX.HTML) MOBILE
======================================== */
@media (max-width: 768px) {
    
    .video-hero {
        height: 100vh;
        min-height: 600px;
    }

    .video-hero video {
        object-fit: cover;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        letter-spacing: 4px !important;
        margin-bottom: 1rem;
        padding: 0 1rem;
        animation: fadeInUp 1s ease-out 0.3s both;
    }

    .hero-content p {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
        padding: 0 1rem;
        animation: fadeInUp 1s ease-out 0.6s both;
    }

    .scroll-indicator {
        font-size: 0.7rem !important;
        bottom: 30px !important;
        animation: fadeInUp 1s ease-out 0.9s both;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ========================================
   KOLEKSIYON PAGE MOBILE
======================================== */
@media (max-width: 768px) {
    
    main {
        margin-top: 70px !important;
        padding: 40px 4% 60px !important;
    }

    .page-title {
        font-size: 1.8rem !important;
        letter-spacing: 4px !important;
        margin-bottom: 1.5rem !important;
        animation: fadeInDown 0.6s ease-out;
    }

    .info-notice {
        padding: 1.5rem 1rem !important;
        margin: 0 auto 2rem !important;
        font-size: 0.9rem !important;
        animation: fadeIn 0.8s ease-out 0.2s both;
    }

    .filter-section {
        margin-bottom: 3rem !important;
        animation: fadeIn 0.8s ease-out 0.3s both;
    }

    .filter-label {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
    }

    .filter-dropdown {
        max-width: 100% !important;
        width: 100%;
    }

    .filter-selected {
        padding: 0.9rem 1.5rem !important;
        font-size: 0.75rem !important;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: all 0.3s ease;
    }

    .filter-selected:active {
        transform: scale(0.98);
        background: #f5f5f5;
    }

    .filter-selected:focus {
        outline: none !important;
    }

    .filter-options {
        max-height: 250px !important;
        animation: slideDown 0.3s ease-out;
    }

    .filter-option {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.75rem !important;
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
    }

    .filter-option:active {
        background: rgba(0, 0, 0, 0.05);
        transform: scale(0.98);
    }

    .filter-option:focus {
        outline: none !important;
    }

    .search-container {
        max-width: 100% !important;
        margin: 0 auto 2rem !important;
        animation: fadeIn 0.8s ease-out 0.4s both;
    }

    #searchInput {
        padding: 0.9rem 1.5rem !important;
        font-size: 16px !important;
        cursor: text;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: all 0.3s ease;
    }

    #searchInput:focus {
        outline: none !important;
        border-color: #1a1a1a;
        box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
    }

    .clear-filters {
        width: 100%;
        max-width: 100% !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.75rem !important;
        margin: 0 auto 2rem !important;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        animation: fadeIn 0.8s ease-out 0.5s both;
    }

    .clear-filters:active {
        transform: scale(0.97);
        background: #333;
    }

    .clear-filters:focus {
        outline: none !important;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .collection-item {
        border: 1px solid #f0f0f0;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        animation: fadeInUp 0.5s ease-out both;
    }

    .collection-item:nth-child(1) { animation-delay: 0.1s; }
    .collection-item:nth-child(2) { animation-delay: 0.15s; }
    .collection-item:nth-child(3) { animation-delay: 0.2s; }
    .collection-item:nth-child(4) { animation-delay: 0.25s; }
    .collection-item:nth-child(5) { animation-delay: 0.3s; }
    .collection-item:nth-child(6) { animation-delay: 0.35s; }

    .collection-item:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .collection-item:focus {
        outline: none !important;
    }

    .collection-image {
        aspect-ratio: 3/4;
    }

    .collection-info {
        padding: 0.8rem !important;
    }

    .collection-code {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
    }

    .no-results {
        padding: 3rem 1rem !important;
        font-size: 0.95rem !important;
        animation: fadeIn 0.6s ease-out;
    }

    .image-modal {
        padding: 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        animation: fadeIn 0.3s ease-out;
    }

    .modal-content {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        border-radius: 0;
        animation: zoomIn 0.3s ease-out;
    }

    .modal-content img {
        max-height: 90vh !important;
        width: auto;
        max-width: 100%;
        cursor: auto;
    }

    .modal-close {
        top: 20px !important;
        right: 20px !important;
        font-size: 2rem !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(0,0,0,0.5);
        color: white;
        border-radius: 50%;
        cursor: pointer;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: all 0.3s ease;
    }

    .modal-close:active {
        transform: scale(0.9);
        background: rgba(0,0,0,0.7);
    }

    .modal-close:focus {
        outline: none !important;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 250px;
        }
    }

    @keyframes zoomIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
}

@media (max-width: 480px) {
    .collection-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .page-title {
        font-size: 1.5rem !important;
        letter-spacing: 3px !important;
    }

    .filter-selected,
    #searchInput {
        font-size: 0.7rem !important;
        padding: 0.8rem 1.2rem !important;
    }
}

/* ========================================
   SATIS NOKTALARI PAGE MOBILE
======================================== */
@media (max-width: 768px) {
    
    .stores-section {
        padding: 60px 4% 80px !important;
    }

    .page-title {
        font-size: 1.8rem !important;
        letter-spacing: 4px !important;
        margin-bottom: 1.5rem !important;
        animation: fadeInDown 0.6s ease-out;
    }

    .page-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 3rem !important;
        padding: 0 1rem;
        animation: fadeIn 0.8s ease-out 0.2s both;
    }

    .filter-section {
        margin-bottom: 3rem !important;
        animation: fadeIn 0.8s ease-out 0.3s both;
    }

    .filter-label {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
    }

    .dropdown-container {
        max-width: 100% !important;
        width: 100%;
        position: relative;
    }

    .dropdown-selected {
        padding: 0.9rem 1.5rem !important;
        font-size: 0.75rem !important;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: all 0.3s ease;
    }

    .dropdown-selected:active {
        transform: scale(0.98);
        background: #f5f5f5;
    }

    .dropdown-selected:focus {
        outline: none !important;
    }

    .dropdown-menu {
        max-height: 250px !important;
        position: absolute;
        width: 100%;
        animation: slideDown 0.3s ease-out;
    }

    .dropdown-item {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.75rem !important;
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
    }

    .dropdown-item:active {
        background: rgba(0, 0, 0, 0.05);
        transform: scale(0.98);
    }

    .dropdown-item:focus {
        outline: none !important;
    }

    .stores-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 4rem !important;
    }

    .store-card {
        padding: 1.5rem !important;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        animation: fadeInUp 0.5s ease-out both;
    }

    .store-card:nth-child(1) { animation-delay: 0.1s; }
    .store-card:nth-child(2) { animation-delay: 0.2s; }
    .store-card:nth-child(3) { animation-delay: 0.3s; }
    .store-card:nth-child(4) { animation-delay: 0.4s; }
    .store-card:nth-child(5) { animation-delay: 0.5s; }

    .store-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .store-card:focus {
        outline: none !important;
    }

    .store-name {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }

    .info-row {
        gap: 0.8rem !important;
    }

    .info-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .info-text {
        font-size: 0.85rem !important;
    }

    .info-text a {
        pointer-events: auto;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: opacity 0.2s ease;
    }

    .info-text a:active {
        opacity: 0.7;
    }

    .info-text a:focus {
        outline: none !important;
    }

    .wholesale-info {
        padding: 3rem 4% !important;
        animation: fadeIn 0.8s ease-out 0.6s both;
    }

    .wholesale-title {
        font-size: 1.4rem !important;
        letter-spacing: 3px !important;
        margin-bottom: 1rem !important;
    }

    .wholesale-text {
        font-size: 0.9rem !important;
        margin-bottom: 2rem !important;
    }

    .wholesale-button {
        padding: 0.9rem 2rem !important;
        font-size: 0.7rem !important;
        width: 100%;
        max-width: 300px;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
    }

    .wholesale-button:active {
        transform: scale(0.97);
        background: #333;
    }

    .wholesale-button:focus {
        outline: none !important;
    }
}

/* ========================================
   HAKKIMIZDA PAGE MOBILE
======================================== */
@media (max-width: 768px) {
    
    .about-section {
        padding: 60px 5% 80px !important;
    }

    .page-title {
        font-size: 1.8rem !important;
        letter-spacing: 4px !important;
        margin-bottom: 2.5rem !important;
        animation: fadeInDown 0.6s ease-out;
    }

    .about-text {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
        margin-bottom: 2rem !important;
        animation: fadeIn 0.8s ease-out 0.2s both;
    }

    .about-highlight {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin: 2rem 0 !important;
        animation: fadeIn 0.8s ease-out 0.4s both;
    }

    .divider {
        width: 60px !important;
        margin: 2rem auto !important;
        animation: scaleX 0.6s ease-out 0.3s both;
    }

    @keyframes scaleX {
        from {
            transform: scaleX(0);
        }
        to {
            transform: scaleX(1);
        }
    }
}

/* ========================================
   ILETISIM PAGE MOBILE
======================================== */
@media (max-width: 768px) {
    
    .contact-section {
        padding: 60px 4% 80px !important;
    }

    .page-title {
        font-size: 1.8rem !important;
        letter-spacing: 4px !important;
        margin-bottom: 3rem !important;
        animation: fadeInDown 0.6s ease-out;
    }

    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .contact-info {
        gap: 2.5rem !important;
        order: 2;
        animation: fadeIn 0.8s ease-out 0.4s both;
    }

    .info-label {
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
    }

    .info-value {
        font-size: 0.95rem !important;
    }

    .info-value a {
        cursor: pointer;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: opacity 0.2s ease;
    }

    .info-value a:active {
        opacity: 0.7;
    }

    .info-value a:focus {
        outline: none !important;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem !important;
        order: 1;
        animation: fadeIn 0.8s ease-out 0.2s both;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .form-label {
        font-size: 0.7rem !important;
    }

    .form-input,
    .form-textarea {
        padding: 0.9rem 1rem !important;
        font-size: 16px !important;
        cursor: text;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
        transition: all 0.3s ease;
    }

    .form-input:focus,
    .form-textarea:focus {
        outline: none !important;
        border-color: #1a1a1a;
        box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
    }

    .form-textarea {
        min-height: 140px !important;
    }

    .form-button {
        width: 100% !important;
        padding: 1rem 2rem !important;
        font-size: 0.7rem !important;
        align-self: stretch !important;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
    }

    .form-button:active {
        transform: scale(0.97);
        background: #333;
    }

    .form-button:focus {
        outline: none !important;
    }

    .success-message {
        font-size: 0.85rem !important;
        padding: 1.2rem !important;
        animation: slideDown 0.4s ease-out;
    }
}

/* ========================================
   FOOTER MOBILE
======================================== */
@media (max-width: 768px) {
    
    footer {
        padding: 1.5rem 4% !important;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)) !important;
    }

    .social-links {
        gap: 1.8rem !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-links a {
        font-size: 1.1rem !important;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none !important;
    }

    .social-links a:active {
        transform: scale(0.9);
    }

    .social-links a:focus {
        outline: none !important;
    }

    .social-icon {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ========================================
   GLOBAL TAP HIGHLIGHT REMOVAL
======================================== */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

*:focus {
    outline: none !important;
}

*:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* ========================================
   TOUCH & INTERACTION IMPROVEMENTS
======================================== */
@media (max-width: 768px) {
    
    a, button, input, select, textarea {
        min-height: 44px;
    }

    @media (hover: hover) {
        .collection-item:hover,
        .store-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
    }

    .collection-item,
    .store-card,
    a,
    button {
        cursor: pointer;
        pointer-events: auto;
    }

    .nav-links a {
        -webkit-user-select: none;
        user-select: none;
    }

    body, .nav-links, .filter-options, .dropdown-menu {
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   SAFE AREA SUPPORT (iPhone X+)
======================================== */
@media (max-width: 768px) {
    
    header {
        padding-top: env(safe-area-inset-top);
    }

    .nav-links {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom)) !important;
    }

    footer {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)) !important;
    }
}

/* ========================================
   LANDSCAPE MODE MOBILE
======================================== */
@media (max-width: 768px) and (orientation: landscape) {
    
    .video-hero {
        height: 100vh;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero-content p {
        font-size: 0.8rem !important;
    }

    .nav-links {
        padding: 1rem;
        justify-content: flex-start !important;
        padding-top: 80px;
    }

    .nav-links a {
        font-size: 1.1rem !important;
        padding: 0.7rem 1.5rem !important;
    }

    .mobile-lang-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }
}

/* ========================================
   VERY SMALL DEVICES (< 360px)
======================================== */
@media (max-width: 360px) {
    
    .page-title {
        font-size: 1.4rem !important;
        letter-spacing: 2px !important;
    }

    .hero-content h1 {
        font-size: 1.4rem !important;
    }

    .nav-links a {
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
    }

    .collection-code,
    .info-text {
        font-size: 0.75rem !important;
    }

    .logo-image {
        height: 45px !important;
    }

    .mobile-lang-buttons {
        gap: 0.4rem;
    }

    .mobile-lang-btn {
        font-size: 0.68rem;
        padding: 0.2rem 0.3rem;
    }
}

/* ========================================
   REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}