/* Zerdalitepe ASM - Stylesheet */
:root {
  --primary: #0d7c66;
  --primary-dark: #095e4d;
  --primary-light: #e6f4f0;
  --accent: #c8a45c;
  --text: #2c3e50;
  --muted: #6b7c93;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e1e8ed;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 14px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 64px; height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-text h1 { font-size: 18px; color: var(--primary-dark); font-weight: 700; line-height: 1.2; }
.brand-text p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.topbar-contact { display: flex; align-items: center; gap: 12px; color: var(--text); }
.topbar-contact .icon { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.topbar-contact em { font-size: 11px; color: var(--muted); text-transform: uppercase; font-style: normal; letter-spacing: 0.5px; }
.topbar-contact strong { display: block; font-size: 15px; color: var(--text); }

/* Header / Menu */
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; width: 100%; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 16px 18px; color: #fff;
  font-size: 13.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.4px; transition: background 0.15s;
}
.nav-list > li > a:hover, .nav-list > li.active > a { background: var(--primary-dark); color: #fff; }
.nav-list > li > a .caret { font-size: 10px; margin-left: 4px; opacity: 0.7; }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
  list-style: none; padding: 8px 0; z-index: 100;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease;
}
.nav-list > li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
  display: block; padding: 9px 18px; color: var(--text); font-size: 13.5px;
  border-left: 3px solid transparent;
}
.submenu li a:hover { background: var(--primary-light); color: var(--primary-dark); border-left-color: var(--primary); }

.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; padding: 14px 18px; cursor: pointer; }

/* Hero slider */
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
}
.slide-content {
  position: relative;
  z-index: 3;
  padding: 60px 0;
}
.slide-content h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.slide-content p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 640px;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-actions .btn {
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.slide-actions .btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.slide-actions .btn-outline {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

/* Slider nav arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  backdrop-filter: blur(4px);
}
.slider-nav:hover { background: rgba(255,255,255,0.35); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.slider-dots .dot:hover { background: rgba(255,255,255,0.7); }
.slider-dots .dot.active { background: #fff; transform: scale(1.2); }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h3 { font-size: 30px; color: var(--primary-dark); font-weight: 700; margin-bottom: 10px; }
.section-title p { color: var(--muted); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--accent); margin: 16px auto 0;
}

/* Service grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform 0.18s, box-shadow 0.18s; text-align: center;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 18px;
}
.card h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14px; }

/* Info bar */
.info-bar { background: var(--primary-dark); color: #fff; padding: 30px 0; }
.info-bar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.info-bar-item { display: flex; align-items: center; gap: 16px; }
.info-bar-item .icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.info-bar-item h5 { font-size: 14px; opacity: 0.85; font-weight: 500; }
.info-bar-item strong { display: block; font-size: 16px; margin-top: 2px; }

/* Doctor cards */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.doctor {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.doctor:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doctor-photo {
  height: 240px; background: linear-gradient(135deg, var(--primary-light), #d4e8e2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 80px; position: relative; overflow: hidden;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor-photo.no-photo::before { content: '👤'; font-size: 80px; }
.doctor-body { padding: 22px; }
.doctor-body h4 { font-size: 18px; color: var(--primary-dark); margin-bottom: 6px; }
.doctor-body .unit {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
.doctor-body .title { color: var(--muted); font-size: 14px; }
.doctor-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ASM Rehberi cards */
.rehber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.rehber-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}
.rehber-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.rehber-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 60px;
  position: relative;
}
.rehber-card-body {
  padding: 18px;
  text-align: center;
  position: relative;
}
.rehber-card-body h4 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  transition: color 0.18s;
}
.rehber-card .rehber-link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
  letter-spacing: 0.2px;
}
.rehber-card:hover .rehber-link {
  opacity: 1;
  transform: translateY(0);
}
.rehber-card:hover .rehber-card-body h4 { color: var(--primary); }

/* On touch devices, always show link (no hover) */
@media (hover: none) {
  .rehber-card .rehber-link { opacity: 1; transform: none; }
}

/* Staff group subheadings on Kadromuz section */
.staff-group-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 36px 0 22px;
  position: relative;
}
.staff-group-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 10px auto 0;
}
.staff-group-title:first-of-type { margin-top: 0; }

/* Featured / large variant - used on homepage to make doctors prominent */
.doctors-feature { padding-top: 80px; padding-bottom: 80px; }
.doctor-grid-large { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; max-width: 880px; margin: 0 auto; }
.doctor-grid-large .doctor { border-width: 2px; border-color: var(--primary-light); }
.doctor-grid-large .doctor-photo { height: 340px; font-size: 110px; }
.doctor-grid-large .doctor-photo.no-photo::before { font-size: 110px; }
.doctor-grid-large .doctor-body { padding: 28px 22px; }
.doctor-grid-large .doctor-body h4 { font-size: 22px; margin-bottom: 6px; }
.doctor-grid-large .doctor-body .title { font-size: 15px; color: var(--primary); font-weight: 600; }
.doctor-grid-large .doctor-meta { font-size: 14px; margin-top: 16px; padding-top: 16px; }

/* Content layout for inner pages */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 50px 0 40px;
}
.page-header h2 { font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.breadcrumb { font-size: 13px; opacity: 0.9; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; }

.content { padding: 60px 0; }
.content h3 { color: var(--primary-dark); font-size: 22px; margin: 28px 0 14px; }
.content h4 { color: var(--primary-dark); font-size: 18px; margin: 22px 0 10px; }
.content p { margin-bottom: 14px; color: var(--text); }
.content ul, .content ol { margin: 12px 0 18px 22px; }
.content li { margin-bottom: 6px; }
.content table { width: 100%; border-collapse: collapse; margin: 18px 0; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; display: table; }
.content th, .content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.content th { background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; }
.content tbody tr:nth-child(even) { background: var(--bg-alt); }

.layout { display: grid; grid-template-columns: 1fr 280px; gap: 36px; }
.sidebar h4 { color: var(--primary-dark); font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.sidebar ul { list-style: none; }
.sidebar li a { display: block; padding: 10px 0; color: var(--text); font-size: 14px; border-bottom: 1px solid var(--border); }
.sidebar li a::before { content: '›'; color: var(--primary); margin-right: 8px; font-weight: 700; }
.sidebar li a:hover { color: var(--primary); padding-left: 4px; }

/* Floating call button (mobile only) */
.floating-call {
  display: none;
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 80;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-call:hover, .floating-call:active, .floating-call:focus {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.floating-call::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: callPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes callPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Mobile menu backdrop */
.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
  animation: fadeIn 0.2s ease;
}
.menu-backdrop.show { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Footer */
.footer { background: #1f2d3d; color: #cdd6e4; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer p, .footer li { font-size: 13.5px; line-height: 1.7; }
.footer ul { list-style: none; }
.footer li a { color: #cdd6e4; }
.footer li a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid #2c3e54; text-align: center; font-size: 13px; color: #8a99ad; }

/* ============ Responsive ============ */

/* Prevent iOS auto-zoom on input focus */
input, select, textarea { font-size: 16px; }

/* Tablet & medium (<= 880px) */
@media (max-width: 880px) {
  .container { padding: 0 16px; }

  /* Mobile nav */
  .nav-list { display: none; flex-direction: column; width: 100%; background: var(--primary-dark); }
  .nav-list.open { display: flex; }
  .nav-list > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-list > li > a { padding: 14px 18px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,0.15); border-radius: 0; padding: 0; }
  .submenu li a { color: #e8f1ee; padding: 12px 28px; }
  .submenu li a:hover { background: rgba(0,0,0,0.2); color: #fff; }
  .mobile-toggle { display: block; margin-left: auto; }
  .header .container { display: flex; align-items: center; padding: 0 16px; }

  /* Topbar */
  .topbar { padding: 12px 0; }
  .topbar-inner { gap: 10px; }
  .brand { gap: 10px; flex: 1; min-width: 0; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text h1 { font-size: 15px; }
  .brand-text p { font-size: 11px; }
  .topbar-contact .icon { width: 34px; height: 34px; font-size: 15px; }
  .topbar-contact em { font-size: 10px; }
  .topbar-contact strong { font-size: 13px; }

  /* Hero slider */
  .hero-slider { height: 420px; }
  .slide-content { padding: 40px 0; }
  .slide-content h2 { font-size: 28px; }
  .slide-content p { font-size: 15px; }
  .slider-nav { width: 38px; height: 38px; font-size: 22px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-dots { bottom: 16px; }

  /* Sections */
  .section { padding: 50px 0; }
  .section-title { margin-bottom: 36px; }
  .section-title h3 { font-size: 26px; }
  .section-title p { font-size: 15px; }
  .doctors-feature { padding-top: 50px; padding-bottom: 50px; }

  /* Cards */
  .card { padding: 24px 18px; }
  .grid { gap: 18px; }

  /* Info bar */
  .info-bar { padding: 24px 0; }
  .info-bar-grid { gap: 18px; }
  .info-bar-item .icon { width: 44px; height: 44px; font-size: 18px; }
  .info-bar-item h5 { font-size: 12px; }
  .info-bar-item strong { font-size: 14px; }

  /* Doctor grids */
  .doctor-grid-large { gap: 24px; }
  .doctor-grid-large .doctor-photo { height: 280px; }
  .doctor-grid-large .doctor-body h4 { font-size: 20px; }

  /* Page header & content */
  .page-header { padding: 32px 0 24px; }
  .page-header h2 { font-size: 24px; }
  .content { padding: 40px 0; }
  .content h3 { font-size: 19px; margin: 22px 0 10px; }
  .content h4 { font-size: 16px; }
  .layout { grid-template-columns: 1fr; gap: 28px; }

  /* Tables — horizontal scroll when too wide */
  .content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
    font-size: 13.5px;
  }
  .content th, .content td { padding: 10px 12px; }

  /* Footer */
  .footer { padding: 36px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer h5 { margin-bottom: 14px; font-size: 14px; }
  .footer-bottom { margin-top: 28px; padding: 16px 0; font-size: 12px; }

  /* Floating call button visible on mobile */
  .floating-call { display: flex; }

  /* Mobile menu: full-screen overlay with internal scroll */
  .nav-list {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 8px 0 80px;
    background: var(--primary-dark);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 49;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  .nav-list.open { display: block; }
  .nav-list > li { display: block; width: 100%; }
}

/* Phones (<= 600px) */
@media (max-width: 600px) {
  /* Stack topbar phone below brand on small screens */
  .topbar-inner { flex-wrap: wrap; }
  .brand { flex: 1 1 100%; }
  .topbar-contact { flex: 1 1 100%; justify-content: center; padding-top: 8px; border-top: 1px solid var(--border); }

  /* Hero slider compacter */
  .hero-slider { height: 380px; }
  .slide-content h2 { font-size: 24px; }
  .slide-content p { font-size: 14px; margin-bottom: 22px; }
  .slide-actions { flex-direction: column; align-items: stretch; }
  .slide-actions .btn { text-align: center; padding: 12px 20px; }

  /* Footer collapses to 1 column */
  .footer-grid { grid-template-columns: 1fr; }

  /* Reduce section padding */
  .section { padding: 40px 0; }
  .doctors-feature { padding: 40px 0; }

  /* Doctor cards: 1 column on small phones */
  .doctor-grid-large { grid-template-columns: 1fr; max-width: 360px; }
  .doctor-grid-large .doctor-photo { height: 240px; }
  .doctor-grid-large .doctor-body h4 { font-size: 18px; }

  /* Map iframe shorter on phone */
  .content iframe[src*="google.com/maps"] { height: 320px !important; }

  /* Touch-friendly buttons */
  a.btn, button.btn { min-height: 44px; line-height: 1.2; display: inline-flex; align-items: center; justify-content: center; }
}

/* Tiny phones (<= 380px) */
@media (max-width: 380px) {
  .brand-text h1 { font-size: 14px; }
  .brand-text p { font-size: 10px; }
  .brand-logo { width: 42px; height: 42px; }
  .hero-slider { height: 360px; }
  .slide-content h2 { font-size: 20px; }
  .section-title h3 { font-size: 22px; }
  .page-header h2 { font-size: 20px; }
  .slider-nav { display: none; }  /* arrows take up space; dots are enough */
}

/* ===== Galeri ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "\002b";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(13, 124, 102, 0.85);
  color: #fff;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close {
  top: 20px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 38px;
  line-height: 1;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 30px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 14px; }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
