/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --container-max: 1280px;
  --container-pad: 24px;
  --header-pad-y: 1.25rem; /* daha yüksek header */
  --brand-gap: 0.6rem;
  --social-size: 1.5rem; /* header/footer ikon boyutu */

  /* Accent palette */
  --accent: #FFDA46;
  --accent-rgb: 255, 218, 70;
  --accent-300: #FFE47A;     /* koyu zeminde hover */
  --accent-600: #E6C43F;     /* açık zeminde hover */
  --accent-700: #C9A934;     /* pressed */
  --accent-ink: #111111;     /* aksan üstü metin */
  --focus-ring: #C9A934;     /* erişilebilir odak */
}

html { font-size: 150%; }

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

body {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  background-color: #fff;
  color: #222;
}

/* Header yapılandırma */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* eski flex kaldırıldı */
  display: grid;
  grid-template-columns: clamp(140px,18%,220px) 1fr clamp(70px,12%,140px);
  align-items: center;
  padding: var(--header-pad-y) var(--container-pad);
  background-color: #000;
  border-bottom: 1px solid #111;
  gap: 0;
}

.top-header .logo,
.top-header .main-nav,
.top-header .social {
  /* her bölümü kendi içinde ortala */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo ortalama ve kaydırma hack’ini iptal et */
.top-header .logo .site-logo {
  transform: none !important;
  will-change: auto;
}

/* Sosyal ikon bölümü ortalı görünsün */
.social { margin-left: 0; }

/* Menü genişliğini taşırsa responsive dar ekran davranışı için */
@media (max-width: 900px) {
  .top-header {
    /* Daha kompakt bir mobil düzen: logo - nav - sosyal
       ve header yüksekliğinin ekranı kaplamasını engelle. */
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 0.6rem var(--container-pad);
    gap: 0.25rem;
    /* header'ın mobilde tüm ekranı kaplamasını engelle */
    max-height: 40vh;
    overflow: auto;
  }
  /* Logo küçültülsün */
  .site-logo {
    height: calc(clamp(2.8rem, 7vw, 4.2rem) * 1.0);
    max-height: calc(clamp(2.8rem, 7vw, 4.2rem) * 1.0);
  }
  /* Navigasyon dikey yığılım yerine daha sıkışık dikey düzen */
  .main-nav {
    order: 2;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
  }
  .main-nav ul li a {
    padding: .6rem .8rem;
  }
  .social { order: 3; }
}
/* --- Mobile modal menu styles --- */
/* Default: hide mobile controls container and button on wide screens */
.mobile-menu-controls {
  display: none;
}
.mobile-menu-button {
  display: none;
}

/* Use aspect-ratio: width/height. When width/height <= 1 (portrait or square),
   switch to button + modal behavior. When width/height > 1 (landscape or wide),
   show normal nav. */
@media (max-aspect-ratio: 1/1) {
  .top-header .main-nav {
    display: none !important;
  }
  /* Center header items vertically in portrait so social icon aligns with logo */
  .top-header {
    align-items: center;
  }
  /* show the controls container and button in portrait/square */
  .mobile-menu-controls {
    display: inline-flex;
    grid-column: 2;
    justify-content: center;
    align-items: center;
  }
  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: .4rem .6rem;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    cursor: pointer;
    transform: scale(.7);
    transform-origin: center;
  }

/* Make the mobile menu icon the same visual size as the header Instagram icon */
.mobile-menu-button .mobile-menu-icon,
.mobile-menu-button img {
  display: block;
  height: calc(var(--social-size) * 1.75);
  width: calc(var(--social-size) * 1.75);
  object-fit: contain;
}
}

@media (min-aspect-ratio: 1/1) {
  /* Ensure nav visible on wide screens */
  .top-header .main-nav {
    display: flex !important;
  }
  .mobile-menu-button,
  .mobile-menu-controls {
    display: none !important;
  }
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 1rem;
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-menu-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  overflow: hidden;
}

.mobile-menu-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: #000;
  color: #fff;
}

.mobile-menu-card .card-body {
  padding: 1rem;
}

.mobile-menu-card ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-card li + li { margin-top: .5rem; }
.mobile-menu-card a {
  display: block;
  padding: .65rem .75rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}
.mobile-menu-card a:hover,
.mobile-menu-card a:focus {
  background: rgba(0,0,0,0.04);
}

.mobile-menu-cancel {
  background: transparent;
  border: none;
  color: #fff;
  padding: .35rem .6rem;
  cursor: pointer;
}
/* Daha küçük ekranlarda istersen nav'ı alt satıra alabilirsin (opsiyonel)
@media (max-width: 600px) {
  .top-header { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .logo { grid-column: 1 / 2; }
  .social { grid-column: 2 / 3; }
  .main-nav { grid-column: 1 / 3; order: 3; margin-top: .5rem; }
}
*/

/* Logo biraz daha büyük */
.site-logo {
  height: calc(clamp(2.8rem, 7vw, 4.2rem) * 1.6);   /* increased multiplier for larger header logo */
  max-height: calc(clamp(2.8rem, 7vw, 4.2rem) * 1.6);
  width: auto;
  display: block;
}

/* Menü header içinde (siyah zemin) */
.main-nav { flex: 1 1 auto; background-color: #000; }
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;     /* istersen flex-start yap */
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
}
.main-nav ul li a {
  color: #fff;  /* beyaz metin */
  padding: .75rem 1rem;
  display: inline-block;
  text-decoration: none;
  border-radius: 0px;
}
.main-nav a:hover,
.main-nav a:focus { background-color: rgba(var(--accent-rgb), 0.18); }
.main-nav a.active,
.main-nav a[aria-current="page"] { background-color: rgba(var(--accent-rgb), 0.28); }

/* Dropdown */
.main-nav .has-submenu { position: relative; }
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  padding: 6px 0;
  display: none;
  z-index: 1000;
}
.main-nav .submenu li { margin: 0; }
.main-nav .submenu a {
  display: block;
  padding: 10px 14px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
}
.main-nav .submenu a:hover,
.main-nav .submenu a:focus { background: #f5f5f5; }
.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu:focus-within .submenu { display: block; }

/* Sosyal alan sağda kalsın */
.social { margin-left: .5rem; white-space: nowrap; }
.social img { height: var(--social-size); width: var(--social-size); }

/* Header Instagram ikonunu %75 büyüt (1.5rem * 1.75 = 2.625rem) */
.top-header .social img {
  height: calc(var(--social-size) * 1.75);
  width: calc(var(--social-size) * 1.75);
}

/* Anchor'a kayarken başlık üstü boşluk */
.procedure-list li { scroll-margin-top: 110px; }

.main-nav {
  background-color: #000;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  background-color: black;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
  background: transparent;
}

.main-nav ul li a {
  color: white;
  padding: 1rem;
  display: inline-block;
  text-decoration: none;
}

.main-nav ul li a:hover,
.main-nav ul li a:focus {
  /* siyah zemin üzerinde yarı saydam aksan */
  background-color: rgba(var(--accent-rgb), 0.35);
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
  background-color: rgba(var(--accent-rgb), 0.35);
}

/* Odak için belirgin halka */
.main-nav ul li a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 0;
}

.intro {
  text-align: center;
  padding: 3rem 1rem;
  background-color: white;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  
}

/* Bigger hero: larger image and text, responsive */
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  justify-content: start; /* image left */
  margin-bottom: 2.5rem;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-inline: var(--container-pad);
}
.hero-image {
  max-width: 340px; /* tuned down to fit better */
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.hero-content {
  max-width: 900px; /* increased to lengthen line width */
  min-width: 220px;
}

/* Tuned type for intro */
.hero-content h2 { font-size: 2.2rem; }
.hero-content p { font-size: 1rem; line-height: 1.6; }

@media (max-width: 1000px) {
  .hero-image { max-width: 300px; }
  .hero-content { max-width: 600px; }
}

@media (max-width: 700px) {
  .hero { flex-direction: column; text-align: center; gap: 1rem; }
  .hero-image { max-width: 280px; }
  .hero-content { max-width: 100%; }
  .hero-content h2 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.98rem; }
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section {
  padding: 2rem;
  border-top: 1px solid #eee;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section h3 {
  border-bottom: 2px solid black;
  display: inline-block;
  margin-bottom: 1rem;
}

.video-text {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.video-placeholder {
  background-color: #ddd;
  width: 18.75rem;  /* 300px */
  height: 12.5rem;  /* 200px */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #666;
}

/* Video bölümündeki butonlar: aksan rengi */
.video-text button {
  background-color: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  border: none;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.25);
  margin-top: 1rem;
  cursor: pointer;
  transition: background-color .15s ease, transform .05s ease;
}
.video-text button:hover {
  background-color: var(--accent-600);
}
.video-text button:active {
  background-color: var(--accent-700);
  transform: translateY(1px);
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

/* Kutular link oldu: görünüm bozulmasın */
.options a.box,
.options a.small-box {
  text-decoration: none;
  color: inherit;
  display: inline-block; /* mevcut kutu stilleriyle uyumlu */
}

.box {
  width: 6.25rem;   /* 100px */
  height: 6.25rem;  /* 100px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  color: white;
}

.box span {
  font-size: 0.7rem;
  font-weight: normal;
}

/* Kutu ve rozetlerde kullanılabilecek yardımcı sınıf */
.accent { background-color: var(--accent); color: var(--accent-ink); }

/* Eski kırmızıların yerini aksan alsın */
.red { background-color: var(--accent); color: var(--accent-ink); }

.dark {
  background-color: #333;
}

.small-box {
  padding: 1rem;
  background-color: #333;
  color: white;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-size: 0.9rem;
}

.contact {
  background-color: #eee;
  padding: 2rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.contact textarea {
  width: 100%;
  height: 6.25rem;  /* 100px */
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
}

.input-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-row input {
  flex: 1;
  padding: 0.7rem;
  border: 1px solid #ccc;
}

.checkboxes label {
  font-size: 0.85rem;
}

/* Form gönder butonu aksan rengine çekildi */
.submit {
  margin-top: 1rem;
  background-color: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 2rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .15s ease, transform .05s ease;
}
.submit:hover { background-color: var(--accent-600); }
.submit:active { background-color: var(--accent-700); transform: translateY(1px); }

/* GÖNDER butonu: intro ile aynı font */
.submit {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .4px;
}

/* Form placeholder'ları (mesaj, isim, e-posta) aynı font */
.contact input::placeholder,
.contact textarea::placeholder {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .2px;
}

/* (İsteğe bağlı eski motorlar) */
.contact input::-webkit-input-placeholder,
.contact textarea::-webkit-input-placeholder {
  font-family: 'Bebas Neue', sans-serif;
}
.contact input:-ms-input-placeholder,
.contact textarea:-ms-input-placeholder {
  font-family: 'Bebas Neue', sans-serif;
}

/* Ana menü alt menü (dropdown) */
.main-nav ul { list-style: none; }
.main-nav .has-submenu { position: relative; }
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  padding: 6px 0;
  display: none;
  z-index: 1000;
}
.main-nav .submenu li { margin: 0; }
.main-nav .submenu a {
  display: block;
  padding: 10px 14px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav .submenu a:hover,
.main-nav .submenu a:focus { background: #f5f5f5; }
.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu:focus-within .submenu { display: block; }

.procedure-list { margin: .5rem 0 0 1.2rem; line-height: 1.6; }
/* Prosedür görselleri (dolgu/botoks sayfaları) */
.procedure-list { list-style: none; padding-left: 0; }
.procedure-list li { margin-bottom: 2rem; }
.procedure-media { max-width: 720px; margin: .75rem auto; }
.procedure-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  display: block;
}
/* Footer (outro) */
.site-footer {
  border-top: 1px solid #222;
  background-color: #000;
  padding: 2rem var(--container-pad, 24px);
}
.site-footer .container {
  max-width: var(--container-max, 1200px);
  margin-inline: auto;
}

/* New footer inner grid: five columns on wide screens */
.footer-inner {
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 140px;
  color: #ffffff;
}
.footer-col--brand { flex: 0 0 220px; }
.footer-col--contact { flex: 0 0 200px; }
.footer-col--hours { flex: 0 0 200px; }
.footer-col--social { flex: 0 0 140px; }
.footer-col--address { flex: 1 1 260px; text-align: right; }

.footer-col-heading {
  font-weight: 700;
  margin-bottom: .25rem;
  color: #ffffff;
}

.footer-logo-img {
  height: 144px;
  width: auto;
  display: block;
}

.footer-contact-item a,
.footer-email a,
.footer-address-link {
  color: #ffffff;
  text-decoration: none;
}

.footer-social img { height: 28px; width: 28px; }

/* Small screens: stack columns */
@media (max-width: 900px) {
  .footer-inner { flex-wrap: wrap; gap: 1rem; }
  .footer-col--address { text-align: left; }
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: stretch; }
  .footer-col { min-width: auto; }
  .footer-col--brand { order: 0; }
  .footer-col--contact { order: 1; }
  .footer-col--hours { order: 2; }
  .footer-col--social { order: 3; }
  .footer-col--address { order: 4; text-align: left; }
  .footer-logo-img { height: 48px; }
}
.footer-brand .site-logo {
  /* header ile aynı boyut (zaten .site-logo ortak) */
  height: calc(clamp(2.4rem, 6vw, 3.2rem) * 1.2);
  max-height: calc(clamp(2.4rem, 6vw, 3.2rem) * 1.2);
  width: auto;
  display: block;
}
.footer-info {
  font-style: normal;
  color: #fff;
  opacity: 0.9;
}
.footer-social img {
  height: var(--social-size);
  width: var(--social-size);
  display: block;
  transition: filter .15s ease;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: brightness(0.85);
}

/* Footer telefon linki: underline ve mavi/visited renk yok */
.site-footer a[href^="tel:"],
.site-footer a[href^="tel:"]:link,
.site-footer a[href^="tel:"]:visited,
.site-footer a[href^="tel:"]:hover,
.site-footer a[href^="tel:"]:active,
.site-footer a[href^="tel:"]:focus {
  color: #fff;
  text-decoration: none;
}

/* İstersen odak halkası kalsın */
.site-footer a[href^="tel:"]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* "Yaptığım İşlemler" bölümünü ortala */
.section.services {
  max-width: var(--container-max, 1200px);
  margin-inline: auto;
  padding-inline: var(--container-pad, 24px);
}
.section.services .options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* "Yaptığım İşler" kutularının iç metnini ortala */
.section.services .options a.box,
.section.services .options a.small-box {
  display: inline-flex;          /* dikey hizalama için */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;            /* <br> ve span için */
  gap: .25rem;
}

.section.services .options a.box span,
.section.services .options a.small-box span {
  display: block;
  text-align: center;
}

/* "Yaptığım İşlemler" kutuları: hepsi botoks rengi (accent) */
.section.services .box,
.section.services .small-box {
  background-color: var(--accent) !important;
  color: var(--accent-ink) !important;
}

.section.services .box:hover,
.section.services .small-box:hover,
.section.services .box:focus,
.section.services .small-box:focus {
  background-color: var(--accent-600) !important;
}

.section.services .box:active,
.section.services .small-box:active {
  background-color: var(--accent-700) !important;
}

/* Harita */
.map-section { max-width: var(--container-max, 1200px); margin-inline: auto; padding-inline: var(--container-pad, 24px); }
.map-embed { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Harita aksiyon butonu */
.map-actions { margin-top: .5rem; text-align: right; }
.btn-map {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .4rem .8rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .3px;
  transition: background-color .15s ease;
}
.btn-map:hover, .btn-map:focus { background: var(--accent-600); }

/* Responsive */
@media (max-width: 768px) {
  .video-text {
    flex-direction: column;
    align-items: flex-start;
  }
  .box {
    width: 5rem;    /* 80px */
    height: 5rem;   /* 80px */
    font-size: 1.5rem;
  }
  :root { --container-pad: 16px; }
}

.alerts { max-width: var(--container-max, 1200px); margin: .5rem auto; padding: 0 var(--container-pad, 24px); }
.alert { padding: .6rem .8rem; border-radius: 6px; margin-bottom: .5rem; }
.alert-success { background: #e7f6ec; color: #145a32; }
.alert-error { background: #fdecea; color: #8a1c1c; }
.alert-info { background: #e8f4fd; color: #0b5cad; }

/* Footer e‑posta: beyaz ve altı çizgisiz */
.footer-email a {
  color: #fff;
  text-decoration: none;
}
.footer-email a:hover,
.footer-email a:focus {
  color: #fff;
  text-decoration: none;
}

/* Adres linki: beyaz ve altı çizgisiz */
.footer-info,
.footer-info a {
  color: #fff;
  text-decoration: none;
}
.footer-info a:hover,
.footer-info a:focus {
  color: #fff;
  text-decoration: none;
}

/* Son güncelleme yazısı: beyaz */
.last-updated { color: #fff; }

/* Footer: yasal bilgilendirme */
.legal-disclaimer {
  color: #9aa0a6;               /* gri ton */
  font-size: .9rem;
  line-height: 1.5;
  text-align: center;
  padding: 12px var(--container-pad) 16px;
  border-top: 1px solid rgba(255,255,255,.08); /* koyu footer için */
}
.legal-disclaimer p { margin: .25rem 0; }

.kvkk-consent {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .85rem;
  line-height: 1.2;
}
.kvkk-consent a { color: var(--accent); text-decoration: underline; }
.kvkk-consent a:hover,
.kvkk-consent a:focus { color: var(--accent-600); }

.submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.3);
}
