/* ===== Genel Ayarlar ===== */
body {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}
h1,h2,h3,h4,h5,h6 {font-weight:700;}
a {transition:.3s; text-decoration:none;}

/* ===== Top Bar ===== */
.topbar {
  background:#0b3d91;
  color:#fff;
  font-size:14px;
  padding:5px 0;
}
.topbar a {color:#fff; margin-left:15px;}

/* ===== Navbar ===== */
.navbar {
  background:#fff;
  transition:.3s;
}
.navbar.sticky {
  box-shadow:0 3px 10px rgba(0,0,0,.1);
}
.navbar-brand img {height:80px;}
.nav-link {
  font-weight:500;
  color:#333!important;
  position:relative;
  padding:10px 15px;
}
.nav-link::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:#ff7f11;
  transition:.3s;
}
.nav-link:hover::after,
.nav-link.active::after {width:100%;}

.btn-orange {
  background:#ff7f11;
  color:#fff;
  font-weight:600;
  border-radius:6px;
  transition:.3s;
}
.btn-orange:hover {background:#e86e0d;}

/* ===== HERO (Slaytlı Versiyon) ===== */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #0b3d91; /* fallback */
}

.hero .slides {
  position: absolute;
  inset: 0;
  z-index: 0; /* düzeltilmiş */
}
.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slideShow 36s linear infinite;
}

.hero .slide:nth-child(1){background-image:url('../img/slayt1.jpg');animation-delay:0s;}
.hero .slide:nth-child(2){background-image:url('../img/slayt2.jpg');animation-delay:6s;}
.hero .slide:nth-child(3){background-image:url('../img/slayt3.jpg');animation-delay:12s;}
.hero .slide:nth-child(4){background-image:url('../img/slayt4.jpg');animation-delay:18s;}
.hero .slide:nth-child(5){background-image:url('../img/slayt5.jpg');animation-delay:24s;}
.hero .slide:nth-child(6){background-image:url('../img/slayt6.jpg');animation-delay:30s;}

@keyframes slideShow {
  0% {opacity: 0;}
  5% {opacity: 1;}
  25% {opacity: 1;}
  30% {opacity: 0;}
  100% {opacity: 0;}
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* biraz daha şeffaf */
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
}
.hero p {
  font-size: 22px;
  margin-top: 15px;
}
.hero .btn {z-index: 2;}

/* Counters */ 
.counters {
  background: linear-gradient(135deg, #0b3d91 0%, #052d6d 100%);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.counter-box {
  transition: .3s;
}
.counter-box:hover {
  transform: translateY(-8px);
}
.counter-icon {
  font-size:40px;
  margin-bottom:15px;
  color:#fff;
  background:rgba(255,255,255,0.15);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:70px;
  height:70px;
  border-radius:50%;
  transition:.3s;
}
.counter-box:hover .counter-icon {
  background:#ff7f11;
  color:#fff;
}
.counters h2 {
  font-size:38px;
  font-weight:700;
  color:#ff7f11;
  margin-bottom:5px;
}
.counters p {
  color:#fff;
  font-size:16px;
  margin:0;
}
.counters .wave {
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:80px;
}


/* ===== Section Title ===== */
.section-title {
  text-align:center;
  font-size:30px;
  font-weight:700;
  margin-bottom:40px;
  color:#0b3d91;
  position:relative;
}
.section-title::after {
  content:"";
  display:block;
  width:60px;
  height:4px;
  background:#ff7f11;
  margin:12px auto 0;
  border-radius:2px;
}

/* ===== About / Image Blocks ===== */
.about-img {
  height:350px;
  border-radius:15px;
  position:relative;
  overflow:hidden;
}
.about-img::before {
  content:"";
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background:rgba(0,0,0,0.25);
  opacity:0;
  transition:.6s;
}
.about-img:hover::before {opacity:1;}

/* PROGRAMLARIMIZ */
/* Programlarımız Kartları */
.program-card {
  background:#fff;
  border-radius:15px;
  padding:35px 25px;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
  text-align:center;
  transition:all .3s ease;
  border-top:4px solid #ff7f11;
  position:relative;
}
.program-card:hover {
  transform:translateY(-10px);
  box-shadow:0 10px 30px rgba(0,0,0,.15);
}
.program-icon {
  font-size:40px;
  color:#ff7f11;
  margin-bottom:20px;
  transition:.3s;
}
.program-card:hover .program-icon {
  color:#0b3d91;
}

/* Accordion Shake Effect */
.accordion-button.shake {animation: shake .4s ease;}
@keyframes shake {
  0% {transform:translateX(0);}
  25% {transform:translateX(-5px);}
  50% {transform:translateX(5px);}
  75% {transform:translateX(-5px);}
  100% {transform:translateX(0);}
}

/* EĞİTİM SINIFLARI (ACCORDION) */
.accordion-button {
  font-weight:600;
  background:#fff;
  color:#0b3d91;
  border:none;
  box-shadow:none!important;
  transition:all .3s ease;
}
.accordion-button:not(.collapsed) {
  background:#ff7f11;
  color:#fff;
}
.accordion-button:not(.collapsed) i {
  color:#fff!important;
}
.accordion-button i {
  color:#ff7f11;
  margin-right:10px;
  transition:.3s;
}
.accordion-body {
  background:#f9f9f9;
  border-left:3px solid #ff7f11;
  padding:20px;
  font-size:15px;
  color:#444;
}
.accordion-button.shake {
  animation: shake .4s ease;
}
@keyframes shake {
  0% {transform:translateX(0);}
  25% {transform:translateX(-5px);}
  50% {transform:translateX(5px);}
  75% {transform:translateX(-5px);}
  100% {transform:translateX(0);}
}

/* DİJİTAL DÖNÜŞÜM */
.digital-item {
  display:flex;
  align-items:flex-start;
  margin-bottom:20px;
}
.digital-icon {
  flex:0 0 40px;
  height:40px;
  background:#ff7f11;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  margin-right:15px;
  font-size:18px;
}
.digital-text h6 {
  font-weight:600;
  color:#0b3d91;
  margin-bottom:5px;
}
.digital-text p {
  font-size:14px;
  color:#555;
}

.card {
  border:none;
  text-align:center;
  padding:30px;
  transition:.3s;
  background:#f9f9f9;
  border-radius:12px;
}
.card:hover {
  box-shadow:0 4px 15px rgba(0,0,0,.15);
  transform:translateY(-5px);
}
.card h5 {color:#0b3d91; font-weight:600; margin-bottom:15px;}

/* ===== Eğitim Sınıfları (Accordion) ===== */
.accordion-button {font-weight:600;}
.accordion-button:focus {box-shadow:none;}
.accordion-button:not(.collapsed) {
  background:#ff7f11;
  color:#fff;
}
.accordion-body {font-size:15px; line-height:1.6;}

/* ===== Contact Form ===== */
.contact-form {
  background:#fff;
  padding:30px;
  border-radius:10px;
  box-shadow:0 4px 15px rgba(0,0,0,.1);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius:6px;
  border:1px solid #ddd;
  padding:12px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color:#ff7f11;
  box-shadow:0 0 0 0.2rem rgba(255,127,17,.25);
}

/* ===== Footer ===== */
.footer-full {
  background:#0b3d91;
  color:#fff;
  padding:50px 20px 20px;
}
.footer-full h5 {
  margin-bottom:15px;
  font-weight:600;
  color:#ff7f11;
}
.footer-full a {
  color:#fff;
  display:block;
  margin-bottom:8px;
  transition:.3s;
}
.footer-full a:hover {
  color:#ff7f11;
  text-decoration:underline;
}
.footer-full .app-links img {margin-right:8px;}
.footer-full hr {border-color:rgba(255,255,255,0.2);}
.footer-full p {margin:0;}

.social-links a {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:15px;
}
.social-links i {
  font-size:18px;
  color:#ff7f11;
}

/* ===== Fade-in Animation ===== */
.fade-in {opacity:0; transform:translateY(40px); transition:all 0.8s ease-out;}
.fade-in.show {opacity:1; transform:translateY(0);}

/* ===== Extra Effects ===== */
.text-orange {color:#ff7f11;}
@keyframes bounce {
  0%,100% {transform:translateY(0);}
  50% {transform:translateY(-6px);}
}
.bounce {animation:bounce 0.5s;}

#hakkimizda, #nedenbiz, #programlar, #iletisim, #siniflar, #nedenbigadil, #icerik, #tanitim {
  scroll-margin-top: 100px;
}
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}

.whatsapp-widget img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}

.whatsapp-widget img:hover {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  background: #fff;
  color: #333;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  white-space: nowrap;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ====== RESPONSIVE AYARLAR ====== */

/* --- Tablet (max 992px) --- */
@media (max-width: 992px) {
  /* Navbar */
  .navbar-brand img {height:65px;}
  .nav-link {padding:8px 10px; font-size:15px;}
  .navbar-collapse {background:#fff; text-align:center;}
  .navbar-nav {gap:5px;}

  /* Hero */
  .hero {height: 60vh;}
  .hero h1 {font-size: 38px;}
  .hero p {font-size: 18px;}

  /* Counters */
  .counter-box {margin-bottom: 40px;}
  .counters h2 {font-size: 32px;}

  /* Section başlıkları */
  .section-title {font-size:26px; margin-bottom:30px;}

  /* Kartlar */
  .program-card {padding:25px 20px;}
  .program-card h5 {font-size:18px;}
  .program-icon {font-size:36px;}

  /* Accordion */
  .accordion-button {font-size:15px;}
  .accordion-body {font-size:14px;}

  /* Footer */
  .footer-full {text-align:center;}
  .footer-full .col-md-4,
  .footer-full .col-md-2 {margin-bottom:30px;}
}
/* === WieCoding Footer (Geniş & Parlak Görünüm) === */
.wiecoding-footer {
  text-align: center;
  padding: 35px 0 20px;
  background: #0b3d91;
}

.wiecoding-footer-link {
  display: inline-block;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.wiecoding-footer-link:hover {
  transform: scale(1.08);
}

.wiecoding-footer-logo {
  height: 85px; /* 🔥 daha büyük */
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255,127,17,0.8))
          drop-shadow(0 0 25px rgba(255,127,17,0.5)); /* parlayan etki */
  opacity: 0.95;
  transition: all 0.4s ease;
}

.wiecoding-footer-link:hover .wiecoding-footer-logo {
  filter: drop-shadow(0 0 18px rgba(255,127,17,1))
          drop-shadow(0 0 30px rgba(255,127,17,0.8));
  opacity: 1;
}

.wiecoding-footer-text {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.4px;
  opacity: 0.95;
  color: #fff;
}

.wiecoding-footer-text strong {
  color: #ff7f11;
  font-weight: 600;
}

/* Mobil uyum */
@media (max-width: 576px) {
  .wiecoding-footer-logo {
    height: 65px;
  }
  .wiecoding-footer-text {
    font-size: 13px;
  }
}


/* --- Mobil (max 768px) --- */
@media (max-width: 768px) {
  /* Genel */
  body {font-size:15px;}

  /* Topbar */
  .topbar {font-size:13px; text-align:center;}
  .topbar .container {flex-direction:column; gap:5px;}

  /* Hero */
  .hero {height: 55vh; padding: 0 10px;}
  .hero h1 {font-size: 30px; line-height:1.3;}
  .hero p {font-size: 16px; margin-top:10px;}
  .hero .btn {padding:12px 24px; font-size:14px;}

  /* Counter */
  .counter-icon {width:60px; height:60px; font-size:32px;}
  .counters h2 {font-size: 28px;}

  /* Program Kartları */
  .program-card {margin-bottom:25px;}
  .program-icon {font-size:34px;}
  .program-card h5 {font-size:17px;}

  /* Digital list */
  .digital-item {align-items:center;}
  .digital-text p {font-size:13px;}

  /* Contact form */
  .contact-form {padding:20px;}
  .contact-form input,
  .contact-form textarea,
  .contact-form select {font-size:14px; padding:10px;}

  /* Footer */
  .footer-full {padding:40px 15px;}
  .footer-full h5 {font-size:16px;}
  .footer-full p, .footer-full a {font-size:14px;}
}

/* --- Küçük mobil (max 576px) --- */
@media (max-width: 576px) {
  /* Navbar */
  .navbar-brand img {height:60px;}
  .nav-link {font-size:14px; padding:6px 8px;}

  /* Hero */
  .hero {height: 50vh;}
  .hero h1 {font-size: 24px;}
  .hero p {font-size: 14px;}
  .hero .btn {padding:10px 20px; font-size:13px;}

  /* Section başlıkları */
  .section-title {font-size:22px;}

  /* Counters */
  .counters {padding:60px 0 20px;}
  .counters h2 {font-size:26px;}
  .counter-icon {width:55px; height:55px; font-size:28px;}

  /* Kartlar */
  .program-card {padding:20px 15px;}
  .program-card h5 {font-size:16px;}

  /* Accordion */
  .accordion-button {font-size:14px;}
  .accordion-body {font-size:13px;}

  /* Footer */
  .footer-full {padding:35px 15px;}
  .footer-full h5 {font-size:15px;}
  .footer-full p, .footer-full a {font-size:13px;}

  /* WhatsApp widget */
  .whatsapp-widget {
    left: 10px;
    bottom: 10px;
    gap: 6px;
  }
  .whatsapp-widget img {
    width: 44px;
    height: 44px;
  }
  .whatsapp-tooltip {
    font-size: 12px;
    padding: 6px 10px;
  }
}
/* ===== TANITIM VİDEOLARI (FIXED 16:9) ===== */
#tanitim {
  background: #f9fafc;
  padding: 70px 0;
}

#tanitim .section-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #0b3d91;
}

/* Flex düzen, 3'lü hizalama */
.video-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 28px;
}

/* 16:9 oran koruma */
.video-wrapper {
  position: relative;
  flex: 0 0 calc(33.333% - 28px);
  padding-bottom: 56.25%; /* 16:9 oran */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

.video-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Tablet */
@media (max-width: 992px) {
  .video-wrapper {
    flex: 0 0 calc(50% - 20px);
  }
}

/* Mobil */
@media (max-width: 576px) {
  #tanitim {
    padding: 50px 0;
  }
  .video-wrapper {
    flex: 1 0 100%;
  }
}


