/* ============================================================
   PEK Koleji — Frontend CSS
   Marka rengi: #603913 (kahverengi)
   Fontlar: Cormorant Garamond (başlık) + Nunito Sans (body/nav)
   ============================================================ */

/* === FONT DEĞİŞKENLERİ === */
:root {
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: #333;
  background: #faf7f4;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 991px) {
  .container { padding: 0 24px; }
}
@media (max-width: 639px) {
  .container { padding: 0 16px; }
}

/* ============================================================
   HEADER
   ============================================================ */

/* Üst turuncu bant */
.topbar {
  position: relative;
  z-index: 10;
  background: #ff7e00;
  box-shadow: 0 6px 0 rgba(0,0,0,.18);
  color: #fff;
  font-size: .75rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .3px;
  padding: 3px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  transition: color .15s;
}
.topbar a:hover { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.4); }
.topbar__sep { opacity: .35; }

@media (max-width: 640px) {
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
}

.site-header {
  background: #fff;
  border-bottom: 3px solid #d76a00;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.site-header__inner {
  display: flex;
  align-items: stretch;
  /* nav item'lar tam yüksekliği kaplasın */
  justify-content: space-between;
  height: 80px;
  gap: 16px;
  position: relative;
  /* dropdown bu elemana göre absolute konumlanır */
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  align-self: center;
}

.site-logo__img {
  height: 70px;
  width: auto;
}
@media (max-width: 991px) {
  .site-logo__img { height: 60px; }
}
@media (max-width: 639px) {
  .site-logo__img { height: 50px; }
}

/* MEB + akreditasyon logoları (sadece desktop) */
.header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 50px;
}

.header-badge {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Instagram yüzen buton (sağ, fixed) */
.instagram-float {
  position: fixed;
  top: 16px;
  right: 15px;
  z-index: 200;
  display: block;
  line-height: 0;
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  transition: transform .2s;
}
.instagram-float:hover { transform: translateX(-4px); }
.instagram-float img {
  height: 48px;
  width: auto;
  display: block;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #603913;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.nav__list {
  display: flex;
  align-items: stretch;
  /* gap yok: item tam header yüksekliği */
  gap: 2px;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  /* link içeriği dikey ortada */
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.nav__link:hover,
.nav__item.open>.nav__link {
  color: #603913;
  background: #f7f2ed;
}

/* Caret arrow */
.nav__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 1px;
  transition: transform .2s;
}

.nav__item:hover .nav__caret,
.nav__item.open .nav__caret {
  transform: rotate(180deg);
}

/* ============================================================
   MEGA MENU (desktop)
   position:absolute → .site-header__inner'a göre, container genişliğinde
   ============================================================ */
.nav__item--has-children {
  position: static;
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  /* header inner'ın altından başlar, boşluk yok */
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid #603913;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .13);
  z-index: 200;
  padding: 28px 0 32px;
}

.nav__item:hover .nav__dropdown {
  display: block;
}

/* Grid: 4 sütun, container padding ile hizalı */
.nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 24px;
  /* container padding ile hizala */
}

.nav__mega-link {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  transition: background .15s;
}

.nav__mega-link:hover {
  background: #f7f2ed;
}

.nav__mega-title {
  display: block;
  font-weight: 700;
  color: #2a1a0a;
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.nav__mega-sub {
  display: block;
  font-size: .9rem;
  color: #b0a090;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(145deg, #3d2008 0%, #603913 45%, #8b5a2b 100%);
  color: #fff;
  padding: 96px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .04) 0%, transparent 40%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  /* Cormorant ince, daha büyük lazım */
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero__sub {
  font-size: clamp(.95rem, 2.2vw, 1.2rem);
  opacity: .85;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 40px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: #f5ede3;
  border-color: #f5ede3;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

.btn--cta {
  background: #603913;
  color: #fff;
}

.btn--cta:hover {
  background: #4a2c0e;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 72px 0;
}

.section--gray {
  background: #f8f6f3;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  /* Cormorant için büyütüldü */
  font-weight: 600;
  color: #603913;
  text-align: center;
  margin-bottom: 8px;
}

.section__sub {
  text-align: center;
  color: #777;
  font-size: .95rem;
  margin-bottom: 48px;
}

/* ============================================================
   SCHOOL TYPES
   ============================================================ */
.school-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.school-type {
  border-radius: 16px;
  padding: 40px 36px;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}

.school-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

.school-type--anaokul {
  background: linear-gradient(135deg, #4a2c0e 0%, #603913 40%, #8b5a2b 100%);
}

.school-type--ilkokul {
  background: linear-gradient(135deg, #1a4a5e 0%, #266b87 40%, #3a8fad 100%);
}

.school-type__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.school-type__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.school-type__text {
  opacity: .85;
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: .95rem;
}

.school-type__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .2);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  transition: background .2s;
}

.school-type__link:hover {
  background: rgba(255, 255, 255, .35);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #ede6dc;
  transition: box-shadow .2s, transform .2s;
}

.feature:hover {
  box-shadow: 0 6px 24px rgba(96, 57, 19, .12);
  transform: translateY(-3px);
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: #603913;
  margin-bottom: 8px;
}

.feature__text {
  font-size: .875rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================================
   CTA BAR
   ============================================================ */
.cta-bar {
  background: linear-gradient(90deg, #3d2008, #603913);
  color: #fff;
  padding: 48px 0;
}

.cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-bar__text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cta-bar__text p {
  opacity: .8;
  font-size: .95rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  min-height: 60vh;
}

/* ============================================================
   İÇ SAYFA — page-wrap + opsiyonel sidebar
   ============================================================ */
.page-wrap {
  padding: 20px 20px 40px;
}

/* Sidebar aktifken: 240px sabit sol + kalan sağ */
.page-wrap--sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* --- SIDEBAR --- */
.page-sidebar {
  position: sticky;
  top: calc(80px + 20px);
  /* header yüksekliği + boşluk */
}

.sidebar-head {
  margin-bottom: 4px;
}

.sidebar-head__link {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #603913;
  padding: 10px 14px;
  border-radius: 6px 6px 0 0;
  background: #6d5d4e;
  color: #fff;
}

.sidebar-nav {
  border: 1px solid #e8e0d8;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.sidebar-nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 1rem;
  color: #555;
  border-bottom: 1px solid #f0ebe5;
  transition: background .15s, color .15s;
}

.sidebar-nav__link:last-child {
  border-bottom: none;
}

.sidebar-nav__link:hover {
  background: #faf6f1;
  color: #603913;
}

.sidebar-nav__link--active {
  background: #faf0e6;
  color: #603913;
  font-weight: 700;
  border-left: 3px solid #603913;
  padding-left: 11px;
}

/* --- SAYFA İÇERİĞİ --- */
.page-content__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: #2a1a0a;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0e8de;
}

.page-content__body p {
  margin-bottom: 14px;
  line-height: 1.8;
  color: #444;
}

.page-content__body h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #603913;
  margin: 28px 0 10px;
}

.page-content__body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #444;
  margin: 20px 0 8px;
}

.page-content__body ul,
.page-content__img {
  float: right;
  max-width: 280px;
  width: 40%;
  border-radius: 8px;
  margin: 0 0 20px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}

.page-content__body ul,
.page-content__body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.page-content__body li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* İçerik tabloları */
.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: .95rem;
}

.page-content__body table th,
.page-content__body table td {
  border: 1px solid #d0c8be;
  padding: 10px 14px;
  text-align: left;
  vertical-align: middle;
}

.page-content__body table thead th {
  background: #ff9d00;
  color: #000000;
  font-weight: 600;
  letter-spacing: .03em;
}

.page-content__body table tbody tr:nth-child(even) td {
  background: #f4f8ff;
}

.page-content__body table tbody tr:nth-child(odd) td {
  background: #fff;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq {
  padding: 48px 0;
}

.faq__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #1e0f05;
  margin-bottom: 32px;
}

.faq__item {
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #1e0f05;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 12px;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23603913' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .25s ease;
}

details[open]>.faq__question {
  color: #603913;
  border-bottom: 1px solid #f0e8de;
}

details[open]>.faq__question::after {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 16px 20px 20px;
  font-size: .95rem;
}

.faq__answer p {
  margin-bottom: 10px;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   STAFF / KADRO
   ============================================================ */
.staff-section {
  margin-bottom: 48px;
}

.staff-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #1e0f05;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e8de;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.staff-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid #ede7e0;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .2s, border-color .2s;
}

.staff-card:hover {
  border-color: #c9aa8c;
  box-shadow: 0 4px 16px rgba(96, 57, 19, .08);
}

.staff-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d76a00;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-card__body {
  min-width: 0;
}

.staff-card__name {
  font-weight: 600;
  font-size: .95rem;
  color: #1e0f05;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.staff-card__title {
  font-size: .82rem;
  color: #8a6e58;
  margin-bottom: 4px;
}

.staff-card__email {
  font-size: .75rem;
  color: #603913;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-all;
}

.staff-card__email:hover {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .staff-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .staff-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1e0f05;
  color: #c4ae97;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.site-footer__logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .55;
  margin-bottom: 14px;
}

.site-footer__tagline {
  font-size: .875rem;
  opacity: .55;
  line-height: 1.6;
}

.site-footer__heading {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.site-footer__links li {
  margin-bottom: 9px;
}

.site-footer__links a {
  font-size: .875rem;
  opacity: .6;
  transition: opacity .2s, color .2s;
}

.site-footer__links a:hover {
  opacity: 1;
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer__bottom .container {
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
  font-size: .78rem;
  opacity: .4;
}

/* ============================================================
   RESPONSIVE — Tablet (< 992px)
   ============================================================ */
@media (max-width: 991px) {

  .menu-toggle {
    display: flex;
  }

  .header-badges {
    display: none;
  }

  .instagram-float {
    display: none;
  }

  /* Backdrop overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 8, 3, .5);
    z-index: 50;
    pointer-events: none;
    animation: navOverlayIn .25s ease;
  }
  .nav-overlay--show { display: block; }
  @keyframes navOverlayIn { from { opacity: 0; } to { opacity: 1; } }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(340px, 88vw);
    bottom: 0;
    background: #fff;
    padding: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, .2);
    justify-content: flex-start;
    z-index: 1000;
  }

  .site-nav.nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 40px;
  }

  .nav__item {
    border-bottom: 1px solid rgba(96, 57, 19, .08);
  }

  .nav__link {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1008;
    border-radius: 0;
    justify-content: space-between;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
  }

  .nav__link:hover {
    background: #faf6f1;
    color: #603913;
    border-left-color: rgba(96, 57, 19, .25);
  }

  .nav__item.open > .nav__link {
    background: #fdf5ee;
    color: #603913;
    border-left-color: #603913;
  }

  /* Mega menu → mobilde dikey liste */
  .nav__item--has-children {
    position: relative;
  }

  .nav__dropdown {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    background: #faf6f0;
    padding: 4px 0 10px;
    border-top: 1px solid rgba(96, 57, 19, .08);
  }

  .nav__item:hover .nav__dropdown {
    display: none;
  }

  .nav__item.open .nav__dropdown {
    display: block;
  }

  .nav__mega-grid {
    display: block;
  }

  .nav__mega-link {
    border-radius: 0;
    padding: 11px 24px 11px 40px;
    font-size: .93rem;
    color: #4a3828;
    position: relative;
  }

  .nav__mega-link::before {
    content: '›';
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(96, 57, 19, .45);
    font-size: 1rem;
    font-weight: 700;
  }

  .nav__mega-link:hover {
    background: rgba(96, 57, 19, .06);
    color: #603913;
  }

  .nav__mega-sub {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  /* Sidebar tablet'te üste geçer */
  .page-wrap--sidebar {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (< 640px)
   ============================================================ */
@media (max-width: 639px) {

  .site-header {
    padding-top: 6px;
  }

  .site-header__inner {
    height: 60px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 52px 0;
  }

  .cta-bar__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .page-content__img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
  }
}

/* ============================================================
   KATEGORİ GEÇİŞ SAYFASI (category_landing)
   ============================================================ */
.cat-landing__intro {
  margin-bottom: 32px;
  color: #444;
}

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

.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e2da;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}

.cat-card:hover {
  box-shadow: 0 6px 24px rgba(96, 57, 19, .13);
  transform: translateY(-3px);
}

.cat-card__thumb {
  height: 340px;
  overflow: hidden;
  background: #f5f0eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .3s;
}

.cat-card:hover .cat-card__thumb img {
  transform: scale(1.04);
}

.cat-card__no-img {
  font-size: 1rem;
  font-weight: 600;
  color: #aaa;
  padding: 16px;
  text-align: center;
}

.cat-card__label {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e0f05;
  text-align: center;
  border-top: 2px solid #603913;
  background: #faf7f3;
}

@media (max-width: 767px) {
  .cat-landing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cat-card__thumb {
    height: 140px;
  }
}

@media (max-width: 479px) {
  .cat-landing__grid {
    grid-template-columns: 1fr;
  }

  .cat-card__thumb {
    height: 180px;
  }
}

/* ── Ders Programı ──────────────────────────────────────────────── */

/* ============================================================
   YEMEK LİSTESİ
   ============================================================ */

/* Üst bar */
.meal-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.meal-topbar__left {
  flex: 1;
}

.meal-topbar__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2016;
  margin: 0 0 2px;
}

.meal-topbar__type {
  font-size: .82rem;
  color: #888;
}

.meal-topbar__center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meal-topbar__right {
  flex-shrink: 0;
}

.meal-month-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ebe5;
  border-radius: 4px;
  color: #603913;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 700;
  transition: background .15s;
}

.meal-month-btn:hover {
  background: #ddd4c8;
}

.meal-month-label {
  font-size: .9rem;
  font-weight: 700;
  color: #2c2016;
  white-space: nowrap;
}

/* Tablolar */
.meal-week {
  margin-bottom: 20px;
}

.meal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.meal-table th {
  background: #ff9100;
  color: #000000;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 4px;
  text-align: center;
}

.meal-th-label {
  background: #c96a00;
  width: 110px;
}

.meal-th-date {
  display: block;
  font-weight: 400;
  font-size: .72rem;
  opacity: .9;
}

.meal-label {
  font-size: .78rem;
  font-weight: 700;
  color: #2c2016;
  background: #f5f0eb;
  padding: 6px 6px;
  vertical-align: middle;
}

.meal-cell {
  font-size: .78rem;
  color: #555;
  padding: 6px 4px;
  vertical-align: middle;
  text-align: center;
  border: 1px solid #eee;
}

.meal-cell--filled {
  color: #2c2016;
}

.meal-table tbody tr:nth-child(odd) .meal-cell {
  background: #fff;
}

.meal-table tbody tr:nth-child(even) .meal-cell {
  background: #faf7f4;
}

/* Desktop/mobil görünüm geçişi — ders programı */
.schedule-mobile {
  display: none;
}

.schedule-desktop {
  display: block;
}

/* Ders programı mobil gün kartları */
.sched-day-card {
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.sched-day-card--empty {
  opacity: .45;
}

.sched-day-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #df7711;
  color: #fff;
  padding: 8px 12px;
}

.sched-day-card__day {
  font-weight: 700;
  font-size: .9rem;
}

.sched-day-card__date {
  font-size: .8rem;
  opacity: .9;
}

.sched-day-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-bottom: 1px solid #f0ebe5;
}

.sched-day-card__row:last-child {
  border-bottom: none;
}

.sched-day-card__row--filled {
  background: #fdfaf7;
}

.sched-day-card__time {
  flex-shrink: 0;
  width: 52px;
  font-size: .75rem;
  font-weight: 700;
  color: #603913;
  line-height: 1.2;
}

.sched-day-card__time-end {
  display: block;
  font-weight: 400;
  color: #999;
  font-size: .7rem;
}

.sched-day-card__activity {
  flex: 1;
  font-size: .82rem;
  color: #2c2016;
}

/* Desktop/mobil görünüm geçişi */
.meal-mobile {
  display: none;
}

.meal-desktop {
  display: block;
}

/* Mobil gün kartları */
.meal-day-card {
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.meal-day-card--empty {
  opacity: .5;
}

.meal-day-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #df7711;
  color: #fff;
  padding: 8px 12px;
}

.meal-day-card__day {
  font-weight: 700;
  font-size: .9rem;
}

.meal-day-card__date {
  font-size: .8rem;
  opacity: .9;
}

.meal-day-card__row {
  display: flex;
  align-items: flex-start;
  padding: 8px 12px;
  gap: 10px;
  border-bottom: 1px solid #f0ebe5;
}

.meal-day-card__row:last-child {
  border-bottom: none;
}

.meal-day-card__label {
  flex-shrink: 0;
  width: 110px;
  font-size: .75rem;
  font-weight: 700;
  color: #603913;
  padding-top: 1px;
}

.meal-day-card__content {
  flex: 1;
  font-size: .82rem;
  color: #aaa;
}

.meal-day-card__content--filled {
  color: #2c2016;
}

/* İki kolon düzeni */
.schedule-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 28px;
  align-items: start;
}

@media (max-width: 767px) {
  .meal-desktop {
    display: none;
  }

  .meal-mobile {
    display: block;
  }

  .meal-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .meal-topbar__right {
    align-self: flex-end;
  }

  /* Ders programı mobil */
  .schedule-layout {
    display: block;
  }

  .schedule-nav {
    position: static;
    margin-bottom: 12px;
  }

  .schedule-tabs-v {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .schedule-tab-v {
    padding: 6px 12px;
    font-size: .8rem;
  }

  .schedule-desktop {
    display: none !important;
  }

  .schedule-mobile {
    display: block;
  }

  .schedule-panel__toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Sol kolon */
.schedule-nav {
  position: sticky;
  top: 90px;
  background: #faf7f4;
}

.schedule-nav__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2016;
  margin: 0 0 20px;
  line-height: 1.25;
}

.schedule-tabs-v {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-tab-v {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: 2px solid #d4c5b5;
  border-radius: 8px;
  background: transparent;
  color: #603913;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.schedule-tab-v:hover {
  background: #f5f0eb;
  border-color: #a07850;
}

.schedule-tab-v--active {
  background: #603913;
  color: #fff;
  border-color: #603913;
}

/* Sağ kolon */
.schedule-panels {
  min-width: 0;
}

.schedule-panel {
  display: none;
}

.schedule-panel--active {
  display: block;
}

.schedule-panel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
}

.schedule-panel__name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #3d2009;
}

.schedule-print-btn {
  border: 2px solid #603913;
  color: #603913;
  background: transparent;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: .88rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.schedule-print-btn:hover {
  background: #603913;
  color: #fff;
}

.schedule-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 560px;
}

.schedule-table th {
  background: #ff7e00;
  color: #000000;
  padding: 8px 6px;
  text-align: center;
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
}

.schedule-th-time {
  width: 82px;
}

.schedule-table td {
  border: 1px solid #dde0e6;
  padding: 0px 10px;
  text-align: center;
  vertical-align: middle;
}

.schedule-time {
  background: #f2f3f5;
  font-weight: 600;
  white-space: nowrap;
  width: 82px;
  color: #444;
}

.schedule-time__end {
  font-size: .75rem;
  color: #888;
  display: block;
  font-weight: 400;
}

.schedule-cell {
  min-height: 40px;
}

.schedule-table tbody tr:nth-child(odd) .schedule-cell {
  background: #fff;
}

.schedule-table tbody tr:nth-child(even) .schedule-cell {
  background: #f7f8fa;
}

.schedule-table tbody tr:nth-child(odd) .schedule-time {
  background: #eef0f3;
}

.schedule-table tbody tr:nth-child(even) .schedule-time {
  background: #e6e8ec;
}

.schedule-cell--filled {
  font-weight: 500;
  color: #2c3440;
}

.schedule-empty {
  color: #aaa;
  font-style: italic;
  padding: 16px 0;
}

@media (max-width: 600px) {
  .schedule-table {
    font-size: .78rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 6px 4px;
  }
}

/* ============================================================
   BÜLTENLER
   ============================================================ */
.bulletin-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 28px;
  align-items: start;
}

.bulletin-nav {
  position: sticky;
  top: 90px;
}

.bulletin-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bulletin-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: 2px solid #d4c5b5;
  border-radius: 8px;
  background: transparent;
  color: #603913;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.bulletin-tab:hover {
  background: #f5ede3;
  border-color: #c0a882;
}

.bulletin-tab--active {
  background: #603913;
  color: #fff;
  border-color: #603913;
}

.bulletin-panel {
  display: none;
}

.bulletin-panel--active {
  display: block;
}

.bulletin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bulletin-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e8dfd4;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .15s, border-color .15s, transform .1s;
}

.bulletin-card:hover {
  border-color: #c0936a;
  box-shadow: 0 3px 12px rgba(96, 57, 19, .1);
  transform: translateY(-1px);
}

.bulletin-card__viewer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.bulletin-card__period {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: #d76a00;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bulletin-card__title {
  flex: 1;
  font-size: .95rem;
  color: #2c2016;
  font-weight: 500;
}

.bulletin-card__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  flex-shrink: 0;
}

.bulletin-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e8dfd4;
  background: #faf7f3;
  color: #c0936a;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.bulletin-card__btn:hover {
  background: #f0e6d8;
  color: #603913;
  border-color: #c0936a;
}

.bulletin-card__btn--dl {
  color: #3d8f5f;
  border-color: #c8e6d5;
  background: #f2faf6;
}

.bulletin-card__btn--dl:hover {
  background: #dff2ea;
  color: #276645;
  border-color: #7ec9a0;
}

/* Modal */
.bulletin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.bulletin-modal--open {
  display: flex;
}

.bulletin-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.bulletin-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  width: 92vw;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.bulletin-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #ede5da;
  background: #f9f5f0;
  flex-shrink: 0;
}

.bulletin-modal__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #2c2016;
}

.bulletin-modal__close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}

.bulletin-modal__close:hover {
  background: #ede5da;
  color: #2c2016;
}

.bulletin-modal__body {
  overflow-y: auto;
  padding: 16px;
  background: #f0ebe4;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bulletin-modal__loading {
  color: #888;
  padding: 40px;
  font-size: .95rem;
}

@media (max-width: 767px) {
  .bulletin-layout {
    display: block;
  }

  .bulletin-nav {
    position: static;
    margin-bottom: 14px;
  }

  .bulletin-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .bulletin-tab {
    width: auto;
    padding: 6px 12px;
    font-size: .8rem;
  }

  .bulletin-modal__box {
    width: 98vw;
    max-height: 95vh;
  }
}

/* ── Etkinlik Takvimi ─────────────────────────────────────────── */
.cal-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cal-month-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #603913;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #603913;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  table-layout: fixed;
}

/* Başlık satırı (gün adları) */
.cal-table tr:first-child td {
  background: #603913;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 8px 4px;
  font-size: .8rem;
  letter-spacing: .3px;
}

/* İçerik hücreleri */
.cal-table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  vertical-align: top;
  min-height: 60px;
  font-size: .82rem;
  color: #333;
}

/* Hafta sonu kolonları (6. ve 7.) */
.cal-table tr:not(:first-child) td:nth-child(6),
.cal-table tr:not(:first-child) td:nth-child(7) {
  background: #f8f4ef;
  color: #888;
}

/* .s1 — normal metin, .s2 — kırmızı (tatil/özel gün) */
.cal-table .s1 {
  font-size: .82rem;
  line-height: 1.4;
  color: #333;
}

.cal-table .s2 {
  font-size: .82rem;
  line-height: 1.4;
  color: #c0392b;
  font-weight: 500;
}

/* İlk p (gün numarası) hafif büyük + bold */
.cal-table td p:first-child {
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 2px;
}

@media (max-width: 767px) {
  .cal-table {
    font-size: .72rem;
    table-layout: auto;
  }

  .cal-table tr:first-child td {
    padding: 5px 2px;
    font-size: .7rem;
  }

  .cal-table td {
    padding: 4px 3px;
  }
}

/* ── Akademik Takvim ─────────────────────────────────────────── */
.akad-wrap {
  max-width: 860px;
}

.akad-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #603913;
  text-align: center;
  margin-bottom: 18px;
}

.akad-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.akad-table td {
  border: 1px solid #d0d5de;
  padding: 8px 12px;
  vertical-align: middle;
}

.akad-table tr:nth-child(odd) td {
  background: #fdf6ef;
}

.akad-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: #603913;
  width: 160px;
}

.text-red {
  color: #c0392b;
}

/* Tatil / ara tatil satırı */
.akad-row--tatil td {
  background: #603913 !important;
  color: #fff !important;
  font-weight: 600;
  text-align: center;
  letter-spacing: .3px;
}

/* akad-table thead */
.akad-table th {
  background: #603913;
  color: #fff;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  font-size: .85rem;
  border: 1px solid #4e2e0f;
}

@media (max-width: 767px) {
  .akad-table td:first-child {
    width: auto;
    white-space: normal;
  }

  .akad-table {
    font-size: .82rem;
  }

  .akad-table td {
    padding: 6px 8px;
  }
}
/* ── İletişim ─────────────────────────────────────────────────── */
.iletisim-wrap {
  max-width: 1100px;
}

.iletisim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.iletisim-block__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #603913;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e8de;
}

.iletisim-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.iletisim-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iletisim-info__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: #444;
  line-height: 1.5;
}

.iletisim-info__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #603913;
  margin-top: 2px;
}

.iletisim-info__row a {
  color: #603913;
  text-decoration: none;
}

.iletisim-info__row a:hover {
  text-decoration: underline;
}

.iletisim-map iframe {
  border-radius: 10px;
  display: block;
  border: 1px solid #ede7e0;
}

@media (max-width: 767px) {
  .iletisim-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============================================================
   ETKİNLİKLER — Liste (act-grid, act-card)
   ============================================================ */
.act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.act-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e2da;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}

.act-card:hover {
  box-shadow: 0 6px 24px rgba(96, 57, 19, .13);
  transform: translateY(-3px);
}

.act-card__thumb {
  height: 200px;
  overflow: hidden;
  background: #f5f0eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.act-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.act-card:hover .act-card__img {
  transform: scale(1.04);
}

.act-card__insta-icon,
.act-card__no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.act-card__insta-icon svg {
  width: 48px;
  height: 48px;
  color: #c7628a;
  opacity: .7;
}

.act-card__no-img svg {
  width: 48px;
  height: 48px;
  color: #bbb;
}

.act-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.act-card__date {
  font-size: .78rem;
  color: #a08060;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.act-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e0f05;
  margin: 0;
  line-height: 1.35;
}

.act-card__summary {
  font-size: .88rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  .act-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 599px) {
  .act-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .act-card__thumb {
    height: 180px;
  }
}

/* ============================================================
   ETKİNLİK DETAY (act-detail)
   ============================================================ */
.act-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: #888;
  margin-bottom: 16px;
}

.act-breadcrumb a {
  color: #603913;
  text-decoration: none;
}

.act-breadcrumb a:hover {
  text-decoration: underline;
}

.act-detail__date {
  font-size: .85rem;
  color: #a08060;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: -10px 0 16px;
}

.act-detail__summary {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 700px;
}

/* --- Fotoğraf Galerisi --- */
.act-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.act-gallery__item {
  border: none;
  padding: 0;
  cursor: pointer;
  background: #f5f0eb;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.act-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}

.act-gallery__item:hover .act-gallery__img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .act-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .act-detail {
    padding: 0 12px;
  }
}

@media (max-width: 479px) {
  .act-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

/* --- Lightbox --- */
.act-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.act-lightbox--open {
  display: flex;
}

.act-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .88);
}

.act-lightbox__box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.act-lightbox__img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.act-lightbox__close,
.act-lightbox__prev,
.act-lightbox__next {
  position: absolute;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.act-lightbox__close:hover,
.act-lightbox__prev:hover,
.act-lightbox__next:hover {
  background: rgba(255,255,255,.3);
}

.act-lightbox__close {
  top: -22px;
  right: -22px;
  font-size: 1.1rem;
}

.act-lightbox__prev {
  left: -54px;
}

.act-lightbox__next {
  right: -54px;
}

.act-lightbox__counter {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  white-space: nowrap;
}

@media (max-width: 599px) {
  .act-lightbox__prev { left: 4px; }
  .act-lightbox__next { right: 4px; }
  .act-lightbox__close { top: 4px; right: 4px; }
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-widget {
  position: fixed;
  bottom: 70px;
  right: 35px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ff8c00;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,140,0,.4);
  transition: transform .2s, box-shadow .2s;
}

.chatbot-widget:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(255,140,0,.55);
}

@media (max-width: 639px) {
  .chatbot-widget {
    bottom: 18px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

/* Chat Panel */
.chatbot-panel {
  position: fixed;
  bottom: 140px;
  right: 28px;
  z-index: 1499;
  width: 360px;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  overflow: hidden;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.chatbot-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #ff8c00;
  color: #fff;
  flex-shrink: 0;
}
.chatbot-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  flex: 1;
}
.chatbot-panel__close,
.chatbot-panel__clear {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 2px 4px;
  opacity: .75;
  display: flex;
  align-items: center;
}
.chatbot-panel__close { font-size: 1.4rem; line-height: 1; }
.chatbot-panel__close:hover,
.chatbot-panel__clear:hover { opacity: 1; }

.chatbot-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #faf8f5;
}

.chatbot-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: .87rem;
  line-height: 1.5;
  word-break: break-word;
}
.chatbot-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: #2c1a0e;
  border: 1px solid #e8e0d6;
  border-bottom-left-radius: 4px;
}
.chatbot-msg--user {
  align-self: flex-end;
  background: #ff8c00;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-msg--typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e8e0d6;
  border-bottom-left-radius: 4px;
  padding: 10px 16px;
}
.chatbot-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 16px;
}
.chatbot-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa;
  animation: chatbot-bounce .9s infinite ease-in-out;
}
.chatbot-typing-dots span:nth-child(2) { animation-delay: .15s; }
.chatbot-typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes chatbot-bounce {
  0%, 80%, 100% { transform: scale(.8); opacity: .5; }
  40%            { transform: scale(1.2); opacity: 1; }
}

.chatbot-panel__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #eee;
  background: #fff;
  flex-shrink: 0;
}
.chatbot-panel__input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: .87rem;
  outline: none;
  font-family: inherit;
  color: #2c1a0e;
}
.chatbot-panel__input:focus { border-color: #ff8c00; }
.chatbot-panel__send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff8c00;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.chatbot-panel__send:hover { background: #e07d00; }
.chatbot-panel__send:disabled { background: #ccc; cursor: default; }

/* İsim ekranı */
.chatbot-name-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  flex: 1;
}
.chatbot-name-screen__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  text-align: center;
}
.chatbot-name-screen__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 6px;
  background: linear-gradient(135deg, #ff8c00 0%, #e07000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,140,0,.35);
}
.chatbot-name-screen__msg {
  font-size: .9rem;
  color: #3a3a3a;
  line-height: 1.65;
  padding: 0 4px;
}
.chatbot-name-input {
  font-size: .9rem;
  padding: 10px 14px;
  text-align: center;
  letter-spacing: .3px;
}
.chatbot-name-btn {
  display: block;
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #ff8c00, #e07000);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.chatbot-name-btn:hover { opacity: .9; transform: translateY(-1px); }
.chatbot-name-btn:active { transform: translateY(0); }

@media (max-width: 639px) {
  .chatbot-panel {
    bottom: 80px;
    right: 8px;
    left: 8px;
    width: auto;
    max-height: 70vh;
    border-radius: 14px;
  }
}

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay--show {
  display: flex;
}

.popup-box {
  position: relative;
  line-height: 0;
}

.popup-box img {
  display: block;
  height: 600px;
  width: auto;
  max-height: 80vh;
  max-width: calc(100vw - 40px);
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}

.popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  transition: background .15s, transform .15s;
  z-index: 1;
}

.popup-close:hover {
  background: #f0e8de;
  transform: scale(1.1);
}

@media (max-width: 639px) {
  .popup-box img {
    height: auto;
    width: calc(100vw - 40px);
    max-height: 80vh;
  }
}

/* Mobile Banner */
.mobile-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .35s ease;
}
.mobile-banner--show { transform: translateY(0); }
.mobile-banner img { display: block; width: 100%; max-height: 160px; object-fit: cover; }
.mobile-banner__close {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,.5); color: #fff; border: none;
  border-radius: 50%; font-size: 1rem; cursor: pointer; line-height: 1;
}
@media (max-width: 768px) { .mobile-banner { display: block; } }
@media (min-width: 769px) { .mobile-banner { display: none !important; } }
