/* ============================================================
   Op. Dr. Ramazan Güler — Gallery
   ============================================================ */

.gallery { background: var(--color-bg); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  background: var(--color-bg-alt);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,94,138,.65);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.gallery__item-overlay svg { width: 32px; height: 32px; }
.gallery__item:hover .gallery__item-overlay { opacity: 1; }

/* ── Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 85dvh;
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: scale(.9);
  transition: transform var(--transition-base);
}
.lightbox.open .lightbox__img-wrap { transform: scale(1); }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; max-height: 85dvh; }

.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__close svg { width: 20px; height: 20px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-size: var(--fs-sm);
}

/* ============================================================
   Op. Dr. Ramazan Güler — Footer
   ============================================================ */

.footer {
  background: var(--color-bg-darker);
  color: rgba(255,255,255,.7);
  padding-top: 2.75rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.25rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__tagline {
  max-width: 34ch;
  margin-top: .7rem;
  margin-bottom: 1.05rem;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: .005em;
  text-wrap: balance;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}
.footer__social {
  display: flex;
  gap: var(--sp-1);
}
.footer__social-link {
  width: 34px; height: 34px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
.footer__social-link:hover { background: var(--color-primary); color: #fff; }
.footer__social-link svg { width: 16px; height: 16px; }

.footer__col-title {
  font-size: .72rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-white);
  margin-bottom: .7rem;
}
.footer__link-cols { display: contents; }
.footer__nav { display: flex; flex-direction: column; gap: .35rem; }
.footer__nav-link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: .4rem;
  line-height: 1.45;
}
.footer__nav-link::before {
  content: '›';
  color: var(--color-accent-light);
  font-size: 1.1rem;
  line-height: 1;
}
.footer__nav-link:hover { color: var(--color-white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: inherit;
  min-height: 1.7rem;
}
a.footer__contact-item:hover .footer__contact-text { color: var(--color-white); }
.footer__contact-icon {
  width: 26px; height: 26px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  color: var(--color-accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer__contact-icon svg { width: 13px; height: 13px; }
.footer__contact-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* ── Footer Brand Logo (resim) */
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
}
.footer__brand-logo-img {
  height: 84px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  background: none;
}

.footer__partners {
  padding-block: 1rem .35rem;
  text-align: center;
  margin-bottom: 0;
}
.footer__partners-label {
  font-size: .68rem;
  font-weight: var(--fw-bold);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: .55rem;
}
.footer__partners-img-wrap {
  overflow: hidden;
  line-height: 0;
}
.footer__partners-img {
  display: block;
  width: auto;
  max-width: min(560px, 100%);
  max-height: 86px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  opacity: .92;
  transition: opacity var(--transition-base);
}
.footer__partners-img:hover { opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-3);
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer__langs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
}
.footer__lang {
  display: flex;
  width: 28px;
  height: 21px;
  border-radius: 3px;
  overflow: hidden;
  opacity: .78;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
  transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.footer__lang img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
a.footer__lang { cursor: pointer; }
.footer__lang:hover,
.footer__lang.is-active {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--color-accent);
}
.footer__copyright { font-size: var(--fs-xs); color: rgba(255,255,255,.3); }
.footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2); }
.footer__legal a { font-size: var(--fs-xs); color: rgba(255,255,255,.3); transition: color var(--transition-fast); }
.footer__legal a:hover { color: rgba(255,255,255,.7); }
