/* ==========================================================================
   1. QLOBLAL RESET VƏ RƏNGLƏR
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
:root { --primary: #3b82f6; --secondary: #1d4ed8; --accent: #f59e0b; --text: #1f2937; --light: #f3f4f6; }
body { color: var(--text); background-color: #ffffff; line-height: 1.6; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   2. RESPONSIVE NAVİQASİYA (MENU)
   ========================================================================== */
nav { background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-size: 24px; font-weight: bold; color: var(--primary); text-decoration: none; z-index: 1001; }

/* Hamburger Menyu Düyməsi (Default olaraq gizlidir, mobildə görünəcək) */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; z-index: 1001; padding: 5px; }
.menu-toggle span { display: block; width: 25px; height: 3px; background-color: var(--text); border-radius: 3px; transition: 0.3s; }

/* Menyu Linkləri */
.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; transition: 0.3s ease-in-out; }
.nav-links a { text-decoration: none; color: #4b5563; font-weight: 600; transition: 0.3s; display: block; }
.nav-links a:hover { color: var(--primary); }
.btn-login { background: var(--accent); color: white !important; padding: 10px 20px; border-radius: 50px; box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2); text-decoration: none; text-align: center; }
.btn-login:hover { background: #d97706; }

/* Gizli Checkbox fəndi (JavaScript istifadə etmədən menyunu açıb-bağlamaq üçün) */
#menu-checkbox { display: none; }

/* ==========================================================================
   3. HERO HİSSƏ (GİRİŞ)
   ========================================================================== */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 80px 0; text-align: center; }
.hero-badge { background: #bfdbfe; color: var(--secondary); padding: 5px 15px; border-radius: 50px; font-size: 14px; font-weight: bold; display: inline-block; margin-bottom: 15px; }
.hero h1 { font-size: 36px; color: #1e3a8a; margin: 15px 0; font-weight: 800; line-height: 1.2; padding: 0 10px; }
.hero p { font-size: 17px; color: #4b5563; max-width: 600px; margin: 0 auto 30px auto; padding: 0 15px; }
.btn-main { background: var(--primary); color: white; padding: 12px 30px; text-decoration: none; border-radius: 8px; font-weight: bold; display: inline-block; transition: 0.3s; }
.btn-main:hover { background: var(--secondary); }

/* ==========================================================================
   4. PORTFOLIO / HAQQIMIZDA
   ========================================================================== */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; padding: 0 15px; }
.section-title h2 { font-size: 28px; color: #1e3a8a; }
.section-title p { color: #6b7280; font-size: 15px; margin-top: 5px; }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-text h3 { font-size: 24px; margin-bottom: 10px; color: var(--secondary); }
.stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; justify-content: center; }
.stat-item { flex: 1 1 calc(33.333% - 20px); min-width: 100px; text-align: center; }
.stat-item h4 { font-size: 26px; color: var(--primary); font-weight: 700; }
.stat-item p { font-size: 14px; color: #6b7280; }

/* ==========================================================================
   5. TƏLİM PROQRAMLARI (KARTLAR)
   ========================================================================== */
.bg-light { background-color: var(--light); }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: 0.3s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card h3 { margin-bottom: 12px; color: #1e3a8a; font-size: 20px; }
.card p { color: #4b5563; font-size: 15px; }
.card-badge { display: inline-block; background: #e0f2fe; color: #0369a1; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; margin-top: 15px; }

/* ==========================================================================
   6. KAMPANİYALAR
   ========================================================================== */
.campaign { background: var(--primary); color: white; padding: 35px 25px; border-radius: 16px; text-align: center; }
.campaign h2 { font-size: 26px; margin-bottom: 12px; font-weight: 700; }
.campaign p { margin-bottom: 25px; font-size: 16px; opacity: 0.9; }
.btn-wp { background: #25d366; color: white; padding: 12px 30px; text-decoration: none; border-radius: 50px; font-weight: bold; display: inline-block; width: auto; transition: 0.3s; }
.btn-wp:hover { background: #1ebd59; transform: scale(1.03); }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer { background: #111827; color: #9ca3af; text-align: center; padding: 25px 15px; font-size: 14px; }

/* ==========================================================================
   📱 RESPONSIVE PLANŞET VƏ MOBİL TƏNZİMLƏMƏLƏRİ
   ========================================================================== */

/* ─── Planşet və Masaüstü Cihazlar Üçün (Böyük Ekranlar) ─── */
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 2fr; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 54px; }
    .campaign { text-align: left; display: flex; justify-content: space-between; align-items: center; padding: 50px; }
    .campaign div { max-width: 70%; }
    .campaign p { margin-bottom: 0; }
    .stats { justify-content: flex-start; }
}

/* ─── Mobil Cihazlar Üçün Tam Tənzimləmə (Maksimum 767px) ─── */
@media (max-width: 767px) {
    /* 1. Mobil Menyu Mexanizmi (Hamburger) */
    .menu-toggle { display: flex; } /* Hamburger düyməsini aktiv edirik */
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        border-top: 1px solid #f1f5f9;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        padding: 15px;
        border-bottom: 1px solid #f8fafc;
        width: 100%;
    }
    
    .btn-login {
        border-radius: 0;
        margin: 10px auto;
        width: 90%;
        border-radius: 8px;
    }

    /* Checkbox işarələnəndə (klik olunanda) menyunu göstər */
    #menu-checkbox:checked ~ .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Hamburger ikonunun animasiyası (X formasına düşməsi) */
    #menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    #menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* 2. Elementlərin Mobil En Ölçüləri */
    .btn-main, .btn-wp {
        width: 100%; /* Mobil ekranda düymələri tam en edirik ki, rahat kliklənsin */
        text-align: center;
    }
}
