/* ══════════════════════════════════════════════════
   CepteBodrum — Tasarım Sistemi
   Ege & Akdeniz estetiği, mobile-first
   ══════════════════════════════════════════════════ */

/* ── TASARIM TOKEN'LARI ─────────────────────────── */
:root {
  --navy:        #0f1923;
  --navy-2:      #162032;
  --teal:        #0891b2;
  --teal-dark:   #0e7490;
  --teal-light:  #e0f7fc;
  --coral:       #f04c5a;
  --coral-dark:  #dc2626;
  --gold:        #f59e0b;
  --gold-light:  #fef3c7;
  --sand:        #faf8f3;
  --sand-2:      #f5f0e8;
  --white:       #ffffff;
  --gray-1:      #f9fafb;
  --gray-2:      #f3f4f6;
  --gray-3:      #e5e7eb;
  --gray-4:      #d1d5db;
  --gray-5:      #9ca3af;
  --gray-6:      #6b7280;
  --gray-7:      #374151;
  --text:        #0f1923;

  --font-display: 'Nunito', sans-serif;
  --font-body:    'Inter', sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.16);
  --shadow-coral: 0 8px 24px rgba(240,76,90,.35);
  --shadow-teal:  0 8px 24px rgba(8,145,178,.30);

  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,0,.2,1);
  --ease-in:    cubic-bezier(.4,0,1,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --duration:   220ms;
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; }
button, a { cursor: pointer; }
a { text-decoration: none; color: inherit; }

/* ── BASE ──────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* Mobil alt nav için */
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

/* ════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
#navbar.transparent { background: transparent; }
#navbar.scrolled {
  background: rgba(15,25,35,.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), var(--shadow-md);
}
#navbar.solid { background: var(--navy); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .nav-inner { height: 72px; }
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--coral), #c0392b);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow-coral);
  transition: transform var(--duration) var(--ease-spring);
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.1) rotate(-5deg); }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  letter-spacing: -.01em;
}
.nav-logo-text em { color: var(--gold); font-style: normal; }

/* Desktop menu */
.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-md);
  font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,.12); color: white; }
.nav-link.active { background: rgba(255,255,255,.16); color: white; font-weight: 600; }
.nav-link .nav-icon { font-size: 1rem; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-atlas-nav {
  display: none;
  align-items: center; gap: 8px;
  background: var(--coral);
  color: white;
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: .85rem; font-weight: 600;
  border: none;
  box-shadow: var(--shadow-coral);
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
}
.btn-atlas-nav:hover {
  background: var(--coral-dark);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 28px rgba(240,76,90,.45);
}
@media (min-width: 768px) { .btn-atlas-nav { display: flex; } }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.hamburger:hover { background: rgba(255,255,255,.18); }
.hamburger span {
  display: block; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile dropdown menu */
#mobile-menu {
  display: none;
  background: rgba(15,25,35,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  animation: slideDown .25s var(--ease-out);
}
#mobile-menu.open { display: block; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu-inner {
  max-width: 1280px; margin: 0 auto;
  padding: .75rem 1.25rem 1rem;
}
.mobile-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mobile-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  color: rgba(255,255,255,.82);
  font-size: .875rem; font-weight: 500;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}
.mobile-nav-item:hover { background: rgba(255,255,255,.1); color: white; }
.mobile-nav-item .nav-icon { font-size: 1.15rem; }
.mobile-atlas-btn {
  margin-top: 10px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--coral), #e84393);
  color: white;
  border: none;
  border-radius: var(--r-lg);
  font-size: .9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-coral);
  transition: opacity var(--duration) var(--ease);
}
.mobile-atlas-btn:hover { opacity: .9; }

/* ════════════════════════════════════════════════
   MOBİL ALT NAVIGASYON (App-style bottom bar)
   ════════════════════════════════════════════════ */
#bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 49;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 -8px 32px rgba(0,0,0,.1);
  display: flex;
  padding: 0 .5rem env(safe-area-inset-bottom);
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { #bottom-nav { display: none; } }

.bottom-nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  color: var(--gray-5);
  font-size: .6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  transition: color var(--duration) var(--ease);
  position: relative;
}
.bottom-nav-item.active { color: var(--teal); }
.bottom-nav-item .bnav-icon {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform var(--duration) var(--ease-spring);
}
.bottom-nav-item:active .bnav-icon { transform: scale(.85); }
.bottom-nav-item.active .bnav-icon { filter: drop-shadow(0 2px 4px rgba(8,145,178,.3)); }
.bottom-nav-atlas {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--coral);
  font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.bottom-nav-atlas .atlas-orb {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--coral), #e84393);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
  box-shadow: var(--shadow-coral);
  transition: transform var(--duration) var(--ease-spring);
  margin-top: -6px;
}
.bottom-nav-atlas:active .atlas-orb { transform: scale(.88); }

/* ════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,25,35,.88) 0%,
    rgba(14,116,144,.35) 60%,
    rgba(240,76,90,.15) 100%
  );
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(8,145,178,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 56rem; margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, #ff8c00 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,.72);
  font-size: clamp(.95rem, 2.5vw, 1.2rem);
  line-height: 1.65;
  max-width: 36rem; margin: 0 auto 2.5rem;
}
.hero-subtitle strong { color: var(--gold); font-weight: 600; }

/* Hero nav tiles */
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  max-width: 38rem; margin: 0 auto 2rem;
}
@media (max-width: 480px) {
  .hero-tiles { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
}
.hero-tile {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  padding: 1rem .5rem;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: white;
  backdrop-filter: blur(8px);
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring),
              border-color var(--duration) var(--ease);
}
.hero-tile:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-3px);
}
.hero-tile-icon { font-size: 1.6rem; line-height: 1; }
.hero-tile-label {
  font-size: .72rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}

/* Hero Atlas CTA */
.hero-atlas-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--coral) 0%, #e84393 100%);
  color: white;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-size: 1rem; font-weight: 700;
  border: none;
  box-shadow: 0 12px 40px rgba(240,76,90,.45);
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
}
.hero-atlas-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 56px rgba(240,76,90,.55);
}
.hero-atlas-btn .pulse-ring {
  position: relative; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.hero-atlas-btn .pulse-ring::before {
  content: '';
  position: absolute; inset: -5px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  animation: ring-pulse 2s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.4); font-size: .7rem; letter-spacing: .06em;
  animation: float-y 2.5s ease-in-out infinite;
}
@keyframes float-y {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════════════════════
   PAGE HERO (alt sayfalar)
   ════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 280px;
  height: clamp(280px, 38vh, 420px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: 64px;
}
@media (min-width: 1024px) { .page-hero { margin-top: 72px; } }
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,25,35,.92) 0%,
    rgba(15,25,35,.5)  50%,
    rgba(15,25,35,.2)  100%
  );
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 2rem 1.25rem 2.5rem;
  width: 100%;
  max-width: 1280px; margin: 0 auto;
}

/* ════════════════════════════════════════════════
   SECTION
   ════════════════════════════════════════════════ */
.section { padding: 4rem 1.25rem; }
@media (min-width: 768px) { .section { padding: 5rem 1.5rem; } }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header {
  display: flex; flex-direction: column;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.section-title.light { color: white; }
.section-subtitle {
  color: var(--gray-6);
  font-size: .9rem;
  margin-top: .35rem;
  line-height: 1.5;
}
.section-subtitle.light { color: rgba(255,255,255,.55); }
.section-link {
  font-size: .85rem; font-weight: 600;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap; margin-top: .75rem;
  transition: gap var(--duration) var(--ease);
}
.section-link:hover { gap: 8px; }
@media (min-width: 768px) { .section-link { margin-top: 0; } }

/* ════════════════════════════════════════════════
   KARTLAR
   ════════════════════════════════════════════════ */
.card {
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.card:hover .card-img { transform: scale(1.05); }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 599px) { .card-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 899px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Featured grid (3 sütun) */
.featured-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card iç padding */
.card-body { padding: 1.1rem 1.25rem 1.35rem; flex: 1; }

/* ════════════════════════════════════════════════
   BADGE
   ════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center;
  padding: .25rem .7rem;
  border-radius: var(--r-full);
  font-size: .7rem; font-weight: 700; letter-spacing: .03em;
  line-height: 1.3;
}
.badge-coral   { background: #fde8ec; color: #be123c; }
.badge-teal    { background: #e0f7fc; color: var(--teal-dark); }
.badge-gold    { background: var(--gold-light); color: #92400e; }
.badge-navy    { background: #e8ecf5; color: var(--navy); }
.badge-green   { background: #d1fae5; color: #065f46; }
.badge-purple  { background: #ede9fe; color: #5b21b6; }

/* ════════════════════════════════════════════════
   BUTONLAR
   ════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--r-md);
  font-size: .875rem; font-weight: 600;
  border: 2px solid transparent;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--coral); color: white; border-color: var(--coral);
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
  background: var(--coral-dark); border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240,76,90,.4);
}
.btn-secondary {
  background: var(--teal); color: white; border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.btn-secondary:hover {
  background: var(--teal-dark); border-color: var(--teal-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--coral); border-color: var(--coral);
}
.btn-outline:hover {
  background: var(--coral); color: white;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--teal); border-color: transparent;
  padding-left: .5rem; padding-right: .5rem;
}
.btn-ghost:hover { background: var(--teal-light); }
.btn-lg { padding: .85rem 2rem; font-size: .95rem; border-radius: var(--r-lg); }

/* ════════════════════════════════════════════════
   FORM STİLLERİ
   ════════════════════════════════════════════════ */
.input-style {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--gray-3);
  border-radius: var(--r-md);
  font-size: .875rem; font-family: var(--font-body);
  color: var(--text); background: white;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  appearance: none;
}
.input-style::placeholder { color: var(--gray-4); }
.input-style:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8,145,178,.14);
}
textarea.input-style { resize: vertical; min-height: 110px; line-height: 1.6; }
select.input-style { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem; padding-right: 2.5rem; }

.form-label {
  display: block;
  font-size: .8rem; font-weight: 600;
  color: var(--gray-7); margin-bottom: .35rem;
  letter-spacing: .01em;
}
.form-section {
  background: white;
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-2);
}
.form-section + .form-section { margin-top: 1rem; }
.form-section h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--sand-2);
}

.upload-area {
  border: 2px dashed var(--gray-3);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center; cursor: pointer;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}
.upload-area:hover, .upload-area.dragover {
  border-color: var(--teal);
  background: rgba(8,145,178,.04);
}

/* ════════════════════════════════════════════════
   ATLAS CHATBOT
   ════════════════════════════════════════════════ */
/* Floating button (sadece masaüstü) */
.atlas-float-desktop {
  display: none;
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 45;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--coral), #e84393);
  border-radius: 50%;
  border: none;
  color: white; font-size: 1.4rem;
  box-shadow: 0 8px 32px rgba(240,76,90,.45), 0 2px 8px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform var(--duration) var(--ease-spring),
              box-shadow var(--duration) var(--ease);
  align-items: center; justify-content: center;
  animation: float-bounce 3s ease-in-out infinite;
}
@keyframes float-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.atlas-float-desktop:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 48px rgba(240,76,90,.55);
  animation: none;
}
@media (min-width: 768px) { .atlas-float-desktop { display: flex; } }

/* Modal */
#atlas-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 90;
  align-items: flex-end;
  justify-content: center;
}
#atlas-modal.open { display: flex; }
@media (min-width: 640px) { #atlas-modal { align-items: center; } }

.atlas-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  animation: fade-in .2s var(--ease-out);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.atlas-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 28rem;
  max-height: 92vh;
  background: white;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: slide-up-panel .3s var(--ease-out);
  box-shadow: var(--shadow-xl);
}
@media (min-width: 640px) {
  .atlas-panel {
    border-radius: var(--r-xl);
    animation: scale-in .25s var(--ease-out);
  }
}
@keyframes slide-up-panel {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* Panel drag handle */
.atlas-drag-handle {
  width: 40px; height: 4px;
  background: var(--gray-3); border-radius: 2px;
  margin: 12px auto 0; flex-shrink: 0;
}
@media (min-width: 640px) { .atlas-drag-handle { display: none; } }

.atlas-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  padding: 1rem 1.25rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.atlas-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), #ff8c00);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(245,158,11,.4);
}
.atlas-header-info h3 { color: white; font-weight: 600; font-size: .95rem; }
.atlas-header-info p { color: rgba(255,255,255,.55); font-size: .75rem; }
.atlas-online {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.55); font-size: .75rem;
}
.atlas-online::before {
  content: '';
  width: 7px; height: 7px;
  background: #22c55e; border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.atlas-close {
  background: rgba(255,255,255,.1); border: none; color: white;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.atlas-close:hover { background: rgba(255,255,255,.2); }

/* Form & Chat */
#atlas-form-bolum { padding: 1.25rem; overflow-y: auto; flex: 1; }
#atlas-chat-bolum { display: none; flex-direction: column; flex: 1; overflow: hidden; }
#atlas-chat-bolum.visible { display: flex; }

#atlas-mesajlar {
  flex: 1; overflow-y: auto;
  padding: 1rem;
  scroll-behavior: smooth;
  display: flex; flex-direction: column; gap: .75rem;
}
.atlas-msg { display: flex; flex-direction: column; }
.atlas-msg.user { align-items: flex-end; }
.atlas-msg.bot  { align-items: flex-start; }
.atlas-bubble {
  max-width: 78%;
  padding: .65rem .9rem;
  border-radius: 1rem;
  font-size: .85rem; line-height: 1.55;
}
.atlas-bubble.bot {
  background: var(--gray-1);
  color: var(--navy);
  border-bottom-left-radius: 4px;
}
.atlas-bubble.user {
  background: var(--teal);
  color: white;
  border-bottom-right-radius: 4px;
}
.atlas-typing span {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gray-5); border-radius: 50%;
  margin: 0 2px;
  animation: typing 1.2s ease-in-out infinite;
}
.atlas-typing span:nth-child(2) { animation-delay: .22s; }
.atlas-typing span:nth-child(3) { animation-delay: .44s; }
@keyframes typing {
  0%,60%,100% { transform: translateY(0); opacity: .5; }
  30%          { transform: translateY(-5px); opacity: 1; }
}
.atlas-input-row {
  border-top: 1px solid var(--gray-2);
  padding: .75rem 1rem;
  display: flex; gap: .5rem; align-items: center; flex-shrink: 0;
  background: white;
}
.atlas-input {
  flex: 1;
  padding: .55rem .9rem;
  border: 1.5px solid var(--gray-3); border-radius: var(--r-full);
  font-size: .85rem; font-family: var(--font-body);
  transition: border-color var(--duration) var(--ease);
  outline: none;
}
.atlas-input:focus { border-color: var(--teal); }
.atlas-send {
  width: 36px; height: 36px;
  background: var(--teal); color: white; border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; cursor: pointer;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring);
  flex-shrink: 0;
}
.atlas-send:hover { background: var(--teal-dark); transform: scale(1.1); }
.atlas-send:active { transform: scale(.92); }

/* ════════════════════════════════════════════════
   ANİMASYONLAR
   ════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* slide-up (backward compat) */
.slide-up { opacity: 0; }
.slide-up.visible {
  animation: kf-slide-up .6s var(--ease-out) forwards;
}
@keyframes kf-slide-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════
   BANNER REKLAM (3-slot sistemi)
   ════════════════════════════════════════════════ */
#popup-reklam {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  animation: fade-in .3s var(--ease-out);
  padding: 1rem;
  transition: opacity .3s;
}
.popup-inner {
  position: relative;
  max-width: 36rem; width: 100%;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
  animation: scale-in .3s var(--ease-out);
  background: #000;
}
/* Çok slot: yan yana grid */
.popup-inner.popup-cok-slot { max-width: 54rem; }
.popup-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.popup-slot {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.popup-slot a, .popup-banner-link {
  display: block; cursor: pointer;
  text-decoration: none;
}
.popup-slot img, .popup-slot video,
.popup-banner-img, .popup-banner-video {
  width: 100%; display: block;
  max-height: 70vh; object-fit: contain;
}
.popup-metin {
  padding: .75rem 1rem;
  font-size: .875rem; line-height: 1.6;
  color: #fff; background: rgba(0,0,0,.75);
  text-align: center;
}
.popup-close {
  position: absolute; top: .65rem; right: .65rem; z-index: 10;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.92);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: bold; color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: background .2s, transform .2s;
}
.popup-close:hover { background: white; transform: scale(1.1); }

/* ════════════════════════════════════════════════
   SAYFALAMA
   ════════════════════════════════════════════════ */
.pagination {
  display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.5rem;
}
.page-btn {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  font-size: .8rem; font-weight: 600;
  background: white; color: var(--gray-7);
  border: 1.5px solid var(--gray-3);
  transition: all var(--duration) var(--ease);
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--teal); color: white; border-color: var(--teal); }

/* ════════════════════════════════════════════════
   DETAY SAYFASI
   ════════════════════════════════════════════════ */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .6rem;
  border-radius: var(--r-xl); overflow: hidden;
}
@media (max-width: 599px) { .detail-gallery { grid-template-columns: 1fr; } }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════════════════════
   ADMIN PANELİ
   ════════════════════════════════════════════════ */
.admin-sidebar {
  width: 260px; min-height: 100vh;
  background: var(--navy); padding: 1.5rem;
  position: fixed; top: 0; left: 0;
}
.admin-content {
  margin-left: 260px; padding: 2rem;
  min-height: 100vh; background: var(--gray-1);
}
@media (max-width: 768px) {
  .admin-sidebar { position: static; width: 100%; min-height: auto; }
  .admin-content { margin-left: 0; }
}
.admin-card {
  background: white; border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-2);
}

/* ════════════════════════════════════════════════
   SOSYAL MEDYA POST CANVAS
   ════════════════════════════════════════════════ */
#post-canvas-container {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
#post-canvas-wrapper {
  background: white; border-radius: var(--r-xl);
  padding: 1.5rem;
  max-width: 36rem; width: 100%;
  max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

/* ════════════════════════════════════════════════
   3 ADIM (KOLAY EKLE)
   ════════════════════════════════════════════════ */
.step-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-2);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.step-card::before {
  content: attr(data-number);
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 5rem; font-weight: 900;
  color: var(--gray-2); line-height: 1; z-index: 0; pointer-events: none;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-icon {
  position: relative; z-index: 1;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--teal-light), #bae6fd);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.1rem;
  box-shadow: var(--shadow-teal);
}

/* ════════════════════════════════════════════════
   GLASS
   ════════════════════════════════════════════════ */
.glass {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.18);
}
.glass-dark {
  background: rgba(15,25,35,.7);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.08);
}

/* ════════════════════════════════════════════════
   TOAST BİLDİRİM
   ════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: calc(80px + env(safe-area-inset-bottom));
  right: 1.25rem;
  z-index: 80;
  background: var(--navy);
  color: white;
  padding: .7rem 1.1rem;
  border-radius: var(--r-lg);
  font-size: .85rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px;
  animation: toast-in .3s var(--ease-out);
}
@media (min-width: 768px) {
  .toast { bottom: 1.5rem; }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ════════════════════════════════════════════════
   YARDIMCI SINIFLAR
   ════════════════════════════════════════════════ */
.text-gradient {
  background: linear-gradient(135deg, var(--teal), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* Focus visible erişilebilirlik */
*:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
