* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;

  padding: 16px 32px;
  background-color: white;
}
 nav {
  flex-wrap: wrap;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-left img {
  width: auto;
  height: 100px;
}

.nav-left .citename {
  font-size: 30px;
  color: navy;
  font-weight: 600;
}

.nav-center {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-center a {
  text-decoration: none;
  color: #f97316;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.nav-center a:hover {
  color: #f97316;
  font-weight: 700;
}

.nav-center a.active {
  color: #f97316;
  font-weight: 700;
}


.nav-right a {
  text-decoration: none;
  padding: 8px 16px;
  background-color: navy ;
  color: #fff;
  border-radius: 6px;
}
.nav-right a {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-right a:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
}

nav {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand h1 {
  margin: 0;
}


/* HERO */

.hero-panel {
   background: linear-gradient(
    120deg,
    #f8fafc 0%,
    #e2e8ff 35%,
    #5373df 100%
  );
}

.hero-content {
  max-width: 700px;
}
.hero-content h2 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #111;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #444;
}

.hero-cta {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f97316;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
/* ABOUT */
.about {
  padding: 80px 32px;
  background-color: #ffffff;
}

.about-content {
  max-width: 800px;
}

.about h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #111;
}

.about p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}
.about-panel {
  background: linear-gradient(
    120deg,
    #5373df 0%,
    #e2e8ff 45%,
    #ffffff 100%
  );
}
.about-panel .about-content h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #111;
}

.about-panel .about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 14px;
}

/* INFO BOXES */
.info-boxes {
  padding: 80px 32px;
  background-color: #f9fafb;
}

.info-boxes h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #111;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-box {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
}

.info-box h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #111;
}

.info-box p {
  color: #444;
  line-height: 1.6;
}
/* BLOG PREVIEW */
.blog-preview {
  padding: 80px 32px;
  background-color: #ffffff;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.blog-header h2 {
  font-size: 28px;
  color: #111;
}

.blog-all {
  text-decoration: none;
  color: #f97316;
  font-weight: 600;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.blog-card p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-link {
  text-decoration: none;
  color: #f97316;
  font-weight: 600;
}
/* FOOTER */
.footer {
  padding: 24px 32px;
  background-color: #111827;
  color: #ffffff;
}

.footer-content {
  max-width: 1000px;
}

.footer p {
  margin: 6px 0;
  color: #e5e7eb;
  line-height: 1.6;
}
/* LOGIN SECTION */
#login {
  padding: 80px 32px;
  background-color: #f9fafb;

  display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 90px;
}

#login h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #111;
}

#login form {
  width: 100%;
  max-width: 420px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
}

#login label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111;
}

#login input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 14px;
}

#login button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #f97316;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 12px 16px;
  }

  .nav-left h1 {
    font-size: 18px;
  }

  .nav-center {
    width: 100%;
    gap: 12px;
  }

  .nav-right {
    margin-left: auto;
  }

  /* HERO */
  .hero {
    padding: 48px 16px;
    min-height: auto;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  /* ABOUT / SECTIONS */
  .about,
  .info-boxes,
  .blog-preview,
  #login {
    padding: 56px 16px;
  }

  /* GRIDS */
  .info-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* LOGIN */
  #login form {
    padding: 16px;
  }
}

/* ==============================
   BLOG PAGE (sadece blog.html)
   ============================== */

.blog-page .blog-hero{
  padding: 44px 0 22px;
}

.blog-page .blog-hero h2{
  margin: 0 0 8px;
}

.blog-page .blog-layout{
  display: block;
  padding-bottom: 40px;
}

.blog-page .blog-sidebar{
  position: sticky;
  top: 18px;
  align-self: start;
}

.blog-page .blog-cats h3{
  margin: 0 0 12px;
}

.blog-page .cat-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-page .pill{
  display: inline-block;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  font-weight: 700;
  font-size: 13px;
}
/* Kategoriler posts-grid altında */
.blog-page .blog-cats-below{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Button pill reset */
.blog-page .cat-pills .pill{
  background: #fff;
  cursor: pointer;
  font: inherit;
}

/* Aktif kategori */
.blog-page .pill.is-active{
  background: #120b75;
  color: #fff;
  border-color: #120b75;
}
/* Kategoriler + liste alanı */
.blog-page .blog-cats-below{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.blog-page .cat-pills .pill{
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.blog-page .pill.is-active{
  background: #120b75;
  color: #fff;
  border-color: #120b75;
}

/* Kategori altında kart liste görünümü */
.blog-page .cat-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}

.blog-page .cat-card{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px;
}

.blog-page .cat-card-title{
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.25;
}

.blog-page .cat-card-link{
  text-decoration: none;
}

.blog-page .cat-card-link:hover{
  text-decoration: underline;
}

.blog-page .cat-card-excerpt{
  margin: 0 0 10px 0;
  opacity: .9;
}

.blog-page .cat-card-more{
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
}

/* Liste alanı */
.blog-page .cat-list-wrap{
  margin-top: 14px;
  padding: 14px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
}

.blog-page .cat-list-title{
  margin: 0 0 10px 0;
  font-size: 16px;
}

.blog-page .cat-ul{
  margin: 0;
  padding-left: 18px;
}

.blog-page .cat-li{
  margin: 8px 0;
}

.blog-page .cat-link{
  text-decoration: none;
}

.blog-page .cat-link:hover{
  text-decoration: underline;
}

.blog-page .cat-empty{
  margin: 0;
  opacity: .75;
}

/* Featured + grid */
.blog-page .posts-grid{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.blog-page .post-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.blog-page .post-card.featured{
  grid-row: span 3;
  padding: 20px;
}

.blog-page .post-top{
  margin-bottom: 10px;
}

.blog-page .post-cat{
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
}

.blog-page .post-title{
  margin: 0 0 10px;
  line-height: 1.2;
}

.blog-page .post-title a{
  text-decoration: none;
  color: inherit;
}

.blog-page .post-excerpt{
  margin: 0 0 10px;
  line-height: 1.7;
  color: rgba(0,0,0,.72);
}

.blog-page .post-more{
  text-decoration: none;
  font-weight: 800;
}
.post-tags{
  margin-top: 12px;
  margin-bottom: 8px;
}

.related-posts{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.related-posts h3{
  margin: 0 0 10px;
}

.related-posts ul{
  margin: 0;
  padding-left: 18px;
}

.related-posts a{
  text-decoration: none;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 900px){
  .blog-page .blog-layout{
    grid-template-columns: 1fr;
  }
  .blog-page .blog-sidebar{
    position: static;
  }
  .blog-page .posts-grid{
    grid-template-columns: 1fr;
  }
  .blog-page .post-card.featured{
    grid-row: auto;
  }
}

/* ABOUT PAGE (about.html) */
.about-page .about-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.about-page .about-hero{
  padding: 64px 0 28px 0;
  background: linear-gradient(120deg, #f8fafc 0%, #5373df 100%);
}

.about-page .about-hero-inner{
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.about-page .about-hero-card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(6px);
}

.about-page .about-hero-text h1{
  font-size: 28px;
  margin-bottom: 14px;
  color: #111;
}

.about-page .about-hero-text h2{
  font-size: 20px;
  margin: 18px 0 10px 0;
  color: #111;
}

.about-page .about-hero-text p{
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 12px;
}

.about-page .about-hero-text ul{
  padding-left: 18px;
  margin: 10px 0 14px 0;
}

.about-page .about-hero-text li{
  margin: 8px 0;
  line-height: 1.6;
  color: #333;
}

.about-page .about-hero-photo{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page .about-hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-hero-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.about-hero-card {
  flex: 1.4; /* daha fazla alan */
  padding: 60px 48px;
}

.about-hero-photo {
  flex: 1; /* biraz daha küçük ama geniş */
  display: flex;
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sertifikalar + yatay scroll */
.about-page .about-certs{
  padding: 22px 0 70px 0;
  background: #ffffff;
}

.about-page .about-section-title{
  font-size: 22px;
  margin: 8px 0 14px 0;
  color: #111;
}

.about-page .cert-carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 10px 4px 14px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.about-page .cert-card{
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.about-page .cert-card img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.about-page .about-cta{
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

.about-page .btn-primary{
  display: inline-block;
  padding: 12px 16px;
  background: #f29046;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
}

.about-page .btn-primary:hover{
  filter: brightness(0.95);
}

/* Responsive */
@media (max-width: 900px){
  .about-page .about-hero-inner{
    grid-template-columns: 1fr;
  }
  .about-page .about-hero{
    padding: 52px 0 22px 0;
  }
  .about-page .cert-carousel{
    grid-auto-columns: minmax(180px, 1fr);
  }
}
/* Scrollbar gizle (kaydırma kalsın) */
.about-page .cert-carousel{
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge legacy */
}
.about-page .cert-carousel::-webkit-scrollbar{
  display: none;                  /* Chrome/Safari */
}

/* Kartların scroll sırasında animasyonla gelmesi */
.about-page .cert-card{
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}

.about-page .cert-card.is-inview{
  opacity: 1;
  transform: translateX(0);
}

/* Kullanıcı "reduce motion" tercih ederse animasyonu kapat */
@media (prefers-reduced-motion: reduce){
  .about-page .cert-card{
    transition: none;
    transform: none;
    opacity: 1;
  }
}
.contact-page .contact-hero-inner{
  max-width: 780px;
}

.contact-page .contact-hero-text{
  background: rgba(255,255,255,0.65);
  padding: 28px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.08);
}

.contact-page .contact-card{
  background: linear-gradient(145deg, #ffffff, #f8fafc);
border: 1px solid rgba(0,0,0,0.06);
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 180px;
}

.contact-page .contact-icon{
  background: linear-gradient(135deg, rgba(242,144,70,0.25), rgba(83,115,223,0.25));
color: #120b75;
}
.contact-page .contact-actions{
  justify-content: center;
  margin-top: 32px;
}


/* GLOBAL BUTTON */
.btn{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary{
  background-color: #f97316;
  color: #fff;
}

.btn-primary:hover{
  background-color: #ea580c;
  transform: translateY(-2px);
}

/* CONTACT PAGE */

.contact-page .contact-section{
  padding: 60px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-page .contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.contact-page .contact-card{
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .contact-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-page .contact-icon{
  font-size: 28px;
  margin-bottom: 14px;
}

.contact-page .contact-card h3{
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-page .contact-card p{
  color: #444;
  line-height: 1.6;
}

.contact-page .contact-card a{
  text-decoration: none;
  color: inherit;
}

.contact-page .contact-actions{
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
@media (max-width: 768px){
  .contact-page .contact-grid{
    grid-template-columns: 1fr;
  }
}
.hero-simple {
  padding: 80px 32px;
  background: linear-gradient(
    120deg,
    #f8fafc 0%,
    #e2e8ff 35%,
    #5373df 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 750px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #111;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 28px;
  color: #333;
}
/* BLOG POST - layout + typography */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding: 32px 0 24px;
}

/* Yazı alanı: sola yaslanmış hissi vermesin */
.post-content {
  max-width: 760px;         /* okuma genişliği */
  margin: 0 auto;           /* kendi kolonunda ortalar */
  background: #fff;         /* kart gibi */
  border-radius: 14px;
  padding: 26px 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.post-content h2 {
  margin: 26px 0 12px;
}

.post-content p,
.post-content li {
  line-height: 1.8;
  color: #2b2b2b;
  font-size: 16px;
}

.post-content ul,
.post-content ol {
  padding-left: 18px;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 110px; /* navbar yüksekliğine göre ayarla */
  background: transparent;
}

.post-sidebar h3 {
  margin: 0 0 12px;
}

.side-post {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.side-post:hover {
  border-color: rgba(83,115,223,0.35);
  transform: translateY(-1px);
  transition: 150ms ease;
}

.side-post-title {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.side-post-meta {
  display: block;
  font-size: 13px;
  color: #6b7280;
}
.post-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-top: 12px;
}

/* Mobil: sidebar alta insin */
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
  }
  .post-content {
    max-width: 100%;
  }
}
.buton-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f97316;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
/* BLOG POST - kapak görseli */
.post-hero-media{
  margin-top: 10px;
  margin-bottom: 14px;
}

.post-hero-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  opacity: .96;
}
/* BLOG POST - içerik görselleri */
/* BLOG POST - akış içi görsel (kutu gibi durmasın) */
.post-media{
  margin: 18px 0 22px;
}

.post-media img{
  width: 350px;
  height: 300px;
  display: block;
  border-radius: 18px;
  border: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}