/* ===== MOBİL ÖZEL CSS DİZAYNI ===== */
/* Dedicated mobile-first design completely separated from web view */

:root {
    /* Mobile-specific color palette */
    --mobile-primary: #6366f1;
    --mobile-secondary: #8b5cf6;
    --mobile-accent: #3b82f6;
    --mobile-success: #10b981;
    --mobile-warning: #f59e0b;
    --mobile-error: #ef4444;
    
    /* Mobile spacing system */
    --mobile-xs: 0.25rem;
    --mobile-sm: 0.5rem;
    --mobile-base: 0.75rem;
    --mobile-lg: 1rem;
    --mobile-xl: 1.25rem;
    --mobile-2xl: 1.5rem;
    --mobile-3xl: 2rem;
    
    /* Mobile typography */
    --mobile-font-xs: 0.7rem;
    --mobile-font-sm: 0.8rem;
    --mobile-font-base: 0.9rem;
    --mobile-font-lg: 1rem;
    --mobile-font-xl: 1.1rem;
    --mobile-font-2xl: 1.3rem;
    --mobile-font-3xl: 1.5rem;
    
    /* Mobile specific measurements */
    --mobile-header-height: 60px;
    --mobile-nav-width: 280px;
    --mobile-touch-target: 44px;
    --mobile-container-padding: 1rem;
    
    /* Mobile shadows and effects */
    --mobile-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --mobile-shadow-base: 0 2px 6px rgba(0, 0, 0, 0.15);
    --mobile-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    --mobile-shadow-xl: 0 8px 25px rgba(0, 0, 0, 0.15);
    
    /* Mobile gradients */
    --mobile-gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --mobile-gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --mobile-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ===== MOBILE BASE RESET ===== */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
    -webkit-touch-callout: none;
}

html {
    font-size: 14px; /* Smaller base font for mobile */
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #1f2937;
    background: #f9fafb;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-top: var(--mobile-header-height);
    /* iOS specific fixes */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

/* ===== MOBILE TYPOGRAPHY SYSTEM ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--mobile-base);
    color: #111827;
}

h1 { font-size: var(--mobile-font-3xl); }
h2 { font-size: var(--mobile-font-2xl); }
h3 { font-size: var(--mobile-font-xl); }
h4 { font-size: var(--mobile-font-lg); }
h5 { font-size: var(--mobile-font-base); }
h6 { font-size: var(--mobile-font-sm); }

p {
    margin: 0 0 var(--mobile-base);
    font-size: var(--mobile-font-base);
    line-height: 1.6;
    color: #4b5563;
}

/* ===== MOBILE CONTAINER SYSTEM ===== */
.mobile-container {
    width: 100%;
    max-width: 100vw;
    padding: 0 var(--mobile-container-padding);
    margin: 0 auto;
}

.mobile-section {
    padding: var(--mobile-2xl) 0;
    width: 100%;
    overflow: hidden;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mobile-header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--mobile-container-padding);
    /* iOS safe area support */
    padding-top: env(safe-area-inset-top);
    padding-left: max(var(--mobile-container-padding), env(safe-area-inset-left));
    padding-right: max(var(--mobile-container-padding), env(safe-area-inset-right));
}

.mobile-logo {
    font-size: var(--mobile-font-xl);
    font-weight: 700;
    color: var(--mobile-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--mobile-sm);
    min-height: var(--mobile-touch-target);
    touch-action: manipulation;
}

.mobile-logo img {
    height: 40px;
    width: auto;
    max-width: 150px;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--mobile-base);
    min-width: var(--mobile-touch-target);
    min-height: var(--mobile-touch-target);
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-nav-toggle:active {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(0.95);
}

.mobile-nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--mobile-gradient-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

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

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

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    height: -webkit-fill-available;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* iOS safe area support */
    padding-top: max(80px, calc(80px + env(safe-area-inset-top)));
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--mobile-base);
    padding: 0 var(--mobile-2xl);
}

.mobile-nav-item {
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--mobile-lg) var(--mobile-xl);
    color: #1f2937;
    text-decoration: none;
    font-size: var(--mobile-font-lg);
    font-weight: 600;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-height: var(--mobile-touch-target);
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--mobile-gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus::before {
    left: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: white;
    border-color: var(--mobile-primary);
    transform: translateY(-2px);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-nav-link:active {
    transform: translateY(0) scale(0.98);
}

/* ===== MOBILE HERO SECTION ===== */
.mobile-hero {
    padding: var(--mobile-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.03"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
    z-index: 0;
}

.mobile-hero-content {
    position: relative;
    z-index: 1;
}

.mobile-hero-title {
    font-size: clamp(var(--mobile-font-2xl), 5vw, var(--mobile-font-3xl));
    font-weight: 800;
    margin-bottom: var(--mobile-lg);
    background: var(--mobile-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.mobile-hero-subtitle {
    font-size: var(--mobile-font-base);
    color: #6b7280;
    margin-bottom: var(--mobile-2xl);
    line-height: 1.5;
}

.mobile-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-base);
    align-items: center;
}

/* ===== MOBILE BUTTONS ===== */
.mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--mobile-sm);
    padding: var(--mobile-lg) var(--mobile-xl);
    border: none;
    border-radius: 12px;
    font-size: var(--mobile-font-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: var(--mobile-touch-target);
    min-width: var(--mobile-touch-target);
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
}

.mobile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
}

.mobile-btn:active::before {
    left: 100%;
}

.mobile-btn-primary {
    background: var(--mobile-gradient-primary);
    color: white;
    box-shadow: var(--mobile-shadow-base);
}

.mobile-btn-primary:hover,
.mobile-btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.mobile-btn-secondary {
    background: white;
    color: var(--mobile-primary);
    border: 2px solid var(--mobile-primary);
    box-shadow: var(--mobile-shadow-sm);
}

.mobile-btn-secondary:hover,
.mobile-btn-secondary:focus {
    background: var(--mobile-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: var(--mobile-shadow-base);
}

.mobile-btn-whatsapp:hover,
.mobile-btn-whatsapp:focus {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--mobile-shadow-lg);
}

/* ===== MOBILE CARDS ===== */
.mobile-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--mobile-shadow-base);
    padding: var(--mobile-xl);
    margin-bottom: var(--mobile-lg);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mobile-gradient-primary);
}

.mobile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-card:active {
    transform: translateY(-2px);
}

/* ===== MOBILE PRODUCT CARDS ===== */
.mobile-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--mobile-lg);
    padding: 0;
}

.mobile-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--mobile-shadow-base);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.mobile-product-card:active {
    transform: scale(0.98);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mobile-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mobile-product-card:hover .mobile-product-image img {
    transform: scale(1.05);
}

.mobile-product-badge {
    position: absolute;
    top: var(--mobile-base);
    left: var(--mobile-base);
    background: var(--mobile-gradient-success);
    color: white;
    padding: var(--mobile-xs) var(--mobile-base);
    border-radius: 20px;
    font-size: var(--mobile-font-xs);
    font-weight: 600;
    z-index: 2;
}

.mobile-product-content {
    padding: var(--mobile-lg);
}

.mobile-product-title {
    font-size: var(--mobile-font-lg);
    font-weight: 700;
    margin-bottom: var(--mobile-sm);
    color: #111827;
    line-height: 1.3;
}

.mobile-product-description {
    font-size: var(--mobile-font-sm);
    color: #6b7280;
    margin-bottom: var(--mobile-base);
    line-height: 1.5;
}

.mobile-product-price {
    display: flex;
    align-items: center;
    gap: var(--mobile-sm);
    margin-bottom: var(--mobile-lg);
}

.mobile-price-current {
    font-size: var(--mobile-font-xl);
    font-weight: 800;
    color: var(--mobile-primary);
}

.mobile-price-old {
    font-size: var(--mobile-font-base);
    color: #9ca3af;
    text-decoration: line-through;
}

.mobile-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mobile-xs);
    margin-bottom: var(--mobile-lg);
}

.mobile-feature-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--mobile-primary);
    padding: var(--mobile-xs) var(--mobile-sm);
    border-radius: 6px;
    font-size: var(--mobile-font-xs);
    font-weight: 500;
}

/* ===== MOBILE SERVICES SECTION ===== */
.mobile-services {
    padding: var(--mobile-3xl) 0;
    background: white;
}

.mobile-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--mobile-lg);
}

.mobile-service-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: var(--mobile-xl);
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mobile-gradient-primary);
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.mobile-service-card:hover::before {
    transform: scaleX(1);
}

.mobile-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-service-icon {
    width: 60px;
    height: 60px;
    background: var(--mobile-gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mobile-lg);
    color: white;
    font-size: var(--mobile-font-xl);
}

/* ===========================================
   TOUCH TARGET OPTIMIZATION - 44px minimum
   =========================================== */

/* Tüm interactive elementler için 44px minimum touch target */
.mobile-btn,
.mobile-nav-link,
.mobile-product-card .mobile-btn,
.mobile-whatsapp-float a,
.mobile-nav-toggle,
.mobile-contact .mobile-btn,
.mobile-hero-buttons .mobile-btn {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

/* Touch feedback animasyonu */
.mobile-touch-feedback,
.mobile-btn,
.mobile-nav-link,
.mobile-product-card,
.mobile-service-card {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.mobile-touch-feedback::before,
.mobile-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 1;
}

.mobile-touch-feedback:active::before,
.mobile-btn:active::before {
    width: 300px;
    height: 300px;
}

/* WhatsApp float button optimizasyonu */
.mobile-whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.mobile-whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-whatsapp-float a:hover,
.mobile-whatsapp-float a:active {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Navigation touch optimization */
.mobile-nav-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--mobile-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Product card touch improvements */
.mobile-product-card {
    transition: all 0.3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.mobile-product-card:active {
    transform: scale(0.98);
}

/* Safe area için padding adjustments */
@supports (padding: max(0px)) {
    .mobile-container {
        padding-left: max(var(--mobile-lg), env(safe-area-inset-left));
        padding-right: max(var(--mobile-lg), env(safe-area-inset-right));
    }
    
    .mobile-header {
        padding-top: max(var(--mobile-md), env(safe-area-inset-top));
    }
    
    .mobile-footer {
        padding-bottom: max(var(--mobile-lg), env(safe-area-inset-bottom));
    }
    
    .mobile-whatsapp-float {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
    }
}

/* Touch target spacing - elementler arası minimum 8px boşluk */
.mobile-nav-list li + li {
    margin-top: 8px;
}

.mobile-hero-buttons .mobile-btn + .mobile-btn {
    margin-top: 12px;
}

.mobile-product-card .mobile-btn {
    margin-top: 16px;
}

/* Focus indicators for accessibility */
.mobile-btn:focus,
.mobile-nav-link:focus {
    outline: 2px solid var(--mobile-primary);
    outline-offset: 2px;
}

.mobile-service-title {
    font-size: var(--mobile-font-lg);
    font-weight: 700;
    margin-bottom: var(--mobile-base);
    color: #111827;
}

.mobile-service-description {
    font-size: var(--mobile-font-sm);
    color: #6b7280;
    line-height: 1.6;
}

/* ===== MOBILE CONTACT SECTION ===== */
.mobile-contact {
    padding: var(--mobile-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.mobile-contact-card {
    background: white;
    border-radius: 20px;
    padding: var(--mobile-2xl);
    box-shadow: var(--mobile-shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mobile-gradient-success);
}

.mobile-whatsapp-icon {
    width: 80px;
    height: 80px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mobile-lg);
    color: white;
    font-size: var(--mobile-font-2xl);
    animation: mobilePulse 2s infinite;
}

@keyframes mobilePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.mobile-contact-title {
    font-size: var(--mobile-font-xl);
    font-weight: 700;
    margin-bottom: var(--mobile-base);
    color: #111827;
}

.mobile-contact-description {
    font-size: var(--mobile-font-base);
    color: #6b7280;
    margin-bottom: var(--mobile-2xl);
    line-height: 1.6;
}

/* ===== MOBILE FOOTER ===== */
.mobile-footer {
    background: #1f2937;
    color: white;
    padding: var(--mobile-3xl) 0 var(--mobile-xl);
    text-align: center;
    /* iOS safe area support */
    padding-bottom: max(var(--mobile-xl), env(safe-area-inset-bottom));
}

.mobile-footer-logo {
    font-size: var(--mobile-font-xl);
    font-weight: 700;
    margin-bottom: var(--mobile-lg);
    background: var(--mobile-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-footer-description {
    font-size: var(--mobile-font-sm);
    color: #9ca3af;
    margin-bottom: var(--mobile-2xl);
    line-height: 1.6;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-footer-social {
    display: flex;
    justify-content: center;
    gap: var(--mobile-lg);
    margin-bottom: var(--mobile-2xl);
}

.mobile-social-link {
    width: 44px;
    height: 44px;
    background: var(--mobile-gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: var(--mobile-font-lg);
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--mobile-shadow-lg);
}

.mobile-footer-copy {
    font-size: var(--mobile-font-xs);
    color: #6b7280;
    border-top: 1px solid #374151;
    padding-top: var(--mobile-lg);
}

/* ===== MOBILE FLOATING ELEMENTS ===== */
.mobile-whatsapp-float {
    position: fixed;
    bottom: var(--mobile-lg);
    right: var(--mobile-lg);
    z-index: 1000;
    /* iOS safe area support */
    bottom: max(var(--mobile-lg), calc(var(--mobile-lg) + env(safe-area-inset-bottom)));
    right: max(var(--mobile-lg), calc(var(--mobile-lg) + env(safe-area-inset-right)));
}

.mobile-whatsapp-float a {
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--mobile-font-xl);
    box-shadow: var(--mobile-shadow-xl);
    transition: all 0.3s ease;
    animation: mobileWhatsappPulse 2s infinite;
}

.mobile-whatsapp-float a:active {
    transform: scale(0.95);
}

@keyframes mobileWhatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== MOBILE UTILITIES ===== */
.mobile-text-center { text-align: center; }
.mobile-text-left { text-align: left; }
.mobile-text-right { text-align: right; }

.mobile-mb-xs { margin-bottom: var(--mobile-xs); }
.mobile-mb-sm { margin-bottom: var(--mobile-sm); }
.mobile-mb-base { margin-bottom: var(--mobile-base); }
.mobile-mb-lg { margin-bottom: var(--mobile-lg); }
.mobile-mb-xl { margin-bottom: var(--mobile-xl); }
.mobile-mb-2xl { margin-bottom: var(--mobile-2xl); }
.mobile-mb-3xl { margin-bottom: var(--mobile-3xl); }

.mobile-mt-xs { margin-top: var(--mobile-xs); }
.mobile-mt-sm { margin-top: var(--mobile-sm); }
.mobile-mt-base { margin-top: var(--mobile-base); }
.mobile-mt-lg { margin-top: var(--mobile-lg); }
.mobile-mt-xl { margin-top: var(--mobile-xl); }
.mobile-mt-2xl { margin-top: var(--mobile-2xl); }
.mobile-mt-3xl { margin-top: var(--mobile-3xl); }

.mobile-p-xs { padding: var(--mobile-xs); }
.mobile-p-sm { padding: var(--mobile-sm); }
.mobile-p-base { padding: var(--mobile-base); }
.mobile-p-lg { padding: var(--mobile-lg); }
.mobile-p-xl { padding: var(--mobile-xl); }
.mobile-p-2xl { padding: var(--mobile-2xl); }
.mobile-p-3xl { padding: var(--mobile-3xl); }

/* ===== MOBILE ANIMATIONS ===== */
@keyframes mobileSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mobileFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-animate-slide-up {
    animation: mobileSlideUp 0.6s ease-out;
}

.mobile-animate-slide-in {
    animation: mobileSlideIn 0.6s ease-out;
}

.mobile-animate-fade-in {
    animation: mobileFadeIn 0.6s ease-out;
}

/* ===== MOBILE ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --mobile-primary: #0000ff;
        --mobile-secondary: #ff0000;
    }
    
    .mobile-card,
    .mobile-product-card,
    .mobile-service-card {
        border: 2px solid;
    }
}

/* ===== MOBILE SCROLL LOCK ===== */
.mobile-scroll-lock {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== MOBILE TOUCH FEEDBACK ===== */
.mobile-touch-feedback:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* ===== MOBILE SAFE AREA SUPPORT ===== */
@supports (padding: max(0px)) {
    .mobile-header {
        padding-left: max(var(--mobile-container-padding), env(safe-area-inset-left));
        padding-right: max(var(--mobile-container-padding), env(safe-area-inset-right));
    }
    
    .mobile-footer {
        padding-bottom: max(var(--mobile-xl), env(safe-area-inset-bottom));
    }
    
    .mobile-whatsapp-float {
        bottom: max(var(--mobile-lg), calc(var(--mobile-lg) + env(safe-area-inset-bottom)));
        right: max(var(--mobile-lg), calc(var(--mobile-lg) + env(safe-area-inset-right)));
    }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
.mobile-card,
.mobile-product-card,
.mobile-service-card,
.mobile-btn {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ===== MOBILE PRINT STYLES ===== */
@media print {
    .mobile-header,
    .mobile-nav,
    .mobile-whatsapp-float {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}
/* ===========================================
   TOUCH GESTURE SUPPORT SYSTEM
   =========================================== */

/* Swipe gesture base styles */
.mobile-swipeable {
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

/* Gallery swipe support */
.mobile-gallery {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.mobile-gallery-item {
    flex: 0 0 100%;
    position: relative;
}

/* Touch indicators */
.mobile-swipe-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.mobile-swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.mobile-swipe-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Pull-to-refresh prevention */
.mobile-container {
    overscroll-behavior-y: contain;
    -webkit-overscroll-behavior-y: contain;
}

/* Touch feedback animations */
.mobile-touch-ripple {
    position: relative;
    overflow: hidden;
}

.mobile-touch-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 1;
}

.mobile-touch-ripple:active::before {
    width: 200px;
    height: 200px;
}

/* Long press feedback */
.mobile-long-press {
    transition: all 0.2s ease;
}

.mobile-long-press.pressing {
    transform: scale(0.95);
    opacity: 0.8;
}

/* Scroll snap for galleries */
.mobile-scroll-snap {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.mobile-scroll-snap > * {
    scroll-snap-align: start;
}

/* Double tap zoom prevention */
.mobile-no-zoom {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Product gallery optimization */
.mobile-product-gallery {
    position: relative;
    margin-bottom: var(--mobile-lg);
}

.mobile-product-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: var(--mobile-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.mobile-product-thumbnails::-webkit-scrollbar {
    height: 2px;
}

.mobile-product-thumbnails::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
}

.mobile-product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--mobile-primary);
    border-radius: 1px;
}

.mobile-product-thumbnail {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mobile-product-thumbnail.active {
    border-color: var(--mobile-primary);
    transform: scale(1.05);
}

.mobile-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===========================================
   iOS SAFARI COMPATIBILITY FIXES
   =========================================== */

/* Viewport height fix for iOS Safari */
:root {
    --mobile-vh: 1vh;
}

@supports (-webkit-touch-callout: none) {
    :root {
        --mobile-vh: calc(var(--vh, 1vh));
    }
}

.mobile-full-height {
    height: 100vh;
    height: calc(var(--mobile-vh, 1vh) * 100);
}

/* iOS Safari address bar handling */
.mobile-hero {
    min-height: 100vh;
    min-height: calc(var(--mobile-vh, 1vh) * 100);
    padding-top: env(safe-area-inset-top);
}

/* Fix iOS bounce scroll */
.mobile-container,
.mobile-section {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* iOS input zoom prevention */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-size: 16px !important;
    -webkit-appearance: none;
    border-radius: 0;
}

/* iOS touch callout disable */
.mobile-no-callout {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* iOS momentum scrolling */
.mobile-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

/* iOS video autoplay fix */
video {
    -webkit-playsinline: true;
    playsinline: true;
}

/* iOS safe area support */
.mobile-safe-area {
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

/* iOS focus outline fix */
input:focus,
textarea:focus,
button:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* iOS backdrop filter support */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .mobile-header {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* iOS scroll indicator fix */
.mobile-container::-webkit-scrollbar {
    display: none;
}

/* iOS orientation change fix */
@media screen and (orientation: landscape) {
    .mobile-hero {
        min-height: 100vh;
        min-height: calc(var(--mobile-vh, 1vh) * 100);
    }
}