/* ===================================
   MOBİL OPTİMİZASYON EK KURALLAR
   =================================== */

/* Küçük ekranlar için global ayarlar */
@media (max-width: 480px) {
    /* Genel padding ve margin ayarları */
    section {
        padding: 20px 0 !important;
    }
    
    /* Tüm başlıkları küçült */
    h1 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
    
    h2 {
        font-size: 1.15rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
    
    h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    h4, h5, h6 {
        font-size: 0.9rem !important;
    }
    
    /* Paragraflar */
    p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Butonlar */
    .btn, .btn-primary, .btn-secondary, .btn-modern {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
    
    /* Logo mobilde daha küçük */
    .logo-img {
        height: 48px !important;
    }
    
    .logo {
        margin-right: 8px !important;
    }
    
    .nav-wrapper {
        gap: 12px !important;
        padding: 8px 0 !important;
    }
    
    .nav-menu a {
        padding: 9px 11px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }
    
    .nav-btn-primary {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        margin-left: 2px !important;
    }
    
    /* Kartlar */
    .card, .about-section, .package-card-modern, .lesson-card {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Container padding */
    .container {
        padding: 0 8px !important;
    }
    
    /* İstatistik kartları */
    .stat-card {
        padding: 0.75rem !important;
    }
    
    .stat-card h3 {
        font-size: 1.5rem !important;
    }
    
    .stat-card p {
        font-size: 0.8rem !important;
    }
    
    /* Hero Section */
    .hero, .hero-modern {
        padding: 25px 0 !important;
        min-height: auto !important;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Page Header */
    .page-header {
        padding: 40px 8px !important;
    }
    
    .page-header h1 {
        font-size: 1.3rem !important;
    }
    
    .page-header p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Stat Cards Modern */
    .stat-value-modern {
        font-size: 1.5rem !important;
    }
    
    .stat-label-modern {
        font-size: 0.75rem !important;
    }
    
    /* Badge ve Tag'ler */
    .badge, .tag {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }
    
    /* Form elemanları */
    input, select, textarea {
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
    }
    
    /* Tablolar */
    table {
        font-size: 0.8rem !important;
    }
    
    /* Grid sistemler */
    .grid, .stats-grid, .packages-grid-modern, .lessons-grid {
        gap: 0.75rem !important;
    }
}

/* Orta boy ekranlar (Tablet) */
@media (max-width: 768px) {
    /* Genel ayarlar */
    section {
        padding: 30px 0 !important;
    }
    
    h1 {
        font-size: 1.6rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    h2 {
        font-size: 1.4rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    p {
        font-size: 0.9rem !important;
    }
    
    /* Container */
    .container {
        padding: 0 12px !important;
    }
    
    /* Navbar */
    .navbar {
        padding: 10px 0 !important;
    }
    
    .nav-wrapper {
        gap: 30px !important;
        padding: 12px 0 !important;
    }
    
    .logo-text {
        font-size: 1.5rem !important;
    }
    
    .logo-img {
        height: 65px !important;
    }

    .logo {
        margin-right: 20px !important;
    }
    
    .nav-menu {
        gap: 2px !important;
    }
    
    .nav-menu a {
        padding: 10px 13px !important;
        font-size: 0.88rem !important;
        white-space: nowrap !important;
    }
    
    .nav-btn-primary {
        padding: 9px 18px !important;
        margin-left: 4px !important;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
}

/* Çok küçük ekranlar (iPhone SE, vb) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.05rem !important;
    }
    
    h3 {
        font-size: 0.95rem !important;
    }
    
    p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    .btn {
        padding: 7px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .container {
        padding: 0 6px !important;
    }
    
    .page-header {
        padding: 35px 6px !important;
    }
    
    section {
        padding: 18px 0 !important;
    }
}

/* Landscape mode düzeltmeleri */
@media (max-height: 480px) and (orientation: landscape) {
    .hero, .hero-modern, .page-header {
        padding: 15px 0 !important;
        min-height: auto !important;
    }
    
    h1 {
        font-size: 1.4rem !important;
    }
    
    section {
        padding: 15px 0 !important;
    }
}


