/* 
   DersPlatformu Modern Style Sheet 
   Modern, Temiz ve Göz Alıcı Tasarım
*/

:root {
    --primary-color: #4F46E5; /* Modern Indigo */
    --secondary-color: #1E293B; /* Slate 800 */
    --accent-color: #F59E0B; /* Amber 500 */
    --success-color: #10B981; /* Emerald 500 */
    --bg-light: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span { width: 25px; height: 3px; background-color: var(--text-main); transition: 0.3s ease; }

.page-layout { display: flex; gap: 30px; margin-top: 20px; }
.sidebar { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.sidebar-btn {
    background: var(--white);
    border: 1px solid #e5e7eb;
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.sidebar-btn:hover, .sidebar-btn.active { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.content-display { flex-grow: 1; background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow-md); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: tabFadeIn 0.4s ease-out; }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step-container {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-row {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--white);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
	flex-wrap: wrap;
}

.course-row select.course-name-select {
    flex: 0 0 auto;
	min-width: 50px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
}

.course-row select.hours-select {
    flex: 0 0 auto;
	width: 50px;
}
.yanip-sonen-buton {
    background-color: blue;
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    animation: pulse 0.8s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(230, 126, 34, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}
.remove-course-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.add-course-row-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    margin-top: 10px;
}

.add-course-row-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

 input, textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    color: #444;
    outline: none;
    transition: all 0.3s ease;
}
select {
    width: auto;      /* İçeriğe göre genişlesin */
    min-width: 100px; /* Çok daralmaması için minimum bir genişlik verelim */
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
}
select:focus, input:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.hidden { display: none !important; }

.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.price-summary-box {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
}
.price-summary-box span {
    font-size: 24px;
    color: var(--primary-color);
    margin-left: 5px;
}

.action-trigger-btn {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.action-trigger-btn:hover { transform: translateY(-2px); background: #059669; }

/* Hero Section */
.hero-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.hero-section h1 {
    font-size: 50px !important;     /* Yazı boyutunu 50px yapar */
    text-align: center !important;  /* Yazıyı yatayda tam ortalar */
    width: 100%;                    /* Başlığın tüm alanı kaplayıp ortalanmasını garantiler */
    margin-left: auto;
    margin-right: auto;
}
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-card {
    background: blue;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 10px;
    min-width: 180px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-weight: 600;
    color: white;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--white);
    border-radius: 30px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    color: var(--white);
    background: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb-nav {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
    color: white;
    margin-bottom: 28px;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 24px;
}

.breadcrumb-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.logo-handwriting {
            font-family: 'Brush Script MT', 'Lucida Calligraphy', cursive;
            font-size: 30px;
            font-style: italic;
            color: var(--accent-color);
            font-weight: normal;
        }
.breadcrumb {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 10px;
    color: rgba(255,255,255,0.5);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transition: all 0.3s;
}

/* Responsive */
@media screen and (max-width: 992px) {
    
    /* 1. SABİT ÜST MENÜ & LOGO/SLOGAN AYARLARI */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
	.hero-section h1 { 
    font-size: 2.5rem; /* Mobilde yazıyı ~40px boyutuna indirir */
}
    /* Elemanlar alt alta geldikçe header uzayacağı için body üst boşluğunu artırdık */
    body {
        padding-top: 140px; 
    }

    .navbar {
        display: flex;
        flex-direction: column; /* Her şeyi (Logo grubu ve Linkler) alt alta dizer */
        align-items: center;
        padding: 10px 15px;
        gap: 12px;
    }

    /* Slogan markanın tam altına gelsin diye link yapısını dikey flex yaptık */
    .logo a {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        text-align: center;
    }

    /* "En iyilerin En iyisi" yazısının yerleşimi */
    .logo-handwriting {
        display: block !important;
        font-size: 18px !important; /* Mobilde taşmaması için hafif küçültüldü */
        margin-top: 4px !important;  /* DersPlatformu yazısı ile arasındaki mesafe */
        line-height: 1.2;
    }

    /* Hamburger butonu tamamen gizli kalmaya devam ediyor */
    .menu-toggle {
        display: none !important;
    }

    /* 2. MENÜ LİNKLERİ (Yan yana ve Tek Satırda Kaydırılabilir) */
    .nav-links {
        display: flex !important; 
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Kelimelerin kesinlikle alt satıra geçmesini engeller */
        justify-content: flex-start;  
        align-items: center;
        gap: 15px; 
        padding: 5px 10px;
        margin: 0;
        list-style: none;
        width: 100%;
        
        /* Ekran çok daralsa bile menü bozulmaz, parmakla sağa-sola kaydırılabilir olur */
        overflow-x: auto; 
        white-space: nowrap;
        -webkit-overflow-scrolling: touch; 
    }

    /* Menünün altındaki kaydırma çubuğunu gizleyerek estetik bir görünüm sunar */
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        width: auto;
        flex-shrink: 0; /* Ekran sıkışınca link yazılarının büzüşmesini engeller */
    }

    .nav-links a {
        font-size: 0.85rem; 
        padding: 4px 6px;
        display: inline-block;
    }

    /* 3. İSTATİSTİK KARTLARI (Boyut Küçültme ve 2x2 Izgara Düzeni) */
    .stats-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Yan yana tam 2 eşit sütun oluşturur */
        gap: 12px !important;                             /* Kartların arasındaki boşluğu daralttık */
        margin-top: 35px;
        padding: 0 5px;
    }

    .stat-card {
        padding: 15px 10px !important; /* Kartların iç boşluğunu (boyutunu) küçülttük */
        min-width: unset !important;   /* Masaüstündeki 180px sınırını sıfırlayarak ekrana sığdırdık */
        border-radius: 8px;
    }

    .stat-number {
        font-size: 1.75rem !important; /* Büyük sayıların boyutunu mobil için optimize ettik */
        margin-bottom: 3px;
    }

    .stat-label {
        font-size: 0.85rem !important; /* "Memnuniyet Oranı" gibi açıklamaları küçülttük */
    }
}	
	.page-layout {
    display: flex !important;
    flex-direction: column !important; /* Masaüstündeki yan yana düzeni alt alta getirir */
    gap: 15px !important;
}

.sidebar {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;        /* Sabit pozisyonu sıfırlar */
    display: flex !important;
    flex-direction: row !important;     /* Butonları yan yana dizer */
    flex-wrap: nowrap !important;       /* Alt satıra geçmeyi engeller */
    overflow-x: auto !important;        /* Sağa kaydırmayı açar */
    white-space: nowrap !important;
    gap: 10px !important;               /* Butonlar arası boşluk */
    padding: 10px 5px !important;
    background: transparent !important; 
    border: none !important;            
    margin-bottom: 10px !important;
    -webkit-overflow-scrolling: touch; /* Mobilde pürüzsüz kaydırma */
}

/* Kaydırma çubuğunu gizler */
.sidebar::-webkit-scrollbar {
    display: none !important;
}

/* Buton listesini yatay sıraya zorlar */
.sidebar ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Sidebar içindeki butonlar ve linkler */
.sidebar a, 
.sidebar button, 
.sidebar .sidebar-btn,
.sidebar li {
    flex-shrink: 0 !important;          /* Yazıların büzüşmesini önler */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 18px !important;      /* Kolay dokunma alanı */
    font-size: 0.9rem !important;       
    width: auto !important;             /* Tam genişliği iptal eder */
}