:root {
  /* Global */
  --bg-color: #ffffff;
  --text-color: #333333;
  --transition-speed: 0.6s;

  /* Nazay Bahce */
  --bahce-primary: #f28b3a;
  /* Orange */
  --bahce-secondary: #2c4c3b;
  /* Forest Green */
  --bahce-light: #f9fbf9;

  /* Nazay Tercume */
  --tercume-primary: #d62828;
  /* Red */
  --tercume-secondary: #1a1a1a;
  /* Black */
  --tercume-light: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
}

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

ul {
  list-style: none;
}

/* App Container */
#app {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* Page Transition Wrapper */
.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease-in-out, transform var(--transition-speed) ease-in-out;
  transform: translateY(20px);
}

.page.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}

/* ==========================================================
   GİRİŞ EKRANI (LANDING)
   ----------------------------------------------------------
   Not: Logolar ARTIK arka plan görseli değil. Küçük logoları
   background-size:cover ile ekrana yaymak hem bulanıklaştırıyor
   hem de kenarlarından kırpıyordu. Logolar artık beyaz bir
   rozet içinde <img> olarak, object-fit:contain ile gösteriliyor:
   ne bulanıklaşır ne de kırpılır.
   ========================================================== */
.landing {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #101010;
}

/* ---------- Üst marka şeridi ---------- */
.landing-brand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 26px 20px 40px;
  color: #fff;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
  animation: landing-fade 0.9s 0.1s both;
}

.lb-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}

.lb-loc {
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  opacity: 0.6;
}

/* ---------- Paneller ---------- */
.landing-panels {
  display: flex;
  height: 100%;
}

.panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel + .panel {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-media,
.panel-veil {
  position: absolute;
  inset: 0;
  display: block;
}

.panel-media {
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -2;
}

.panel-veil {
  z-index: -1;
  transition: opacity 0.45s ease;
}

/* Bahçe paneli — gerçek mekân fotoğrafı */
.panel-bahce .panel-media {
  background-image: url('assets/landing-bahce.jpg');
}

.panel-bahce .panel-veil {
  background:
    /* içeriğin arkasını koyultan yumuşak merkez gölge (metin okunurluğu) */
    radial-gradient(ellipse 82% 56% at 50% 48%,
      rgba(6, 22, 14, 0.72) 0%,
      rgba(6, 22, 14, 0.3) 62%,
      transparent 100%),
    /* marka yeşili tonlaması — fotoğrafı boğmadan */
    linear-gradient(180deg,
      rgba(16, 40, 28, 0.5) 0%,
      rgba(20, 48, 33, 0.44) 42%,
      rgba(8, 22, 15, 0.86) 100%);
}

/* Tercüme paneli — marka gradyanı + ince doku (fotoğraf yok, her çözünürlükte net) */
.panel-tercume .panel-media {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 11px),
    radial-gradient(ellipse 62% 46% at 76% 16%, rgba(214, 40, 40, 0.42), transparent 62%),
    radial-gradient(ellipse 70% 42% at 22% 96%, rgba(139, 20, 20, 0.34), transparent 66%),
    linear-gradient(158deg, #141414 0%, #1d1d1d 38%, #2a1010 68%, #460e0e 100%);
}

.panel-tercume .panel-veil {
  background:
    radial-gradient(ellipse 76% 54% at 50% 46%,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.1) 72%,
      transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.34) 100%);
}

/* ---------- Panel içeriği ---------- */
.panel-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 24px;
  width: 100%;
  /* max-width tek başına dar ekranda taşmayı engellemiyor; width:100% ile birlikte gerekiyor */
  max-width: 420px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  animation: landing-rise 0.85s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.panel-bahce .panel-body { animation-delay: 0.18s; }
.panel-tercume .panel-body { animation-delay: 0.3s; }

/* Logo rozeti — logonun net ve tam görünmesini sağlayan kısım */
.panel-logo {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 26px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease;
}

.panel-logo img {
  display: block;
  height: 94px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* kırpma yok, oran bozulmaz */
}

.panel h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.panel p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 22px;
}

.panel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.panel-chips span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease, ease), border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.panel-cta .ico {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

/* ---------- Etkileşim ---------- */
.panel:hover,
.panel:focus-visible {
  flex: 1.16;
}

.panel:hover .panel-media {
  transform: scale(1.07);
}

.panel:hover .panel-veil {
  opacity: 0.86;
}

.panel:hover .panel-body {
  transform: translateY(-8px);
}

.panel:hover .panel-logo {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.panel:hover .panel-cta .ico {
  transform: translateX(5px);
}

.panel-bahce:hover .panel-cta {
  background: var(--bahce-primary);
  border-color: var(--bahce-primary);
}

.panel-tercume:hover .panel-cta {
  background: var(--tercume-primary);
  border-color: var(--tercume-primary);
}

.panel:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

/* ---------- Alt iletişim şeridi ---------- */
.landing-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 34px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  animation: landing-fade 0.9s 0.45s both;
}

.landing-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.landing-foot a:hover {
  color: #fff;
}

.landing-foot .ico {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

/* ---------- Animasyonlar ---------- */
@keyframes landing-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes landing-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
  .panel-body { padding: 80px 20px; }
  .panel-logo img { height: 78px; max-width: 180px; }
  .panel p { font-size: 0.94rem; }
}

@media (max-width: 768px) {
  .landing { height: auto; min-height: 100vh; min-height: 100dvh; }

  .landing-panels { flex-direction: column; height: auto; }

  .panel {
    flex: none;
    min-height: 50vh;
    min-height: 50dvh;
  }

  .panel + .panel {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  /* Dokunmatikte panel genişletme anlamsız */
  .panel:hover { flex: none; }
  .panel:hover .panel-body { transform: none; }

  .panel-body { padding: 74px 20px 66px; }
  .panel-logo { padding: 13px 16px; margin-bottom: 18px; border-radius: 16px; }
  .panel-logo img { height: 64px; max-width: 155px; }
  .panel h1 { font-size: 1.85rem; }
  .panel-chips { margin-bottom: 22px; }
  .panel-cta { padding: 11px 26px; font-size: 0.88rem; }

  .landing-brand { padding: 18px 16px 34px; }
  .lb-name { font-size: 0.92rem; }

  .landing-foot {
    position: static;
    background: #101010;
    padding: 18px 20px 22px;
  }
}

@media (max-width: 380px) {
  .panel-chips span { font-size: 0.68rem; padding: 5px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-brand,
  .landing-foot,
  .panel-body { animation: none; }

  .panel,
  .panel-media,
  .panel-body,
  .panel-logo,
  .panel-cta .ico { transition: none; }

  .panel:hover { flex: 1; }
  .panel:hover .panel-media { transform: scale(1.01); }
}

/* ===== SHARED INNER PAGE STYLES ===== */
.header {
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.back-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: opacity 0.3s;
}

.back-btn:hover {
  opacity: 0.7;
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* ===== NAZAY BAHCE SPECIFIC ===== */
.bahce-page {
  background-color: var(--bahce-light);
  color: var(--bahce-secondary);
}

.bahce-page .header {
  color: white;
}

.bahce-page .hero {
  background: url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.bahce-page .hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(44, 76, 59, 0.9) 0%, rgba(44, 76, 59, 0.4) 100%);
  z-index: 1;
}

.bahce-page .hero-content {
  color: white;
}

.bahce-page .btn-primary {
  background-color: var(--bahce-primary);
  color: white;
}

.bahce-page .section-title {
  color: var(--bahce-secondary);
}

.bahce-page .card {
  background: white;
  box-shadow: 0 15px 35px rgba(44, 76, 59, 0.05);
}

/* ===== NAZAY TERCUME SPECIFIC ===== */
.tercume-page {
  background-color: var(--tercume-light);
  color: var(--tercume-secondary);
}

.tercume-page .header {
  color: white;
}

.tercume-page .hero {
  background: url('https://images.unsplash.com/photo-1503694978374-8a2fa686963a?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.tercume-page .hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.5) 100%);
  z-index: 1;
}

.tercume-page .hero-content {
  color: white;
}

.tercume-page .hero h1 span {
  color: var(--tercume-primary);
}

.tercume-page .btn-primary {
  background-color: var(--tercume-primary);
  color: white;
}

.tercume-page .section-title {
  color: var(--tercume-secondary);
}

.tercume-page .card {
  background: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid var(--tercume-primary);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}