/* ==========================================================================
   BİONET İlaçlama - Modern, Mobile-First, Performance-Driven Stylesheet
   Core Web Vitals Optimized: Zero CLS, Ultra-Fast LCP, Pure CSS Custom Props
   ========================================================================== */

:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-dark: #064e3b;
  --secondary: #0284c7;
  --accent: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1200px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--gray-50);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Mobil sabit bar boşluğu */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.625rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--gray-200);
  color: var(--dark);
}
.btn-outline:hover {
  background-color: var(--gray-100);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--white);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: #1eb956;
}

.btn-sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.875rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--dark);
  color: var(--gray-400);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--dark-soft);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar a {
  color: var(--white);
  transition: color 0.2s;
}
.top-bar a:hover {
  color: var(--primary);
}

/* Navbar */
.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}
.brand span {
  color: var(--dark);
}

.nav-menu {
  display: none;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--gray-800);
  padding: 0.5rem 0.25rem;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

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

.menu-toggle {
  display: inline-flex;
  padding: 0.5rem;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.25rem;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
}
.hero h1 {
  color: var(--white);
}
.hero p {
  color: var(--gray-200);
  font-size: 1.125rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* 3-Step Interactive Quote Card */
.quote-card {
  background: var(--white);
  color: var(--gray-800);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}
.quote-card-header {
  margin-bottom: 1.25rem;
  text-align: center;
}
.quote-card-header h3 {
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.quote-card-header p {
  font-size: 0.9rem;
  margin-bottom: 0;
  /* Beyaz kart zemini uzerinde okunabilirlik icin belirgin marka rengi.
     --primary-hover (#047857) beyaz uzerinde ~4.9:1 kontrast saglar. */
  color: var(--primary-hover);
  font-weight: 600;
  line-height: 1.5;
}

/* Genel yardimci: soluk ikincil metin */
.text-muted {
  color: var(--gray-600);
}

/* Step Progress Indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.25rem 0 1.5rem;
}
.steps-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gray-200);
  z-index: 1;
}
.step-dot {
  position: relative;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s;
}
.step-dot.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.step-dot.completed {
  background: var(--primary-hover);
  color: var(--white);
}

/* Form Controls */
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark);
}
.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--gray-800);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Area Type Radio Tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tile-label {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.4rem;
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
}
.tile-label input {
  display: none;
}
.tile-label:hover {
  background-color: var(--gray-50);
}
.tile-label.selected, .tile-label:has(input:checked) {
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Section styling */
.section {
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}
.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Service Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.95rem;
  flex-grow: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* District / Location Pills */
.district-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .district-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .district-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.district-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
  color: var(--dark);
}
.district-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.district-pill small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: normal;
}
.district-pill:hover small {
  color: rgba(255, 255, 255, 0.8);
}

/* Reviews & Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.stars {
  color: #fbbf24;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.reviewer {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* Accordion FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-600);
  display: none;
  border-top: 1px solid var(--gray-100);
}
.faq-item.active .faq-answer {
  display: block;
}
/* Yalnizca ok simgesi doner; soru metni (faq-question-text) degismez. */
.faq-toggle {
  flex-shrink: 0;
  margin-left: 1rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
  transform-origin: center;
}
.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}
/* Soru metni her zaman normal yatay ve okunabilir kalsin */
.faq-question-text {
  flex: 1;
  transform: none !important;
  text-align: left;
  line-height: 1.5;
}

/* CTA Bar & Trust section */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer a {
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--dark-soft);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

/* Fixed Mobile Bottom CTA Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .sticky-mobile-bar {
    display: none;
  }
}
.sticky-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  gap: 2px;
}
.sticky-item.call {
  background: var(--primary);
  color: var(--white);
}
.sticky-item.whatsapp {
  background: #25d366;
  color: var(--white);
}

/* Floating WhatsApp Button (Desktop & Tablet) */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 990;
  display: none;
  align-items: center;
  gap: 0.5rem;
  background-color: #25d366;
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.floating-whatsapp:hover {
  background-color: #1eb956;
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .floating-whatsapp {
    display: inline-flex;
  }
}

/* Admin Panel Styles */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: var(--dark);
  color: var(--white);
  padding: 1.5rem;
  flex-shrink: 0;
}
.admin-content {
  flex-grow: 1;
  background: var(--gray-100);
  padding: 2rem;
  overflow-y: auto;
}
.admin-nav {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-weight: 500;
}
.admin-nav a:hover, .admin-nav a.active {
  background: var(--dark-soft);
  color: var(--white);
}
.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}
.table th {
  background-color: var(--gray-50);
  font-weight: 600;
  color: var(--dark);
}
.badge-status {
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-contacted { background: #e0f2fe; color: #0369a1; }
.badge-scheduled { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #dcfce7; color: #15803d; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* =============================================================================
   Galeri & Lightbox Sistemi
   ============================================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.15) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}
.gallery-zoom-icon {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
}

/* Video kartlari */
.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-900);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}
.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  pointer-events: none;
  transition: transform 0.25s;
}
.video-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.video-meta {
  padding: 0.85rem 1rem 1rem;
  background: var(--white);
}
.video-meta h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}
.video-meta p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Lightbox */
.bionet-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.94);
  z-index: 100000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.bionet-lightbox.active {
  display: flex;
}
.lightbox-stage {
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  color: #e2e8f0;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 640px;
}
.lightbox-counter {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  text-align: center;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
}
.lightbox-nav.prev {
  left: 1rem;
}
.lightbox-nav.next {
  right: 1rem;
}
.lightbox-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90vw;
}
.lightbox-thumb {
  width: 62px;
  height: 46px;
  border-radius: 5px;
  overflow: hidden;
  opacity: 0.45;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Galeri sekmeleri */
.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}
.gallery-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.gallery-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* =============================================================================
   Galeri Sayfalama
   ============================================================================= */
.gallery-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.gallery-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.gallery-page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.gallery-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-pagination .gallery-page-btn[rel="prev"],
.gallery-pagination .gallery-page-btn[rel="next"] {
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 13px;
}

/* Galeri SEO icerik */
.gallery-seo-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.gallery-seo-content h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
}

.gallery-seo-text p {
  margin-bottom: 1.1rem;
}

.gallery-seo-text ul,
.gallery-seo-text ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  line-height: 1.85;
}

.gallery-seo-text li {
  margin-bottom: 0.5rem;
}

.gallery-seo-text strong {
  color: var(--dark);
}

.gallery-seo-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.gallery-seo-text a:hover {
  color: var(--primary-dark);
}

/* =============================================================================
   Video Paylaşım Butonları
   ============================================================================= */
.video-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}

.video-share-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.video-share-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.video-share-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s, background 0.2s;
}

.video-share-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.video-share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.share-facebook:hover { background: #1877F2; border-color: #1877F2; }
.share-x:hover { background: #000000; border-color: #000000; }
.share-whatsapp:hover { background: #25D366; border-color: #25D366; }
.share-linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.share-telegram:hover { background: #229ED9; border-color: #229ED9; }
.share-pinterest:hover { background: #E60023; border-color: #E60023; }
.share-reddit:hover { background: #FF4500; border-color: #FF4500; }
.share-email:hover { background: var(--gray-700); border-color: var(--gray-700); }
.share-native:hover { background: var(--primary); border-color: var(--primary); }
.share-copy:hover { background: var(--gray-600); border-color: var(--gray-600); }

/* Toast bildirimi */
.bionet-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 999999;
  box-shadow: var(--shadow-lg);
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
}

.bionet-toast.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

/* Video detay sayfasi */
.video-player-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

/* Video karti placeholder (poster yoksa) */
.video-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
}
