/* =======================================================================
   Language Switcher - Mobile Styles
   ======================================================================= */

@media (max-width: 991.98px) {
    .language-switcher select {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        padding-right: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .language-switcher select {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        padding-right: 1.6rem;
    }
}

/* =======================================================================
   Responsive Design - Mobile First Approach - Premium Edition
   ======================================================================= */

/* ===================================================================
   MOBILE FIRST OPTIMIZATIONS - iPhone 14 Pro & All Devices
   =================================================================== */

/* Prevent horizontal scroll on all devices */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Universal Mobile Improvements */
@media (max-width: 767.98px) {
    /* Better tap targets - Apple HIG compliant (44x44) */
    button, 
    a, 
    .btn-primary, 
    .btn-secondary,
    .category-btn,
    .nav-menu a,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Optimize animations for mobile performance */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.2s !important;
    }
    
    /* Perfect spacing for small screens */
    section {
        padding: clamp(2rem, 6vw, 3rem) 0;
    }
    
    /* Hero için padding yok */
    .hero {
        padding: 0 !important;
        margin-bottom: 0;
    }
    
    /* Container spacing */
    .container {
        padding-left: clamp(0.75rem, 3vw, 1.25rem);
        padding-right: clamp(0.75rem, 3vw, 1.25rem);
        max-width: 100%;
    }
    
    /* Hero container için tüm padding yok */
    .hero .container,
    .hero .hero-content,
    .hero-content .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* Responsive images - prevent overflow */
    img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Typography refinement */
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2.25rem) !important;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    h3 {
        font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
        line-height: 1.3;
    }
    
    h4 {
        font-size: clamp(1.125rem, 3.5vw, 1.5rem) !important;
    }
    
    p {
        font-size: clamp(0.9375rem, 2.5vw, 1.0625rem) !important;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    /* Button refinement */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.75rem !important;
        font-size: 0.875rem !important;
        width: auto;
        white-space: nowrap;
    }
    
    /* Prevent text overflow */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-text h1 {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Large Devices (992px and up) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .export-content {
        gap: 3rem;
    }
}

/* Medium Devices (768px and up) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Section boşluklarını azalt */
    section {
        padding: clamp(1.5rem, 3vw, 2rem) 0 !important;
    }
    
    .section-header {
        margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
    }
    
    /* Top Bar - Hide on Mobile */
    .top-bar {
        display: none;
    }
    
    /* Main Header - Compact Mobile Version */
    .main-header {
        padding: 0.75rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* ===== PREMIUM MOBILE NAVIGATION ===== */
    
    /* Top Bar adjustments */
    .top-bar-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .top-bar-left {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.75rem;
        align-items: center;
    }
    
    .top-bar-left span {
        margin-right: 0;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    /* Premium Hamburger Menu - ZORUNLU GÖRÜNÜR */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
        position: relative;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--dark-color);
        border-radius: 3px;
        transition: all 0.3s ease;
        margin: 3px 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
        background: var(--primary-color);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--primary-color);
    }
    
    /* Mobile Menu Panel - SAĞDAN AÇILIR */
    .nav-menu {
        position: fixed !important;
        top: 70px;
        right: 0;
        left: auto;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        padding: 1.5rem 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
        box-shadow: -5px 0 50px rgba(0, 0, 0, 0.3) !important;
    }
    
    .nav-menu li {
        margin: 0 !important;
        margin-left: 0 !important;
        padding: 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }
    
    /* Mobile Language Selector */
    .mobile-language-selector {
        display: block;
        padding: 1rem 1.5rem !important;
        border-top: 2px solid var(--primary-color) !important;
        margin-top: 1rem !important;
    }
    
    .mobile-language-selector .language-switcher {
        width: 100%;
    }
    
    .mobile-language-selector select {
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        background: var(--gray-50) !important;
        border: 2px solid var(--gray-300) !important;
        border-radius: var(--border-radius-md) !important;
        color: var(--dark-color) !important;
        font-weight: 600 !important;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: flex !important;
        width: 100%;
        padding: 1.125rem 1.5rem;
        justify-content: space-between;
        font-size: 1rem;
        color: var(--dark-color) !important;
        font-weight: 600;
        color: var(--dark-color);
        min-height: 54px;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:hover {
        background: var(--gray-50);
        color: var(--primary-color);
    }
    
    .nav-menu a.active {
        background: var(--primary-color);
        color: var(--white);
    }
    
    /* Dropdown in mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-50);
        margin-top: 0;
        border-radius: 0;
        display: none; /* Başlangıçta kapalı */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
    }
    
    .dropdown > a .fas {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a .fas {
        transform: rotate(180deg);
    }
    
    .dropdown-menu a {
        padding-left: 2.5rem;
        font-size: 0.9375rem;
        font-weight: 500;
        min-height: 48px;
    }
    
    .dropdown-menu a::before {
        content: '→';
        position: absolute;
        left: 1.5rem;
        color: var(--primary-color);
        font-weight: 700;
    }
    
    /* ===== HERO SECTION - MOBILE OPTIMIZED ===== */
    .hero {
        height: clamp(450px, 65vh, 550px);
        margin: 75px 0.5rem 0 0.5rem;
        border-radius: var(--border-radius-md);
        overflow: hidden;
    }
    
    .hero-bg {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
    }
    
    /* Mobil banner özel ayarlar - TAM EKRAN */
    .hero-slide:nth-child(1) .hero-bg {
        background-size: cover;
        background-position: center center;
    }
    
    .hero-slide:nth-child(2) .hero-bg {
        background-size: cover;
        background-position: center center;
    }
    
    .hero-content {
        display: none !important;
    }
    
    /* Page Header - Mobile Specific */
    .page-header {
        height: 300px !important;
        margin-top: 70px !important;
    }
    
    .page-header-bg {
        height: 100% !important;
        background-size: cover !important;
        background-position: center bottom !important;
        background-attachment: scroll !important;
    }
    
    .page-header-content {
        padding: 2rem 1rem !important;
    }
    
    .page-header-content h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .breadcrumb {
        font-size: 0.875rem !important;
    }
    
    /* Product Page Layout - Mobile */
    .product-page-layout {
        display: block !important;
    }
    
    .product-sidebar {
        position: sticky !important;
        top: 70px !important;
        z-index: 100 !important;
        background: var(--white) !important;
        padding: 1rem 0 !important;
        margin: 0 -1rem !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        width: calc(100% + 2rem) !important;
    }
    
    .sidebar-content {
        padding: 0 !important;
    }
    
    .sidebar-content h3 {
        display: none !important;
    }
    
    .category-menu {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0.5rem !important;
        padding: 0 1rem !important;
        margin: 0 !important;
        list-style: none !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .category-menu::-webkit-scrollbar {
        display: none !important;
    }
    
    .category-menu li {
        flex-shrink: 0 !important;
    }
    
    .category-menu a {
        display: inline-block !important;
        padding: 0.625rem 1.25rem !important;
        background: var(--gray-100) !important;
        color: var(--dark-color) !important;
        text-decoration: none !important;
        border-radius: 50px !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        transition: all 0.3s ease !important;
        border: 2px solid var(--gray-200) !important;
    }
    
    .category-menu a.active {
        background: var(--primary-color) !important;
        color: var(--white) !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3) !important;
    }
    
    .sidebar-features {
        display: none !important;
    }
    
    .product-main {
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: bottom;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* ===== FEATURES SECTION - MOBILE ===== */
    .features {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: var(--border-radius-lg);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: clamp(1.125rem, 3.5vw, 1.5rem);
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Categories - Tablet Layout - Şık Görünüm (Mobil için) */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 800px;
    }
    
    .category-card {
        height: auto !important; /* Override desktop */
        border-radius: 15px !important;
    }
    
    .category-image {
        height: 280px !important; /* Override desktop */
        border-radius: 15px 15px 0 0 !important;
        flex: 0 0 auto !important; /* Override desktop */
    }
    
    /* Modern düzeni tablet'te de koru */
    .category-card:nth-child(1) {
        grid-column: 1 / -1;
    }
    
    .category-card:nth-child(1) .category-image {
        height: 320px !important;
    }
    
    .category-card:nth-child(2) .category-image,
    .category-card:nth-child(3) .category-image {
        height: 260px !important;
    }
    
    .category-card:nth-child(4) {
        grid-column: 1 / -1;
    }
    
    .category-card:nth-child(4) .category-image {
        height: 320px !important;
    }
    
    .category-info {
        display: flex !important;
        padding: 1.25rem 1rem !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        border-radius: 0 0 15px 15px !important;
    }
    
    .category-info h4 {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        color: white !important;
        letter-spacing: 1px !important;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text .section-header {
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Export */
    .export-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .export-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .export-stat {
        flex: 1;
        min-width: 200px;
    }
    
    /* News */
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* ===== FLOAT BUTTONS - MOBILE ===== */
    .whatsapp-float {
        bottom: 1.25rem;
        left: 1rem;
        z-index: 1000;
    }
    
    .whatsapp-float a {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        box-shadow: var(--shadow-xl);
    }
    
    .back-to-top {
        bottom: 1.25rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Prevent overlap */
    .whatsapp-float,
    .back-to-top {
        pointer-events: auto;
    }
}

/* Small Devices (576px and up) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    /* Mobilde section boşluklarını daha da azalt */
    section {
        padding: clamp(1rem, 2vw, 1.5rem) 0 !important;
    }
    
    .section-header {
        margin-bottom: 1rem !important;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Navigation */
    .top-bar-left {
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }
    
    .top-bar-left span {
        font-size: 0.7rem !important;
        white-space: nowrap;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    /* Hero */
    .hero {
        height: 60vh;
        margin: 70px 0.5rem 0 0.5rem;
        border-radius: var(--border-radius-lg);
    }
    
    .hero-bg {
        background-attachment: scroll;
        border-radius: var(--border-radius-lg);
    }
    
    /* Mobil banner'lar */
    .hero-slide:nth-child(1) .hero-bg {
        background-image: url('../images/mobil-banner8.png') !important;
        background-size: cover;
        background-position: center;
    }
    
    .hero-slide:nth-child(2) .hero-bg {
        background-image: url('../images/mobil-banner9.png') !important;
        background-size: cover;
        background-position: center;
    }
    
    /* Page Header - Extra Small Mobile */
    .page-header {
        height: 250px !important;
        margin-top: 60px !important;
    }
    
    .page-header-bg {
        background-attachment: scroll !important;
    }
    
    .page-header-content h1 {
        font-size: 1.5rem !important;
    }
    
    .breadcrumb {
        font-size: 0.75rem !important;
    }
    
    /* Category Menu - Extra Small Mobile */
    .category-menu a {
        padding: 0.5rem 1rem !important;
        font-size: 0.8125rem !important;
    }
    
    .product-sidebar {
        top: 60px !important;
    }
    
    .hero-content {
        bottom: 5%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        display: none;
    }
    
    /* Features - iPhone 14 Pro */
    .features {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.75rem 1.25rem;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: 0.625rem;
    }
    
    .feature-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    /* Categories - Modern Mobile Layout - Çok Şık Görünüm */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        max-width: 100%;
    }
    
    .category-card {
        height: auto !important; /* Override desktop */
        border-radius: 15px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .category-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    }
    
    .category-image {
        height: 250px !important; /* Override desktop */
        border-radius: 15px 15px 0 0 !important;
        flex: 0 0 auto !important; /* Override desktop */
    }
    
    /* İlk kart (Kadın) - Üstte tam genişlik */
    .category-card:nth-child(1) {
        grid-column: 1 / -1 !important;
    }
    
    .category-card:nth-child(1) .category-image {
        height: 300px !important;
    }
    
    /* İkinci ve üçüncü kartlar (Erkek, Çocuk) - Yan yana */
    .category-card:nth-child(2) .category-image,
    .category-card:nth-child(3) .category-image {
        height: 220px !important;
    }
    
    /* Dördüncü kart (Çanta) - Altta tam genişlik */
    .category-card:nth-child(4) {
        grid-column: 1 / -1 !important;
    }
    
    .category-card:nth-child(4) .category-image {
        height: 300px !important;
    }
    
    .category-overlay {
        padding: 1.5rem;
        opacity: 0;
        background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(26, 54, 93, 0.9) 100%);
    }
    
    .category-card:active .category-overlay {
        opacity: 1;
    }
    
    /* Mobil: Kategori başlıkları her zaman görünsün - Çok Şık */
    .category-info {
        display: flex !important;
        padding: 1.25rem 1rem !important;
        text-align: center !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        border-radius: 0 0 15px 15px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .category-info h4 {
        margin: 0 !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: white !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        flex: 1 !important;
        font-family: var(--font-primary) !important;
    }
    
    .category-overlay h3 {
        font-size: 1.25rem;
    }
    
    /* About */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Export */
    .export-stats {
        flex-direction: column;
    }
    
    .export-stat {
        min-width: auto;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    /* ===== CTA SECTION - MOBILE ===== */
    .contact-cta {
        padding: clamp(2.5rem, 8vw, 4rem) 0;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .cta-content p {
        font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===================================================================
   IPHONE 14 PRO & SMALL DEVICES (up to 575.98px)
   Optimized for 390px width
   =================================================================== */
@media (max-width: 575.98px) {
    /* Perfect container for small screens */
    .container {
        max-width: 100%;
        padding: 0 clamp(0.625rem, 2.5vw, 1rem);
        width: 100%;
    }
    
    /* Hero container için padding yok */
    .hero .container {
        padding: 0;
    }
    
    /* Typography - iPhone 14 Pro Optimized */
    h1 { 
        font-size: clamp(1.625rem, 5.5vw, 2rem) !important;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }
    h2 { 
        font-size: clamp(1.375rem, 4.5vw, 1.875rem) !important;
        line-height: 1.25;
    }
    h3 { 
        font-size: clamp(1.125rem, 3.5vw, 1.375rem) !important;
        line-height: 1.3;
    }
    h4 {
        font-size: clamp(1rem, 3vw, 1.25rem) !important;
    }
    p {
        font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
        line-height: 1.65;
    }
    
    /* Navigation */
    .top-bar {
        padding: 0.25rem 0;
        font-size: 0.75rem;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    /* Hero - iPhone 14 Pro Perfect */
    .hero {
        height: clamp(420px, 60vh, 520px);
        margin: 75px 0.375rem 0 0.375rem;
        border-radius: var(--border-radius-md);
        overflow: hidden;
    }
    
    .hero-bg {
        background-attachment: scroll;
        background-size: cover !important;
        background-position: center center !important;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
    }
    
    /* Mobil banner'lar - küçük ekran TAM EKRAN */
    .hero-slide:nth-child(1) .hero-bg {
        background-image: url('../images/mobil-banner8.png') !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-slide:nth-child(2) .hero-bg {
        background-image: url('../images/mobil-banner9.png') !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-content {
        display: none !important;
    }
    
    /* Mobil banner'lar - küçük ekran */
    .hero-slide:nth-child(1) .hero-bg {
        background-image: url('../images/mobil-banner8.png') !important;
    }
    
    .hero-slide:nth-child(2) .hero-bg {
        background-image: url('../images/mobil-banner9.png') !important;
    }
    
    
    
    .hero-buttons {
        display: none;
    }
    
    .hero-nav {
        display: none !important;
    }
    
    /* Sections - iPhone 14 Pro Optimized */
    section {
        padding: clamp(1.25rem, 4vw, 2rem) 0;
        overflow-x: hidden;
    }
    
    /* Hero section için tüm boşlukları kaldır */
    .hero {
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Hero'dan sonraki section için margin azalt */
    .features {
        margin-top: 0;
        padding-top: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .section-header {
        margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
        padding: 0 0.5rem;
    }
    
    .section-title {
        font-size: clamp(1.375rem, 4.5vw, 1.875rem);
        margin-bottom: 0.875rem;
    }
    
    .section-title::after {
        width: 50px;
        height: 3px;
    }
    
    .section-subtitle {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        line-height: 1.65;
        padding: 0 0.5rem;
    }
    
    /* Features */
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Categories - Küçük Ekranlar İçin Şık Görünüm */
    .categories-grid {
        gap: 0.85rem !important;
    }
    
    .category-card {
        border-radius: 12px !important;
    }
    
    .category-image {
        height: 200px !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .category-card:nth-child(1) .category-image {
        height: 240px !important;
    }
    
    .category-card:nth-child(2) .category-image,
    .category-card:nth-child(3) .category-image {
        height: 180px !important;
    }
    
    .category-card:nth-child(4) .category-image {
        height: 240px !important;
    }
    
    .category-overlay {
        padding: 1rem !important;
    }
    
    .category-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    .category-info {
        padding: 1rem 0.75rem !important;
        border-radius: 0 0 12px 12px !important;
    }
    
    .category-info h4 {
        font-size: 1rem !important;
        letter-spacing: 0.8px !important;
    }
    
    /* About */
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    /* Export */
    .export-map {
        margin-bottom: 2rem;
    }
    
    .pin {
        width: 8px;
        height: 8px;
    }
    
    .pin::before {
        top: -3px;
        left: -3px;
        width: 14px;
        height: 14px;
    }
    
    .export-stat {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
        margin: 0 auto;
    }
    
    /* News */
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-content h3 {
        font-size: 1.125rem;
    }
    
    .news-date {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    /* CTA - iPhone 14 Pro Perfect */
    .contact-cta {
        padding: clamp(2.5rem, 7vw, 3.5rem) 0;
        overflow: hidden;
    }
    
    .cta-content h2 {
        font-size: clamp(1.375rem, 4.5vw, 1.875rem);
        margin-bottom: 0.875rem;
        padding: 0 1rem;
    }
    
    .cta-content p {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        margin-bottom: 1.75rem;
        padding: 0 1.25rem;
        line-height: 1.65;
    }
    
    .cta-buttons {
        gap: 0.875rem;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        max-width: 100%;
        width: 100%;
        min-height: 48px;
    }
    
    /* Footer */
    .footer-top {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-col h3 {
        font-size: 1.125rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .contact-item {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
    }
    
    .footer-bottom-content {
        font-size: 0.75rem;
    }
    
    /* Float buttons - iPhone 14 Pro */
    .whatsapp-float {
        bottom: 1rem;
        left: 0.875rem;
    }
    
    .whatsapp-float a {
        width: 54px;
        height: 54px;
        font-size: 1.375rem;
        box-shadow: var(--shadow-xl);
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 0.875rem;
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero {
        height: 75vh;
        margin: 60px 0.375rem 0 0.375rem;
        overflow: hidden;
    }
    
    .hero-bg {
        background-size: cover !important;
        background-position: center center !important;
    }
    
    /* Mobil banner'lar - landscape TAM EKRAN */
    .hero-slide:nth-child(1) .hero-bg {
        background-image: url('../images/mobil-banner8.png') !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-slide:nth-child(2) .hero-bg {
        background-image: url('../images/mobil-banner9.png') !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-content {
        display: none !important;
    }
    
    .hero-buttons {
        display: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg {
        background-attachment: scroll; /* Better performance on high DPI */
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-spinner {
        animation: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .pin {
        animation: none;
    }
    
    .whatsapp-float a {
        animation: none;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-nav,
    .scroll-indicator,
    .back-to-top,
    .whatsapp-float,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hero {
        margin: 0;
        height: auto;
        page-break-inside: avoid;
        border-radius: 0;
    }
    
    .hero-bg::before {
        display: none;
    }
    
    .hero-text {
        color: var(--dark-color) !important;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid var(--primary-color);
        background: transparent !important;
        color: var(--primary-color) !important;
    }
}

/* Focus and accessibility improvements */
@media (min-width: 768px) {
    .nav-menu a:focus,
    .btn-primary:focus,
    .btn-secondary:focus {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
    }
}

/* Hover effects only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover,
    .category-card:hover,
    .news-card:hover,
    .export-stat:hover {
        transform: translateY(-5px);
    }
    
    .category-card:hover .category-overlay {
        opacity: 1;
    }
    
    .category-card:hover .category-image img,
    .news-card:hover .news-image img {
        transform: scale(1.1);
    }
}

/* Katalog Form - Mobile Responsive */
@media (max-width: 767.98px) {
    .katalog-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .katalog-talep-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Dark mode support (if browser supports it) */
@media (prefers-color-scheme: dark) {
    /* This can be expanded if dark mode is implemented */
    .loading-screen {
        background: var(--dark-color);
    }
}
