/* ====================================
   TEMEL STİL VE DEĞİŞKENLER (MODERN TASARIMDAN)
   ==================================== */
:root {
    --primary-color: #004d99;      /* Koyu Mavi (Marka Rengi) */
    --secondary-color: #ffaa00;    /* Canlı Turuncu (Vurgu Rengi) */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f4f7f9;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    /* Eski Arial yerine daha modern font tercih edildi */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
}

/* ====================================
   HEADER VE NAVİGASYON
   ==================================== */
header {
    /* Eski #007bff yerine --primary-color kullanıldı */
    background: var(--primary-color); 
    color: var(--text-light);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* LOGO VE BAŞLIK STİLİ (SON GÜNCELLEMEYLE BİRLEŞTİRİLDİ) */
.logo {
    display: flex;             /* Öğeleri yatay sırala */
    align-items: center;       /* Dikey olarak ortala */
    gap: 15px;                 /* Logo ile yazı arasına boşluk */
    font-size: 1.8em;          /* Genel font boyutu (eskisinden daha büyük) */
    font-weight: 700;
    color: var(--text-light);
}

.logo img {
    /* HTML'de verilen 200x200 yerine CSS ile belirlenen boyut */
    width: 60px; /* 190px çok büyüktü, 60px kurumsal logolar için idealdir */
    height: 60px;
    object-fit: contain;
}

.logo h1 {
    margin: 0;
    font-size: 1.1em; /* Başlık metnini küçült */
    line-height: 1.3;
    color: var(--text-light);
}
/* Logoyu temsil eden .logo h1 dışındaki başlıklar için renk düzeltmesi */
header .logo h1 {
    color: var(--text-light);
}
/* Eski, çakışan .logo stili kaldırıldı */


header nav ul {
    display: flex;
}

header nav ul li a {
    color: var(--text-light);
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    font-weight: 500;
}

header nav ul li a:hover {
    /* Eski hover rengi yerine vurgu rengi kullanıldı */
    background: var(--secondary-color);
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
}

/* ====================================
   HERO ALANI (Öne Çıkan Bölüm)
   ==================================== */
.hero {
    /* Modern tasarımdan gradient overlay eklendi */
    background: linear-gradient(rgba(0, 77, 153, 0.8), rgba(0, 77, 153, 0.8)), url('hero-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 120px 20px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Eski background-color: rgba(0, 0, 0, 0.5) kaldırıldı */
}

.hero h1 {
    font-size: 3.5em; /* Daha büyük font */
    margin-bottom: 15px;
    color: white; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-button {
    /* Eski #ffc107 yerine vurgu rengi ve modern border-radius */
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 50px; 
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #e69500;
    transform: translateY(-2px);
}

/* ====================================
   SLIDER STİLİ
   ==================================== */
.slider-container {
    max-width: 1200px;
    margin: 40px auto; 
    position: relative;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out; 
}

.slide {
    min-width: 100%;
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
    height: 300px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 0;
}

.slide p {
    font-size: 1.2em;
    color: var(--text-dark);
}

/* Kontrol Butonları */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 5;
    transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.next-btn {
    right: 0;
    border-radius: 5px 0 0 5px;
}

/* Nokta Göstergeleri */
.dots-container {
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
}

.active-dot {
    background-color: var(--secondary-color);
}

/* ====================================
   İÇERİK BÖLÜMLERİ
   ==================================== */
.content-section {
    /* Eski 60px yerine daha geniş 80px boşluk */
    padding: 80px 20px;
    text-align: center;
    max-width: 1300px;
    margin: auto;
}

.content-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    position: relative;
    /* Eski #007bff yerine --primary-color kullanıldı */
    color: var(--primary-color); 
}

/* Başlık Alt Çizgisi */
.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 30px;
    border-radius: 2px;
}

#hakkimizda {
    background-color: white;
}

/* ====================================
   EĞİTİM KARTLARI (Course Grid)
   ==================================== */
.courses-grid {
    display: grid;
    /* Daha iyi grid düzeni için minmax ayarı yapıldı */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow); 
    text-align: left;
    transition: var(--transition);
    border-top: 5px solid var(--secondary-color); 
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.course-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 0;
}

.course-card p {
    color: #555;
}

/* ====================================
   İLETİŞİM FORMU
   ==================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-container {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.contact-form {
    flex: 2; 
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.contact-info {
    flex: 1; 
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    min-width: 250px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 1em;
}

.form-group textarea {
    resize: vertical; 
}

.submit-button {
    background: #28a745; 
    color: white;
    padding: 12px 20px;
    border: none;
}
@media screen and (max-width: 600px) {
  #main-nav {
    display: none;
  }
}
@media screen and (min-width: 767px) {
 #gizli-bar{
	 display:none;
 }
}
#gizli-bar {
	text-align:center;
}
#gizli-bar  ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width:100%;

 
}

#gizli-bar li a {
  display: block;
  color: black;
  border:1px solid black;
  border-radius:5px;
  background:lightblue;
  margin:5px;
  padding: 8px 16px;
  text-decoration: none;
}

/* Change the link and background color on hover */
#gizli-bar li a:hover {
  background-color: #555555;
  color: white;
}
