/* ==========================================================
   SERBEST DALIŞ PORTALI - MODERN TASARIM SİSTEMİ
   Derin Okyanus & Glassmorphism Arayüzü
   ========================================================== */
/* Fontlar HTML üzerinden preload / link ile asenkron yüklenmektedir */

:root {
  /* Renk Paleti - Derin Okyanus & Neon Vurgular */
  --bg-deep: #030a16;
  --bg-ocean: #07152a;
  --bg-surface: rgba(11, 27, 51, 0.75);
  --bg-surface-elevated: rgba(16, 38, 72, 0.85);
  --bg-card-hover: rgba(23, 52, 97, 0.85);

  --border-subtle: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(0, 229, 255, 0.4);

  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.35);
  --primary-dark: #0099b8;

  --secondary: #10b981;
  --secondary-glow: rgba(16, 185, 129, 0.35);

  --accent: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-danger: #f43f5e;
  --accent-danger-glow: rgba(244, 63, 94, 0.35);

  --text-main: #f0f6fc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Fontlar & Aralıklar */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 25px var(--primary-glow);
  --shadow-glow-danger: 0 0 25px var(--accent-danger-glow);

  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Temel */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Yüksek Performanslı Sabit Arka Plan (Scroll Repaint / Kasma Önleyici) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
  transform: translateZ(0);
  will-change: transform;
}

/* Tipografi */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  color: #cbd5e1;
  font-size: 1.05rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:visited {
  color: inherit;
}

a:hover {
  color: #fff;
}

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradient Metinler */
.text-gradient {
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-danger {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Rozet / Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.35);
  backdrop-filter: blur(8px);
}

.badge-danger {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.45);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.45);
}

/* Butonlar - Kapsül (Pill) ve Renkli Çerçeveli Tasarım Sistemi */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  color: #ffffff !important;
  background: rgba(11, 27, 51, 0.75);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

/* Mavimsi Butonlar (Diğerleri: Genel, Atölye, Hesaplayıcı, Sözlük, İletişim) */
.btn-primary,
.btn-blue,
.btn-secondary {
  background: rgba(11, 27, 51, 0.75);
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-blue:hover,
.btn-secondary:hover {
  background: rgba(14, 165, 233, 0.25);
  border-color: #38bdf8;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

/* Kırmızı Butonlar (Güvenlik Kısımları) */
.btn-danger,
.btn-red {
  background: rgba(11, 27, 51, 0.75);
  border: 1.5px solid rgba(244, 63, 94, 0.7);
  color: #ffffff !important;
}

.btn-danger:hover,
.btn-red:hover {
  background: rgba(225, 29, 72, 0.3);
  border-color: #f43f5e;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.65);
  transform: translateY(-2px);
}

/* Sarımsı Butonlar (İlk Yardım & Kurtarma Kısımları) */
.btn-warning,
.btn-yellow,
.btn-amber {
  background: rgba(11, 27, 51, 0.75);
  border: 1.5px solid rgba(251, 191, 36, 0.7);
  color: #ffffff !important;
}

.btn-warning:hover,
.btn-yellow:hover,
.btn-amber:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: #fbbf24;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.65);
  transform: translateY(-2px);
}

/* Yeşil Butonlar (Rota ve Dalış Noktaları) */
.btn-success,
.btn-green,
.btn-emerald {
  background: rgba(11, 27, 51, 0.75);
  border: 1.5px solid rgba(52, 211, 153, 0.7);
  color: #ffffff !important;
}

.btn-success:hover,
.btn-green:hover,
.btn-emerald:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: #34d399;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.65);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

/* Glassmorphism Kartlar */
.glass-card {
  background: rgba(11, 27, 51, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 229, 255, 0.2);
}

/* ==========================================================
   HEADER & NAVBAR
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 75px;
  z-index: 1000;
  background: rgba(3, 10, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled {
  min-height: 65px;
  background: rgba(3, 10, 22, 0.98);
  border-bottom-color: rgba(0, 229, 255, 0.25);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.header .navbar,
.header .container.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100% !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text .main-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.logo-text .sub-title {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-md);
  position: relative;
  display: inline-block;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: #fff;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.nav-links .nav-emergency {
  color: #fb7185 !important;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.nav-links .nav-emergency:hover {
  background: rgba(244, 63, 94, 0.25);
  color: #fff !important;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.nav-links .nav-medical {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.nav-links .nav-medical:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #fff !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: rgba(16, 38, 72, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--primary);
  width: 46px;
  height: 46px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1050;
  pointer-events: auto;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle svg,
.mobile-toggle path {
  pointer-events: none;
}

.mobile-toggle:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--primary);
  color: #fff;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 5rem 0;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(3, 10, 22, 0.45) 0%, rgba(3, 10, 22, 0.6) 45%, rgba(3, 10, 22, 0.98) 100%),
    radial-gradient(circle at 50% 45%, rgba(3, 10, 22, 0.75) 0%, transparent 80%),
    url('../img/freediver-hero.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tag {
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 229, 255, 0.3);
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 50%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.9));
}

.hero-lead {
  font-size: 1.25rem;
  color: #f1f5f9;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero İstatistik Şeridi */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(11, 27, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================
   HIZLI KILAVUZ KARTLARI (GRID MENÜ)
   ========================================================== */
.quick-access-section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.quick-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.quick-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.quick-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.quick-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.quick-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.quick-card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================
   KEŞFET (TEMEL BİLGİLER & BRANŞLAR)
   ========================================================== */
.section-padding {
  padding: 6rem 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.compare-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.compare-card.freediving {
  border-color: rgba(0, 229, 255, 0.3);
  background: linear-gradient(180deg, rgba(7, 26, 52, 0.8) 0%, rgba(3, 10, 22, 0.8) 100%);
}

.compare-card.scuba {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(11, 27, 51, 0.4);
}

.compare-list {
  list-style: none;
  margin-top: 1.5rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.compare-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Branş Kartları */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.discipline-card {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.discipline-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.discipline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.discipline-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

/* ==========================================================
   EĞİTİM & TEKNİKLER (İNTERAKTİF BÖLÜMLER)
   ========================================================== */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tech-tab-btn {
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-tab-btn:hover,
.tech-tab-btn.active {
  color: #030a16;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.tech-tab-content {
  display: none;
}

.tech-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

/* İnteraktif Nefes & Diyafram Eğitmeni */
.breath-trainer-container {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.breath-circle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 2.5rem 2rem;
  background: radial-gradient(circle at 50% 40%, rgba(0, 229, 255, 0.09) 0%, rgba(7, 21, 42, 0.85) 75%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.4s ease-in-out;
  scroll-margin-top: 100px;
}

/* Canlı Akış Aktif Efekti */
.breath-circle-wrapper.live-active {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.25), 0 15px 45px rgba(0, 0, 0, 0.65);
}

/* Canlı Akış Üst Şeridi */
.breath-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breath-live-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.live-pulse-icon {
  font-size: 1.1rem;
  display: inline-block;
}

.breath-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.breath-live-badge.live-pulsing .live-status-dot {
  animation: liveDotPulse 1.4s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.exercise-type-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.exercise-type-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.exercise-type-btn:hover,
.exercise-type-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(2, 132, 199, 0.3));
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================
   NEFES EĞİTMENİ (DIVELANCERS BREATHWORK STİLLERİ)
   ========================================================== */
.breath-header-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breath-toolbar-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breath-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-toolbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-toolbar-link:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-toolbar-danger {
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.1);
}

.btn-toolbar-danger:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: #fb7185;
  color: #fff;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}

.level-selector-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

#levelSelectorRow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 380px;
  width: 100%;
  margin: 0 auto 1.25rem auto;
}

#levelSelectorRow[style*="display: none"] {
  display: none !important;
}

#levelSelectorRow .apnea-level-btn {
  width: 100%;
  text-align: center;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Otomatik Antrenman Parametreleri Kartı */
.auto-trainer-card {
  background: rgba(11, 27, 51, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.auto-trainer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auto-trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 500px) {
  .auto-trainer-grid {
    grid-template-columns: 1fr;
  }
}

.auto-param-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.auto-param-item label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.auto-input {
  background: rgba(3, 10, 22, 0.85) !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  width: 100%;
}

.auto-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25) !important;
  outline: none;
}

.auto-input:disabled {
  background: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  cursor: not-allowed;
  opacity: 0.75;
}

.btn-auto-calc {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-auto-calc:hover {
  background: rgba(0, 229, 255, 0.3);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.pb-input-group {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
}

.pb-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0.38rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
  user-select: none;
}

.pb-toggle-badge:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
  color: #fff;
}

.pb-toggle-badge.active {
  background: rgba(0, 229, 255, 0.18) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.pb-toggle-badge.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.apnea-level-btn,
.square-preset-btn,
.pranayama-sub-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(11, 27, 51, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.apnea-level-btn:hover,
.apnea-level-btn.active,
.square-preset-btn:hover,
.square-preset-btn.active,
.pranayama-sub-btn:hover,
.pranayama-sub-btn.active {
  background: rgba(0, 229, 255, 0.18);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.breath-circle-outer {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 1.25rem 0;
}

.breath-circle-inner {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.85), rgba(16, 185, 129, 0.85));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #030a16;
  font-family: var(--font-heading);
  box-shadow: 0 0 35px var(--primary-glow);
  transition: transform 1s ease-in-out;
  text-align: center;
  padding: 0.6rem;
  box-sizing: border-box;
}

.breath-status {
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 3px;
  max-width: 120px;
}

.breath-timer-display {
  font-size: 1.9rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.breath-live-focus-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  scroll-margin-top: 15vh;
  scroll-margin-bottom: 15vh;
  transition: transform 0.3s ease;
}

.breath-meta-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 320px;
  margin-bottom: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: rgba(11, 27, 51, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #cbd5e1;
}

.breath-meta-stats span strong {
  color: var(--primary);
  font-family: var(--font-mono);
}

.breath-controls {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
  margin-bottom: 1rem;
}

.breath-controls .btn {
  flex: 1;
}

.audio-controls-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
}

.btn-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-audio-toggle:hover {
  border-color: var(--primary);
  color: #fff;
}

.pranayama-params-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(11, 27, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.param-input-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.param-input-item label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-control-sm {
  padding: 0.35rem 0.6rem !important;
  font-size: 0.85rem !important;
  border-radius: var(--radius-sm) !important;
}

.breath-phase-instruction {
  font-size: 0.92rem;
  color: #e2e8f0;
  text-align: center;
  min-height: 2.4rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 440px;
  width: 100%;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.breath-phase-instruction.pb-success-card {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2) !important;
  border-radius: 12px !important;
  padding: 0.85rem 1.15rem !important;
}

.sound-settings-panel {
  width: 100%;
  max-width: 340px;
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(7, 21, 42, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-out;
}

.sound-setting-row {
  margin-bottom: 0.85rem;
}

.sound-setting-row:last-child {
  margin-bottom: 0;
}

.sound-setting-row label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.badge-dim {
  background: rgba(148, 163, 184, 0.15) !important;
  color: #cbd5e1 !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

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

.breath-modal.active {
  display: flex;
}

.breath-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.85);
  backdrop-filter: blur(10px);
}

.breath-modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
  overflow: hidden;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.breath-modal-danger {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-danger-glow);
  border-color: rgba(244, 63, 94, 0.4);
}

.breath-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 27, 51, 0.7);
}

.breath-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.breath-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.breath-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-item-card {
  background: rgba(11, 27, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.guide-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.guide-metric {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.guide-item-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.guide-item-card p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.guide-benefits {
  font-size: 0.88rem;
  color: #67e8f9;
  background: rgba(0, 229, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
}

/* ==========================================================
   RESİMDEKİ NEFES EGZERSİZİ REHBERİ TASARIM STİLLERİ
   ========================================================== */
.guide-header-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-decoration: none;
  margin-bottom: 0.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: var(--transition-smooth);
}

.guide-header-back:hover {
  color: var(--primary);
}

.guide-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.guide-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.guide-card-styled {
  background: rgba(10, 22, 40, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 16px;
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.guide-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.guide-card-title.co2 {
  color: #38bdf8;
}

.guide-card-title.o2 {
  color: #818cf8;
}

.guide-card-title.square {
  color: #f59e0b;
}

.guide-card-title.ujjayi {
  color: #60a5fa;
}

.guide-card-title.nadi {
  color: #34d399;
}

.guide-card-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.guide-section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.guide-section-text {
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.guide-how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-how-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.guide-how-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 24px;
}

.guide-disclaimer-bottom {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
  margin-top: 1rem;
  padding: 0 1rem;
}

.safety-alert-banner {
  padding: 1rem 1.25rem;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: var(--radius-md);
  color: #fca5a5;
  font-size: 0.95rem;
  line-height: 1.5;
}

.safety-section-card {
  background: rgba(11, 27, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.safety-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 0;
}

.safety-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.safety-list li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: #fb7185;
  font-size: 1.2rem;
  line-height: 1;
}

/* Tablo Görünümü */
.apnea-table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}

.apnea-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.apnea-table th {
  text-align: left;
  padding: 0.5rem 0.65rem;
  color: var(--primary);
  font-family: var(--font-heading);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apnea-table td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.apnea-table tr.active-row {
  background: rgba(0, 229, 255, 0.15) !important;
  border-left: 3px solid var(--primary);
}

.apnea-table tr.active-row td {
  color: #fff;
  font-weight: 600;
}

.apnea-phases-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.apnea-phase-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 154px !important;
  font-size: 0.72rem !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full) !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.apnea-phase-badge strong {
  font-family: var(--font-mono) !important;
  margin-left: 0 !important;
  font-size: 0.78rem !important;
}

.apnea-phase-badge.badge-danger {
  width: auto !important;
  min-width: 154px !important;
  justify-content: center !important;
}

/* Frenzel Adım Adım Rehberi */
.frenzel-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.step-card {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
}

.step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(0, 229, 255, 0.2);
}

.step-card h4 {
  color: #fff;
  margin-bottom: 0.75rem;
}

/* ==========================================================
   GÜVENLİK & TIP (EN KRİTİK BÖLÜM)
   ========================================================== */
.safety-section {
  background: radial-gradient(circle at 50% 20%, rgba(244, 63, 94, 0.08) 0%, transparent 60%);
  position: relative;
}

.safety-alert-banner {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.safety-alert-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.15);
  border: 2px solid rgba(244, 63, 94, 0.7);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.75rem;
  line-height: 1;
}

.safety-alert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(11, 27, 51, 0.75);
  border: 1.5px solid rgba(244, 63, 94, 0.7);
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.safety-alert-btn:hover {
  background: rgba(225, 29, 72, 0.3);
  border-color: #f43f5e;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.65);
  transform: translateY(-2px);
}

/* Portal Kategori Kart Butonları */
.portal-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: fit-content;
  color: #ffffff !important;
  background: rgba(11, 27, 51, 0.75);
}

.portal-card-btn:hover {
  transform: translateY(-2px);
}

/* Güvenlik (Kırmızı) */
.portal-card-btn-rose {
  border: 1.5px solid rgba(244, 63, 94, 0.7);
}
.portal-card-btn-rose:hover {
  background: rgba(225, 29, 72, 0.3);
  border-color: #f43f5e;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.65);
}

/* Diğerleri & Genel & Ekipman & İletişim (Mavimsi) */
.portal-card-btn-cyan {
  border: 1.5px solid rgba(56, 189, 248, 0.7);
}
.portal-card-btn-cyan:hover {
  background: rgba(14, 165, 233, 0.3);
  border-color: #38bdf8;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.65);
}

/* İlk Yardım & Kurtarma (Sarımsı) */
.portal-card-btn-amber {
  border: 1.5px solid rgba(251, 191, 36, 0.7);
}
.portal-card-btn-amber:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: #fbbf24;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.65);
}

/* Rota ve Dalış Noktaları (Yeşil) */
.portal-card-btn-emerald {
  border: 1.5px solid rgba(52, 211, 153, 0.7);
}
.portal-card-btn-emerald:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: #34d399;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.65);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.safety-card {
  padding: 2.5rem 2rem;
  background: rgba(16, 30, 53, 0.8);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-lg);
}

.safety-card:hover {
  border-color: #fb7185;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 63, 94, 0.2);
}

/* Blow-Tap-Talk Protokolü */
.btt-protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.btt-step {
  text-align: center;
  padding: 2rem;
  background: rgba(11, 27, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.btt-step-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ==========================================================
   EKİPMAN REHBERİ & HESAPLAMA ARACI
   ========================================================== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.equipment-grid .glass-card {
  display: flex;
  flex-direction: column;
}

.equipment-grid .glass-card>div:last-child {
  margin-top: auto;
}

.calc-box {
  background: linear-gradient(135deg, rgba(11, 27, 51, 0.9) 0%, rgba(7, 21, 42, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-glow);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.calc-form-col {
  display: flex;
  flex-direction: column;
}

.calc-form-col .form-group:last-child {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(3, 10, 22, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.calc-result-panel {
  text-align: center;
  padding: 2rem 2rem 1.5rem 2rem;
  background: rgba(3, 10, 22, 0.6);
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.calc-weight-val {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin: 0.75rem 0;
}

.calc-sub-weights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: 1.15rem;
  background: rgba(11, 27, 51, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.calc-safety-note {
  font-size: 0.88rem;
  color: #cbd5e1;
  text-align: left;
  line-height: 1.6;
  background: rgba(0, 229, 255, 0.05);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  margin-top: auto;
}

/* ==========================================================
   BLOG / ROTALAR & TERİMLER SÖZLÜĞÜ
   ========================================================== */
.glossary-search-wrapper {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

.glossary-search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  background: rgba(11, 27, 51, 0.8);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 1.05rem;
  backdrop-filter: blur(10px);
}

.glossary-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}

.glossary-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.glossary-chip {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.glossary-chip.active,
.glossary-chip:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.glossary-item-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.glossary-item-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

/* Rotalar Grid */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.route-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.route-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.route-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.route-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--accent);
  flex-wrap: wrap;
}

.route-coords-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.route-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  padding-top: 1rem;
  transition: var(--transition-smooth);
}

.route-map-link:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--primary-glow);
}

/* Rotalar Filtre & Arama */
.route-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.route-chip {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.route-chip:hover {
  border-color: var(--primary);
  color: #fff;
}

.route-chip.active {
  background: var(--primary);
  color: #030a16;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================
   HAKKIMDA & İLETİŞİM
   ========================================================== */
.contact-single-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.contact-card {
  width: 100%;
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(11, 27, 51, 0.85) 0%, rgba(7, 21, 42, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 229, 255, 0.08);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ==========================================================
   FOOTER & YASAL UYARI
   ========================================================== */
.footer {
  background: #020710;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-disclaimer {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #fca5a5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 2fr 1.15fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-col-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-nav h4 {
  text-align: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.footer-links-dual {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  width: fit-content;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a,
.footer-links a:visited {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-block;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-links a:visited:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  background: rgba(11, 27, 51, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.social-btn.instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 5px 20px rgba(225, 48, 108, 0.3);
}

.social-btn.whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.social-btn.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.35);
}

.social-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon-wrapper.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-icon-wrapper.whatsapp {
  background: #25d366;
  color: #fff;
}

.social-icon-wrapper.youtube {
  background: #ff0000;
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================
   RESPONSIVE UYUMLULUK & MENÜ BREAKPOINTLERİ
   ========================================================== */

/* 1500px altı: Nav linkleri biraz daha kompakt hale getir */
@media (max-width: 1500px) {

  .header .navbar,
  .header .container.navbar {
    gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-links {
    gap: 0.15rem;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 0.4rem 0.55rem;
  }

  .nav-cta .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* 1380px altı: Tüm menü öğeleri ekrandan taşmaması için zarif Hamburger Menüye dönüşür */
@media (max-width: 1380px) {
  .header nav {
    display: contents;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-cta {
    gap: 0;
    position: relative;
    z-index: 1050;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 10, 22, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 2px solid var(--border-glow);
    padding: 1.5rem 1.25rem 2rem 1.25rem;
    gap: 0.6rem;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
    z-index: 1001;
    animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    background: rgba(11, 27, 51, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.12);
    color: var(--text-main);
  }

  .nav-links.open a:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.35);
    color: #fff;
    transform: translateX(4px);
  }

  .nav-links.open a.active {
    background: rgba(0, 229, 255, 0.18);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
  }

  .nav-links.open .nav-emergency {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.4);
    color: #fca5a5 !important;
  }

  .nav-links.open .nav-medical {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6ee7b7 !important;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid,
  .safety-grid,
  .calc-grid,
  .about-grid,
  .breath-trainer-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btt-protocol-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Küçük telefonlar için logo ve başlık optimizasyonu */
@media (max-width: 480px) {
  .logo-text .main-title {
    font-size: 0.95rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .header .navbar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ==========================================================
   RESİMDEKİ GÜVENLİK VE DİKKAT EDİLMESİ GEREKENLER STİLLERİ
   ========================================================== */
.safety-rules-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.safety-rules-header {
  margin-bottom: 0.5rem;
}

.safety-rules-main-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ff6347;
  background: linear-gradient(135deg, #ff6b4a 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.safety-rules-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.rule-category-card {
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  transition: var(--transition-smooth);
}

.rule-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.rule-category-card.cat-medical {
  border-color: rgba(244, 63, 94, 0.35);
}

.rule-category-card.cat-environment {
  border-color: rgba(245, 158, 11, 0.35);
}

.rule-category-card.cat-exercise {
  border-color: rgba(0, 229, 255, 0.35);
}

.rule-category-card.cat-progress {
  border-color: rgba(99, 102, 241, 0.35);
}

.rule-category-card.cat-pranayama {
  border-color: rgba(245, 158, 11, 0.35);
}

.rule-category-card.cat-emergency {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.05);
}

.rule-category-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.cat-medical .rule-category-title {
  color: #fb7185;
}

.cat-environment .rule-category-title {
  color: #f59e0b;
}

.cat-exercise .rule-category-title {
  color: #00e5ff;
}

.cat-progress .rule-category-title {
  color: #818cf8;
}

.cat-pranayama .rule-category-title {
  color: #fbbf24;
}

.cat-emergency .rule-category-title {
  color: #f43f5e;
}

.rule-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.rule-item-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.rule-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
}

.cat-medical .rule-number-badge {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.45);
}

.cat-environment .rule-number-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.cat-exercise .rule-number-badge {
  background: rgba(0, 229, 255, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(0, 229, 255, 0.45);
}

.cat-progress .rule-number-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.45);
}

.cat-pranayama .rule-number-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.cat-emergency .rule-number-badge {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.55);
}

.rule-desc {
  font-size: 0.93rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.rule-disclaimer-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.5rem;
}

.rule-bottom-footnote {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================
   DALIŞ & YÜZME TEKNİKLERİ, BRANŞLAR & BAKIM REHBERİ STİLLERİ
   ========================================================== */
.technique-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.technique-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition-smooth);
}

.technique-step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.technique-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.step-number-tag {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.branch-detailed-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 2rem;
}

.branch-card-extended {
  flex: 0 0 calc((100% - 2 * 1.75rem) / 3);
  max-width: calc((100% - 2 * 1.75rem) / 3);
  width: calc((100% - 2 * 1.75rem) / 3);
  box-sizing: border-box;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

@media (max-width: 850px) {
  .branch-card-extended {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

.branch-card-extended:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.branch-card-extended.pool-branch {
  border-top: 4px solid #38bdf8;
}

.branch-card-extended.depth-branch {
  border-top: 4px solid #00e5ff;
}

.branch-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.branch-specs-box {
  background: rgba(3, 10, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.4rem;
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.spec-val.highlight {
  color: var(--primary);
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  padding: 1rem;
}

.branch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.branch-table th {
  background: rgba(11, 27, 51, 0.9);
  padding: 1rem 1.25rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 2px solid var(--border-glow);
  white-space: nowrap;
}

.branch-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  vertical-align: middle;
}

.branch-table td:nth-child(3) {
  white-space: nowrap;
}

.branch-table tr:hover td {
  background: rgba(0, 229, 255, 0.04);
  color: #fff;
}

.table-badge {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.badge-pool {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.badge-depth {
  background: rgba(0, 229, 255, 0.15);
  color: #00e5ff;
}

.maintenance-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.maintenance-tip-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.maintenance-tip-card .tip-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

/* Ekipman & Bakım Bölümleri: Mobilde Alt Alta Sıralanma */
@media (max-width: 992px) {

  .equipment-grid,
  .maintenance-tips-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Ana Sayfa Dalış Portal Kartları (Masaüstü) */
.dive-portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

/* ==========================================================
   DALIŞ NOKTALARI PORTAL SWITCHER & NAVİGASYON
   ========================================================== */
.portal-switcher {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 2.5rem 0;
  flex-wrap: wrap;
}

.portal-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.portal-switch-btn.active {
  background: rgba(16, 185, 129, 0.25);
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.55);
  border: 1.5px solid #34d399;
}

.portal-switch-btn.inactive {
  background: rgba(11, 27, 51, 0.75);
  color: #ffffff !important;
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  backdrop-filter: blur(10px);
}

.portal-switch-btn.inactive:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #ffffff !important;
  border-color: #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
  transform: translateY(-2px);
}

.portal-switch-btn.hub-btn {
  background: rgba(11, 27, 51, 0.75);
  color: #ffffff !important;
  border: 1.5px solid rgba(52, 211, 153, 0.5);
}

.portal-switch-btn.hub-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #ffffff !important;
  border-color: #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
  transform: translateY(-2px);
}

.back-hub-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.back-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.back-hub-link:hover {
  color: #00e5ff;
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.25);
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stats-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stats-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00e5ff;
  display: block;
}

.stats-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tüplü Dalış Özel Mor Tema & Tür Filtreleme */
.portal-switch-btn.active-scuba {
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35) !important;
  border-color: #a855f7 !important;
}

.portal-switch-btn.hub-btn-scuba:hover {
  color: #c084fc !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

.back-hub-link-scuba {
  border-color: rgba(168, 85, 247, 0.3) !important;
}

.back-hub-link-scuba:hover {
  color: #c084fc !important;
  border-color: #a855f7 !important;
  background: rgba(168, 85, 247, 0.15) !important;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25) !important;
}

.stats-num-scuba {
  color: #c084fc !important;
}

.type-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.type-chip {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(30, 41, 59, 0.6);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-chip:hover,
.type-chip.active {
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
  border-color: #a855f7;
}

/* ==========================================================
   SADECE MOBİL İÇİN DALIŞ NOKTALARI GÖRÜNÜRLÜK DÜZENLEMESİ
   (Masaüstü / Web görünümüne kesinlikle dokunulmamıştır)
   ========================================================== */
@media (max-width: 768px) {

  /* Ana Sayfa Kartları Mobilde Tek Kolon */
  .dive-portal-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Dalış Yerleri Kart Izgarası Mobilde Tek Kolon Olarak Ekrana Tam Oturur */
  .routes-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
  }

  .route-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .route-body {
    padding: 1.4rem 1.15rem !important;
  }

  /* Dalış sayfalarında mobildeki aşırı dikey boşlukları azaltarak dalış yerlerini öne çıkar */
  main[style*="padding-top: 100px"] {
    padding-top: 75px !important;
  }

  main .section-padding {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  .back-hub-nav {
    margin-bottom: 0.75rem !important;
  }

  .back-hub-link {
    font-size: 0.82rem !important;
    padding: 0.45rem 1rem !important;
    text-align: center !important;
  }

  .portal-switcher {
    flex-direction: column !important;
    gap: 0.6rem !important;
    margin: 1rem 0 1.5rem 0 !important;
    width: 100% !important;
  }

  .portal-switch-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
  }

  .stats-bar {
    gap: 0.6rem !important;
    margin-bottom: 1.25rem !important;
  }

  .stats-item {
    padding: 0.5rem 0.8rem !important;
    min-width: 100px !important;
  }

  .stats-num {
    font-size: 1.25rem !important;
  }

  .route-filters,
  .type-filter-bar {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0.45rem !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .route-chip,
  .type-chip {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================
   SERBEST DALIŞ KÖKEN KARTLARI (5 SÜTUN YAN YANA & ÇERÇEVELİ)
   ========================================================== */
.history-origin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.history-origin-card {
  background: rgba(15, 23, 42, 0.6);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-origin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.history-origin-img-frame {
  margin-top: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  position: relative;
}

.history-origin-img-frame img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.history-origin-card:hover .history-origin-img-frame img {
  transform: scale(1.04);
}

@media (max-width: 1200px) {
  .history-origin-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .history-origin-img-frame img {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .history-origin-grid {
    grid-template-columns: 1fr;
  }
  .history-origin-img-frame img {
    height: 240px;
  }
}

/* ==========================================================
   DERİNLİK DİSİPLİNLERİ (3+3 İKİ SATIR & ÇERÇEVELİ GÖRSELLER)
   ========================================================== */
.depth-disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.discipline-card {
  background: rgba(15, 23, 42, 0.65);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discipline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.discipline-header-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.15rem;
}

.discipline-header-group .badge {
  margin-bottom: 0.75rem;
  width: fit-content;
}

.discipline-header-group h5,
.discipline-card h5 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.discipline-header-group p,
.discipline-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.discipline-img-frame {
  margin-top: 0;
  margin-bottom: 1.15rem;
  width: 100%;
}

.discipline-img-frame .img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.discipline-img-frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.discipline-card:hover .discipline-img-frame img {
  transform: scale(1.03);
}

.discipline-img-frame img[src*="cwtb-cift-palet.jpg"] {
  object-position: center 30%;
}

.discipline-img-frame img[src*="fim-iple-dalis.jpg"] {
  object-position: center 50%;
}

.discipline-img-frame img[src*="dynb-cift-palet-havuz.jpg"] {
  object-position: center center;
}

.discipline-img-frame img[src*="dnf-paletsiz-havuz.jpg"] {
  object-position: center center;
}

.discipline-tech-box {
  margin-top: auto;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.discipline-tech-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #94a3b8;
  line-height: 1.45;
}

.discipline-tech-row strong {
  color: #f1f5f9;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .depth-disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .depth-disciplines-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   HAVUZ DİSİPLİNLERİ (ÜSTTE 3'LÜ, ALTTA ORTALI 2'Lİ DÜZEN)
   ========================================================== */
.pool-disciplines-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}

.pool-disciplines-grid > .discipline-card {
  width: calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  flex: 0 0 calc((100% - 3rem) / 3);
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .pool-disciplines-grid > .discipline-card {
    width: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .pool-disciplines-grid > .discipline-card {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}