/* Focal Optik — tek sayfa site stilleri
   Palet: fıstık yeşili #a0c73e, koyu yeşil #4d6b12, metin #2b2b2b,
   ikincil metin #5e5e5e, marka grisi #868686 (yalnız logoda), zemin #ffffff / #f4f5f0 */

:root {
  --fo-green: #a0c73e;
  --fo-green-dark: #4d6b12;
  --fo-green-soft: #eef4dd;
  --fo-gray-brand: #868686;
  --fo-ink: #2b2b2b;
  --fo-text-2: #5e5e5e;
  --fo-bg: #ffffff;
  --fo-bg-tint: #f4f5f0;
  --fo-border: #dcdcd6;
  --fo-border-soft: #e8e8e2;
  --fo-radius-btn: 4px;
  --fo-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --fo-wa-size: 54px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fo-bg);
  color: var(--fo-text-2);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--fo-green-dark); text-decoration: none; transition: color .15s ease; }
::selection { background: rgba(160, 199, 62, .28); }
:focus-visible { outline: 2px solid var(--fo-green-dark); outline-offset: 2px; }

.fo-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Görseller yüklenirken yumuşak belirsin */
.fo-fade { opacity: 0; transition: opacity .3s var(--fo-ease); }
.fo-fade.is-loaded { opacity: 1; }

/* Bölüm girişleri: sadece transform + opacity */
.fo-reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--fo-ease), transform .4s var(--fo-ease); }
.fo-reveal.is-in { opacity: 1; transform: none; }

/* Header */
.fo-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--fo-bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s var(--fo-ease), border-color .2s var(--fo-ease);
}
.fo-header.fo-header-solid {
  border-bottom-color: var(--fo-border-soft);
  box-shadow: 0 1px 6px rgba(43, 43, 43, .06);
}
.fo-nav-inner {
  height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .2s var(--fo-ease);
}
.fo-header-solid .fo-nav-inner { height: 66px; }
.fo-brand { display: flex; align-items: center; }
.fo-logo-img { height: 54px; width: auto; min-width: 120px; transition: height .2s var(--fo-ease); }
.fo-header-solid .fo-logo-img { height: 44px; }
.fo-desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.fo-desktop-nav a:not(.fo-btn) { position: relative; color: var(--fo-ink); padding: 6px 0; }
.fo-desktop-nav a:not(.fo-btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--fo-green); transform: scaleX(0); transform-origin: left;
  transition: transform .18s var(--fo-ease);
}
.fo-desktop-nav a.is-active::after { transform: scaleX(1); }
.fo-burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer; color: var(--fo-ink);
}
.fo-mobile-nav[hidden] { display: none; }
.fo-mobile-nav {
  background: var(--fo-bg); border-top: 1px solid var(--fo-border-soft);
  padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 2px; font-size: 17px;
}
.fo-mobile-nav a { color: var(--fo-ink); padding: 13px 4px; }

/* Butonlar */
.fo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--fo-radius-btn);
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--fo-ease);
}
.fo-btn:active { transform: scale(0.97); }
.fo-btn-sm { padding: 9px 16px; font-size: 14px; }
.fo-btn-primary { background: var(--fo-green); color: var(--fo-ink); }
.fo-btn-outline { border-color: var(--fo-border); color: var(--fo-ink); background: transparent; }
.fo-btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .fo-btn-primary:hover { background: var(--fo-green-dark); color: #fff; }
  .fo-btn-outline:hover { border-color: var(--fo-green-dark); color: var(--fo-green-dark); }
  .fo-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }
  .fo-desktop-nav a:not(.fo-btn):hover { color: var(--fo-green-dark); }
}

/* Hero */
.fo-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; background: var(--fo-ink); overflow: hidden; }
.fo-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fo-hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(26,26,26,.88) 0%, rgba(26,26,26,.42) 46%, rgba(26,26,26,.12) 100%),
    linear-gradient(to top right, rgba(26,26,26,.72) 0%, rgba(26,26,26,0) 58%);
}
.fo-hero-content { position: relative; width: 100%; padding: 160px 40px 96px; }
.fo-hero-content h1 { margin: 0 0 20px; max-width: 16ch; color: #fff; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.08; font-weight: 700; }
.fo-hero-content p { margin: 0 0 32px; max-width: 58ch; color: rgba(255,255,255,.9); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; }
.fo-hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Bölümler */
.fo-section { background: var(--fo-bg); }
.fo-section .fo-wrap { padding-top: 96px; padding-bottom: 96px; }
.fo-section-tint { background: var(--fo-bg-tint); }
.fo-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fo-green-dark); }
.fo-section-head { max-width: 65ch; margin-bottom: 48px; }
.fo-section-head h2 { margin: 0 0 14px; color: var(--fo-ink); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 700; }
.fo-lead { margin: 0; max-width: 65ch; font-size: 16px; line-height: 1.65; }
.fo-lead strong { color: var(--fo-ink); }

/* Hakkımızda */
.fo-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin-bottom: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--fo-border-soft); }
.fo-stat-num { margin: 0; color: var(--fo-green-dark); font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; line-height: 1; }
.fo-stat-label { margin: 6px 0 0; color: var(--fo-ink); font-size: 14px; }
.fo-about-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.fo-about-content h2 { margin: 0 0 20px; max-width: 22ch; color: var(--fo-ink); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; }
.fo-about-content > p { margin: 0 0 16px; max-width: 65ch; font-size: 16px; line-height: 1.65; }
.fo-about-content > p:last-child { margin-bottom: 0; }
.fo-about-img-wrap { aspect-ratio: 1 / 1; overflow: hidden; }
.fo-about-img { width: 100%; height: 100%; object-fit: cover; }

/* Markalar */
.fo-sec-brands .fo-wrap.fo-brands-head { padding-top: 96px; padding-bottom: 40px; }
.fo-brands-head h2 { margin: 0; max-width: 28ch; color: var(--fo-ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-weight: 700; }
.fo-marquee {
  padding: 8px 0 96px; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fo-track { display: flex; width: max-content; align-items: center; animation: marquee 48s linear infinite; }
.fo-brand-item { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 56px; flex: 0 0 auto; }
.fo-brand-logo { max-height: 28px; max-width: 120px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: opacity .2s ease, filter .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .fo-brand-logo:hover { filter: grayscale(0); opacity: 1; }
}

/* Hizmetler */
.fo-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fo-service {
  background: var(--fo-bg); border: 1px solid var(--fo-border-soft); padding: 24px;
  transition: transform .2s var(--fo-ease), box-shadow .2s var(--fo-ease);
}
@media (hover: hover) and (pointer: fine) {
  .fo-service:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(43,43,43,.07); }
}
.fo-lens { display: block; width: 56px; height: 56px; margin-bottom: 16px; }
.fo-lens svg { width: 56px; height: 56px; display: block; }
.fo-lens-tint { opacity: 0; transition: opacity .6s var(--fo-ease); }
@media (hover: hover) and (pointer: fine) {
  .fo-service:hover .fo-lens-tint { opacity: .62; }
}
.fo-service.is-dark .fo-lens-tint { opacity: .62; }
.fo-service h3 { margin: 0 0 10px; color: var(--fo-ink); font-size: 17px; font-weight: 700; line-height: 1.35; }
.fo-service p { margin: 0; font-size: 15px; line-height: 1.6; }
.fo-lens-makers { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--fo-border); }
.fo-lens-label { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fo-green-dark); }
.fo-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fo-pills li { border: 1px solid var(--fo-border); border-radius: 999px; padding: 6px 14px; color: var(--fo-ink); font-size: 14px; }

/* Mağaza kartları */
.fo-stores { display: flex; flex-direction: column; gap: 56px; }
.fo-store-group-title {
  margin: 0 0 20px; color: var(--fo-ink); font-size: 20px; font-weight: 700;
  display: flex; align-items: baseline; gap: 10px;
}
.fo-store-group-title span { color: var(--fo-text-2); font-size: 14px; font-weight: 400; }
.fo-store-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fo-store-card { border: 1px solid var(--fo-border-soft); background: var(--fo-bg); display: flex; flex-direction: column; }
.fo-store-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fo-bg-tint); }
.fo-store-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--fo-ease); }
@media (hover: hover) and (pointer: fine) {
  .fo-store-card:hover .fo-store-img { transform: scale(1.03); }
}
.fo-store-soon {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--fo-green-soft); padding: 24px;
}
.fo-store-soon-label { color: var(--fo-green-dark); font-size: 17px; font-weight: 700; text-align: center; }
.fo-status {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.94); color: var(--fo-ink);
  font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}
.fo-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--fo-gray-brand); flex-shrink: 0; }
.fo-status-open i { background: #4caf2f; }
.fo-status-soon i { background: var(--fo-green); }
.fo-store-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.fo-store-body h3 { margin: 0; color: var(--fo-ink); font-size: 20px; font-weight: 700; }
.fo-store-loc { margin: 2px 0 12px; color: var(--fo-green-dark); font-size: 14px; font-weight: 700; }
.fo-store-address { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.fo-store-dir, .fo-store-hours {
  display: flex; align-items: flex-start; gap: 7px; margin: 0 0 6px;
  font-size: 15px; line-height: 1.45; color: var(--fo-text-2);
}
.fo-store-dir svg, .fo-store-hours svg { color: var(--fo-green-dark); flex-shrink: 0; margin-top: 3px; }
.fo-store-meta { margin: 6px 0 0; font-size: 15px; line-height: 1.6; }
.fo-store-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 18px; }
.fo-sbtn {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  padding: 10px 6px; border: 1.5px solid var(--fo-border); border-radius: var(--fo-radius-btn);
  color: var(--fo-ink); font-size: 14px; font-weight: 700; line-height: 1;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--fo-ease);
}
.fo-sbtn span { white-space: nowrap; }
.fo-sbtn svg { flex-shrink: 0; }
.fo-sbtn-primary { background: var(--fo-green); border-color: var(--fo-green); }
.fo-sbtn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .fo-sbtn:hover { border-color: var(--fo-green-dark); color: var(--fo-green-dark); }
  .fo-sbtn-primary:hover { background: var(--fo-green-dark); border-color: var(--fo-green-dark); color: #fff; }
}

/* İletişim */
.fo-sec-cta .fo-wrap { padding-top: 24px; padding-bottom: 96px; }
.fo-cta-card { background: var(--fo-ink); padding: clamp(32px, 4vw, 56px); }
.fo-cta-card h2 { margin: 0 0 16px; max-width: 20ch; color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; }
.fo-cta-body { margin: 0 0 28px; max-width: 65ch; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.65; }
.fo-cta-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Footer */
.fo-footer { background: var(--fo-ink); color: rgba(255,255,255,.75); border-top: 3px solid var(--fo-green); }
.fo-footer .fo-wrap { padding-top: 56px; padding-bottom: calc(36px + var(--fo-wa-size) + env(safe-area-inset-bottom)); }
.fo-footgrid { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 40px; align-items: start; }
.fo-footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.fo-footer-brand > p { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.6; }
.fo-footer-heading { margin: 0 0 16px; color: #fff; font-size: 17px; font-weight: 700; }
.fo-footer-phones, .fo-footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fo-footer-phones li { display: flex; justify-content: space-between; gap: 16px; max-width: 280px; }
.fo-footer-phones span { color: rgba(255,255,255,.62); }
.fo-footer-phones a, .fo-footer-contact a { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .fo-footer-phones a:hover, .fo-footer-contact a:hover { color: var(--fo-green); }
}
.fo-footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.fo-legal { margin: 0 0 8px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.55); }
.fo-copyright { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* WhatsApp: yüzen buton, panel ve sheet */
.fo-float-wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: var(--fo-wa-size); height: var(--fo-wa-size); display: none;
  align-items: center; justify-content: center; border: none; cursor: pointer;
  border-radius: var(--fo-radius-btn); background: var(--fo-green); color: var(--fo-ink);
  transition: background-color .15s ease, transform .16s var(--fo-ease);
}
.fo-float-wa:active { transform: scale(0.97); }
.fo-wa-scrim[hidden], .fo-wa-panel[hidden] { display: none; }
.fo-wa-scrim {
  position: fixed; inset: 0; z-index: 58; background: rgba(26,26,26,.38);
  opacity: 0; transition: opacity .2s var(--fo-ease);
}
.fo-wa-scrim.is-open { opacity: 1; }
.fo-wa-panel {
  position: fixed; right: 18px; bottom: calc(18px + var(--fo-wa-size) + 12px + env(safe-area-inset-bottom));
  z-index: 61; width: min(320px, calc(100vw - 36px));
  background: var(--fo-bg); border: 1px solid var(--fo-border); padding: 16px;
  transform-origin: bottom right; transform: scale(.96); opacity: 0;
  transition: transform .18s var(--fo-ease), opacity .18s var(--fo-ease);
}
.fo-wa-panel.is-open { transform: scale(1); opacity: 1; }
.fo-wa-title { margin: 0 0 12px; color: var(--fo-ink); font-size: 15px; font-weight: 700; }
.fo-wa-list { display: flex; flex-direction: column; }
.fo-wa-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  padding: 11px 4px; border-top: 1px solid var(--fo-border-soft); color: var(--fo-ink); font-size: 15px;
}
.fo-wa-list a:first-child { border-top: none; }
.fo-wa-item-name { font-weight: 700; }
.fo-wa-item-num { color: var(--fo-text-2); font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .fo-wa-list a:hover { color: var(--fo-green-dark); }
  .fo-float-wa:hover { background: var(--fo-green-dark); color: #fff; }
}

/* Kısa bildirim (e-posta kopyalandı) */
.fo-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  max-width: min(420px, calc(100vw - 32px));
  background: var(--fo-ink); color: #fff; border-left: 3px solid var(--fo-green);
  padding: 12px 16px; font-size: 14px; line-height: 1.4;
  transition: opacity .2s var(--fo-ease), transform .2s var(--fo-ease);
}
.fo-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1080px) {
  .fo-store-row { grid-template-columns: repeat(2, 1fr); }
  .fo-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .fo-desktop-nav { display: none !important; }
  .fo-burger { display: inline-flex !important; }
  .fo-float-wa { display: flex; }
  .fo-wrap { padding-left: 20px !important; padding-right: 20px !important; }
  .fo-section .fo-wrap { padding-top: 64px; padding-bottom: 64px; }
  .fo-sec-brands .fo-wrap.fo-brands-head { padding-top: 64px; padding-bottom: 28px; }
  .fo-marquee { padding-bottom: 64px; }
  .fo-sec-cta .fo-wrap { padding-top: 8px; padding-bottom: 64px; }
  .fo-footer .fo-wrap { padding-top: 48px; padding-bottom: calc(32px + var(--fo-wa-size) + env(safe-area-inset-bottom)); }
  .fo-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; padding-bottom: 32px; }
  .fo-about-split { grid-template-columns: 1fr !important; row-gap: 36px; }
  .fo-about-img-wrap { height: 320px; aspect-ratio: auto !important; }
  .fo-store-row { grid-template-columns: 1fr !important; }
  .fo-services { grid-template-columns: 1fr !important; gap: 12px; }
  .fo-footgrid { grid-template-columns: 1fr !important; row-gap: 36px; }
  .fo-hero-content { padding-bottom: 160px; }
  .fo-hero-ctas { flex-direction: column; align-items: stretch !important; }
  .fo-cta-actions .fo-btn { width: 100%; }
  .fo-btn { min-height: 44px; }
  .fo-sbtn { font-size: 13px; padding: 10px 4px; }
  /* WhatsApp paneli telefonda alttan açılan sheet */
  .fo-wa-panel {
    left: 0; right: 0; bottom: 0; width: 100%;
    border: none; border-top: 3px solid var(--fo-green);
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    transform-origin: bottom center; transform: translateY(100%); opacity: 1;
    transition: transform .25s var(--fo-ease);
  }
  .fo-wa-panel.is-open { transform: translateY(0); }
}

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fo-reveal { opacity: 1; transform: none; transition: none; }
  .fo-fade { opacity: 1; transition: none; }
  .fo-btn, .fo-sbtn, .fo-service, .fo-store-img, .fo-nav-inner, .fo-logo-img,
  .fo-wa-panel, .fo-wa-scrim, .fo-desktop-nav a::after { transition: none !important; }
  .fo-btn:active, .fo-sbtn:active, .fo-float-wa:active { transform: none; }
  .fo-service:hover { transform: none; box-shadow: none; }
  .fo-store-card:hover .fo-store-img { transform: none; }
  .fo-wa-panel { transform: none !important; opacity: 1; }
  .fo-toast { transition: opacity .2s linear; transform: translate(-50%, 0); }
  /* Marka şeridi dursun, sabit ızgara olsun */
  .fo-marquee { mask-image: none; -webkit-mask-image: none; overflow: visible; }
  .fo-track {
    animation: none !important; width: auto; max-width: 1200px; margin: 0 auto; padding: 0 40px;
    flex-wrap: wrap; justify-content: center; gap: 12px 24px;
  }
  /* Fotokromik camın iki hali yan yana sabit */
  .fo-lens-photo svg { width: 56px; }
  .fo-lens-photo .fo-lens-tint { opacity: .62; transition: none; }
  .fo-lens-photo { position: relative; width: 120px; }
  .fo-lens-photo::after {
    content: ''; position: absolute; left: 64px; top: 0; width: 56px; height: 56px;
    border-radius: 50%; background: #f7f8f4; border: 1px solid var(--fo-border-soft);
  }
}
