/* ═══════════════════════════════════════════════════════════
   ANAOKULU V1 — MASTER TEMA CSS
   Mevcut style.css'in üzerine gelir, teknik yapıya dokunmaz
═══════════════════════════════════════════════════════════ */

/* ── CSS Değişkenleri ── */
:root {
  --sari:      #ffb607;
  --sari-dark: #e6a200;
  --mor:       #56225e;
  --mor-dark:  #3d1843;
  --lacivert:  #1d2435;
  --yesil:     #2ecc8e;
  --pembe:     #ff6b8a;
  --mavi:      #4a90d9;
  --acik-bg:   #fff8ee;
  --kart-golge: 0 4px 24px rgba(86,34,94,.09);
  --gecis: all .32s cubic-bezier(.4,0,.2,1);
}

/* ── Tipografi ── */
* { box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background: #fff; color: #333; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }
a { transition: var(--gecis); }

/* ── Scroll Bar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--mor), var(--sari)); border-radius: 3px; }
::selection { background: var(--sari); color: #fff; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 0;
}
.header-wrap .container-fluid { padding: 0 32px; }
.logo { padding: 12px 0; }
.logo img { max-height: 64px; width: auto; }

/* Menü */
.navigation-wrap { display: flex; align-items: center; height: 80px; }
.navbar { padding: 0; width: 100%; }
.navbar-nav > li > a {
  font-size: 14px;
  font-weight: 700;
  color: var(--lacivert) !important;
  padding: 28px 14px !important;
  position: relative;
  letter-spacing: .02em;
}
.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--sari), var(--mor));
  border-radius: 2px 2px 0 0;
  transition: left .3s, right .3s;
}
.navbar-nav > li:hover > a::after,
.navbar-nav > li.active > a::after { left: 14px; right: 14px; }
.navbar-nav > li:hover > a,
.navbar-nav > li.active > a { color: var(--mor) !important; }

/* Dropdown menü */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--sari);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--gecis);
  z-index: 999;
}
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lacivert);
  text-decoration: none;
  transition: var(--gecis);
}
.submenu li a:hover { background: var(--acik-bg); color: var(--mor); padding-left: 26px; }

/* Kayıt butonu */
.loginwrp a {
  background: linear-gradient(135deg, var(--sari), #ff9500);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,182,7,.35);
  transition: var(--gecis);
  display: inline-block;
}
.loginwrp a:hover {
  background: linear-gradient(135deg, var(--mor), var(--mor-dark));
  box-shadow: 0 8px 24px rgba(86,34,94,.35);
  transform: translateY(-2px);
}
.header_info { display: flex; align-items: center; justify-content: flex-end; height: 80px; }

/* Mobil toggle */
.navbar-toggler {
  border: 2px solid var(--sari);
  border-radius: 8px;
  padding: 6px 10px;
  background: transparent;
  color: var(--mor);
  font-size: 20px;
}

/* ══════════════════════════════════════
   İÇ SAYFA BAŞLIĞI
══════════════════════════════════════ */
.inner-page-title-wrap {
  background: linear-gradient(135deg, var(--mor) 0%, #8b3fa8 50%, var(--lacivert) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inner-page-title-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
}
.inner-page-title-wrap h1 { color: #fff; font-size: 36px; font-weight: 900; margin: 0 0 12px; position: relative; }
.inner-page-title-wrap .breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
}
.inner-page-title-wrap .breadcrumb-item { color: rgba(255,255,255,.7); font-size: 14px; }
.inner-page-title-wrap .breadcrumb-item a { color: var(--sari); text-decoration: none; }
.inner-page-title-wrap .breadcrumb-item.active { color: #fff; }

/* ══════════════════════════════════════
   GENEL BÖLÜM STİLLERİ
══════════════════════════════════════ */
.class-wrap, .blog-wrap, .testimonials-wrap, .teacher-wrap,
.about-wrap, .choice-wrap, .enrol-wrap { padding: 80px 0; }

/* Bölüm başlığı */
.title { margin-bottom: 44px; }
.title h1, .title h2 {
  font-size: 34px;
  font-weight: 900;
  color: var(--lacivert);
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 0;
}
.title h1::after, .title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--sari), var(--mor));
  border-radius: 2px;
}
.center_title .title h1::after,
.center_title .title h2::after { left: 50%; transform: translateX(-50%); }
.center_title .title { text-align: center; }
.title p { margin-top: 10px; color: #888; font-size: 15px; }

/* ══════════════════════════════════════
   HIZMET & ETKİNLİK KARTLARI
══════════════════════════════════════ */
.class_box {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--kart-golge);
  transition: var(--gecis);
  height: 100%;
}
.class_box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(86,34,94,.18);
}
.class_Img { overflow: hidden; height: 220px; position: relative; }
.class_Img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.class_box:hover .class_Img img { transform: scale(1.08); }
.path_box { padding: 20px 22px 24px; }
.path_box h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--lacivert);
  margin-bottom: 10px;
  line-height: 1.4;
}
.path_box h3 a { color: inherit; text-decoration: none; }
.path_box h3 a:hover { color: var(--mor); }
.path_box p { font-size: 13px; color: #888; line-height: 1.7; margin-bottom: 0; }
.path_box a:not(h3 a) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mor);
  text-decoration: none;
}
.path_box a:not(h3 a):hover { color: var(--sari); gap: 9px; }

/* ══════════════════════════════════════
   BLOG KARTLARI
══════════════════════════════════════ */
.blog_box {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--kart-golge);
  transition: var(--gecis);
  height: 100%;
}
.blog_box:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,.13); }
.blogImg { position: relative; overflow: hidden; }
.blogImg img { transition: transform .55s ease; }
.blog_box:hover .blogImg img { transform: scale(1.07); }
.time_box {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--sari);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 12px;
}

/* ══════════════════════════════════════
   REFERANS / MARKA
══════════════════════════════════════ */
.brand-box {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gecis);
  filter: grayscale(60%);
}
.brand-box:hover { filter: grayscale(0); transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* ══════════════════════════════════════
   TESTİMONİAL
══════════════════════════════════════ */
.testimonials-wrap { background: linear-gradient(135deg, var(--lacivert), #1a2a4a); }
.testimonials_sec {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 32px 28px;
  margin: 8px;
  position: relative;
  backdrop-filter: blur(8px);
}
.testimonials_sec > p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.8; font-style: italic; }
.testimonials_sec h3 { color: #fff; font-size: 16px; font-weight: 700; margin-top: 16px; }
.testimonials_sec h3 span { color: var(--sari); font-size: 12px; font-weight: 600; display: block; margin-top: 2px; }
.testimonials_sec .quote_icon { position: absolute; top: 20px; right: 24px; }
.testimonials_sec .quote_icon i { font-size: 48px; color: var(--sari); opacity: .2; }
.starWrp li { display: inline-block; color: var(--sari); font-size: 12px; }
.clientImg img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sari); }
.client_box { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

/* ══════════════════════════════════════
   ÖĞRETMEN / EKİP
══════════════════════════════════════ */
.single-teachers {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--kart-golge);
  transition: var(--gecis);
  margin-bottom: 28px;
}
.single-teachers:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(86,34,94,.15); }
.teacherImg { position: relative; overflow: hidden; }
.teacherImg img { transition: transform .5s ease; }
.single-teachers:hover .teacherImg img { transform: scale(1.06); }
.social-icons {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(86,34,94,.9), transparent);
  padding: 24px 16px 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  transform: translateY(100%);
  transition: transform .35s ease;
  list-style: none;
  margin: 0;
}
.single-teachers:hover .social-icons { transform: translateY(0); }
.social-icons li a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: var(--gecis);
}
.social-icons li a:hover { background: var(--sari); border-color: var(--sari); }
.teachers-content { padding: 18px 20px; text-align: center; border-top: 3px solid var(--sari); }
.teachers-content h3 { font-size: 16px; font-weight: 800; color: var(--lacivert); margin-bottom: 4px; }
.designation { font-size: 12px; color: var(--mor); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer-wrap {
  background: linear-gradient(135deg, var(--lacivert) 0%, #0d1526 100%);
  padding: 70px 0 40px;
  color: rgba(255,255,255,.75);
}
.footer-wrap h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sari);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 14px;
  transition: var(--gecis);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links li a::before { content: '›'; color: var(--sari); font-size: 18px; line-height: 1; }
.footer-links li a:hover { color: var(--sari); padding-left: 4px; }
.footer_logo { margin-bottom: 20px; }
.footer_logo img { max-height: 60px; width: auto; }
.footer-wrap p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.8; }
.footer_info ul { list-style: none; padding: 0; }
.footer_info ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.footer_info ul li i { color: var(--sari); margin-top: 2px; flex-shrink: 0; }
.footer_info ul li a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer_info ul li a:hover { color: var(--sari); }
.hourswrp li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.footer_icon ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer_icon ul li a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: var(--gecis);
}
.footer_icon ul li a:hover { background: var(--sari); border-color: var(--sari); color: #fff; transform: translateY(-3px); }

/* Footer alt bar */
.footer-bottom {
  background: rgba(0,0,0,.35);
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom .copyright-text {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  text-align: center;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 991px) {
  .header-wrap { padding: 0; }
  .navigation-wrap { height: auto; }
  .header_info { height: auto; padding: 14px 0; justify-content: center; }
  .navbar-collapse {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
  }
  .navbar-nav > li > a { padding: 12px 16px !important; border-bottom: 1px solid #f5f5f5; }
  .navbar-nav > li > a::after { display: none; }
  .submenu { position: static; box-shadow: none; border: none; border-left: 3px solid var(--sari); border-radius: 0; opacity: 1; visibility: visible; transform: none; padding-left: 16px; }
  .footer-wrap .col-lg-4, .footer-wrap .col-lg-2, .footer-wrap .col-lg-3 { margin-bottom: 36px; }
}

@media (max-width: 767px) {
  .title h1, .title h2 { font-size: 26px; }
  .class-wrap, .blog-wrap, .testimonials-wrap, .teacher-wrap { padding: 50px 0; }
}
