/* ═══════════════════════════════════════════
   SARVİZAN — css/style.css
   Karadeniz / Rize-Hemşin Yöresel Kahvaltı Teması
═══════════════════════════════════════════ */

:root {
  /* Palet: Orman yeşili + krem + bakır/kahve */
  --forest:   #1c2e1c;   /* koyu orman yeşili – nav, hero */
  --forest-2: #253625;   /* biraz daha açık yeşil */
  --forest-3: #2e4a2a;   /* yeşilin açık tonu */
  --copper:   #a86830;   /* bakır – vurgu, etiket */
  --copper-l: #c48040;   /* açık bakır hover */
  --copper-p: #e8c090;   /* çok açık bakır – metin */
  --cream:    #faf5ec;   /* krem arka plan */
  --cream-2:  #f2ebe0;   /* biraz koyu krem */
  --brown:    #3a2810;   /* koyu kahve – alternatif başlık */
  --text-d:   #1a1208;   /* açık bölümlerin metni */
  --text-l:   #f0ead8;   /* koyu bölümlerin metni */
  --t: .3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-d);
  overflow-x: hidden;
}

/* ince doğal doku */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .3;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
a { text-decoration: none; transition: color var(--t); }
section { padding: 7rem 4rem; }

/* ── YARDIMCILAR ── */
.section-label {
  font-size: .68rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: .8rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before { content: ''; width: 40px; height: 1px; background: var(--copper); flex-shrink: 0; }
.section-label.center  { justify-content: center; }
.section-label.center::before { display: none; }

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 1.5rem;
}
.section-title.center { text-align: center; }

.btn-gold {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  border: none;
  padding: .9rem 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.btn-gold:hover { background: var(--copper-l); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--copper-p);
  border: 1px solid var(--copper);
  padding: .9rem 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.btn-outline:hover { background: rgba(168,104,48,.15); transform: translateY(-2px); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4rem;
  background: rgba(28, 46, 28, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168,104,48,.25);
  transition: padding var(--t), background var(--t);
}
nav.scrolled { padding: .9rem 4rem; background: rgba(15, 24, 15, .97); }

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--copper-p);
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo {
  display: inline-block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff url('../logo.png') 46% 51% / 440% auto no-repeat;
  box-shadow: 0 0 0 1.5px rgba(168,104,48,.5);
}

.nav-links { display: flex; gap: 2.5rem; align-items: center; list-style: none; }
.nav-links a {
  color: rgba(240,234,216,.7);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a:hover { color: var(--copper-p); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }

.lang-switcher { display: flex; border: 1px solid rgba(168,104,48,.4); border-radius: 2px; overflow: hidden; }
.lang-btn {
  background: none;
  border: none;
  color: rgba(240,234,216,.6);
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  letter-spacing: .15em;
  padding: .35rem .7rem;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  font-weight: 400;
}
.lang-btn.active { background: var(--copper); color: #fff; font-weight: 500; }
.lang-btn:not(.active):hover { background: rgba(168,104,48,.2); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 1px; background: var(--copper-p); display: block; }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--forest);
  border-left: 1px solid rgba(168,104,48,.2);
  z-index: 200;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: var(--copper-p);
  font-size: 1.1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  border-bottom: 1px solid rgba(168,104,48,.15);
  padding-bottom: 1rem;
}
.mobile-nav a:hover { color: var(--copper); }
.close-btn { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--copper); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,20,12,.62) 0%, rgba(28,46,28,.55) 60%, rgba(12,20,12,.75) 100%),
    url('/background.jpg') center center / cover no-repeat;
}
.hero-ornament {
  position: absolute;
  width: 520px; height: 520px;
  border: 1px solid rgba(168,104,48,.12);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateSlow 40s linear infinite;
}
.hero-ornament::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(168,104,48,.07);
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite reverse;
}
@keyframes rotateSlow { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-content { position: relative; text-align: center; padding: 2rem; }
.hero-tag {
  font-size: .72rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 300;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s .3s forwards;
}
.hero-title {
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: .06em;
  color: var(--copper-p);
  opacity: 0;
  animation: fadeUp 1s .5s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  letter-spacing: .1em;
  margin-top: .6rem;
}
.hero-sub {
  font-size: .82rem;
  letter-spacing: .3em;
  color: rgba(240,234,216,.5);
  text-transform: uppercase;
  margin-top: 1.8rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s .7s forwards;
}
.hero-cta {
  display: inline-flex;
  gap: 1.5rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 1s .9s forwards;
}
.scroll-line {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}
.scroll-line span { font-size: .65rem; letter-spacing: .3em; color: rgba(168,104,48,.5); text-transform: uppercase; }
.scroll-line::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--copper), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4;height:50px} 50%{opacity:1;height:70px} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ── GALLERY CAROUSEL ── */
#gallery {
  background: var(--cream-2);
  padding: 5rem 0;
  overflow: hidden;
}
.gallery-carousel-label {
  text-align: center;
  padding: 0 4rem 2.5rem;
}
.gallery-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.1;
}
.gallery-track-wrap {
  overflow: hidden;
  position: relative;
  user-select: none;
}
.gallery-track-wrap::before,
.gallery-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.gallery-track-wrap::before { left: 0; background: linear-gradient(to right, var(--cream-2), transparent); }
.gallery-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--cream-2), transparent); }

.gallery-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: galleryScroll 32s linear infinite;
  will-change: transform;
}
.gallery-track:hover { animation-play-state: paused; }

@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.gallery-slide {
  width: 300px;
  height: 210px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(168,104,48,.18);
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.gallery-slide:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  #gallery { padding: 4rem 0; }
  .gallery-carousel-label { padding: 0 1.5rem 2rem; }
  .gallery-slide { width: 220px; height: 158px; }
}

/* ── ABOUT ── */
#about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 7rem 4rem;
}
.about-visual { position: relative; }
.about-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--forest-2) 0%, var(--forest) 100%);
  position: relative;
  overflow: hidden;
}
.about-img-box-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 130px; height: 130px;
  background: var(--copper);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}
.about-badge span { font-size: .6rem; letter-spacing: .15em; color: rgba(255,255,255,.8); text-transform: uppercase; margin-top: .2rem; }

.about-text .section-title { color: var(--forest); }
.about-text p { color: #4a3a2a; line-height: 1.9; font-size: .95rem; font-weight: 300; margin-bottom: 1.2rem; }

.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.feature-item  { display: flex; align-items: flex-start; gap: .8rem; }
.feature-icon  {
  width: 36px; height: 36px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.feature-item p { font-size: .82rem !important; margin: 0 !important; color: #3a2a1a !important; font-weight: 400 !important; padding-top: .5rem; }

/* ── MENU ── */
#menu { background: var(--forest); color: var(--text-l); }
#menu .section-label { color: var(--copper); }
#menu .section-title { color: var(--copper-p); }
.menu-header { max-width: 1300px; margin: 0 auto; }

.menu-tabs { display: inline-flex; border: 1px solid rgba(168,104,48,.3); margin-top: 1.5rem; }
.menu-tab {
  background: none;
  border: none;
  border-right: 1px solid rgba(168,104,48,.3);
  color: rgba(240,234,216,.7);
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .8rem 1.8rem;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  font-weight: 400;
}
.menu-tab:last-child { border-right: none; }
.menu-tab.active { background: var(--copper); color: #fff; font-weight: 500; }
.menu-tab:not(.active):hover { background: rgba(168,104,48,.15); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(168,104,48,.1);
  max-width: 1300px;
  margin: 2.5rem auto 0;
}
.menu-item { background: var(--forest); display: none; transition: background .3s; overflow: hidden; }
.menu-item.visible { display: block; }
.menu-item:hover { background: rgba(46,74,42,.6); }

.menu-item-img { width: 100%; height: 180px; overflow: hidden; }
.menu-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.menu-item:hover .menu-item-img img { transform: scale(1.04); }

.menu-item-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .5rem; padding: 1.5rem 1.5rem 0; }
.menu-item:not(:has(.menu-item-img)) .menu-item-top { padding: 2rem 2rem 0; }
.menu-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; color: var(--copper-p); line-height: 1.2; }
.menu-item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--copper); font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.menu-divider { width: 30px; height: 1px; background: var(--copper); margin: .7rem 1.5rem; opacity: .4; }
.menu-item:not(:has(.menu-item-img)) .menu-divider { margin: .7rem 2rem; }
.menu-item-desc { font-size: .8rem; color: rgba(240,234,216,.5); line-height: 1.6; font-weight: 300; padding: 0 1.5rem 1.5rem; }
.menu-item:not(:has(.menu-item-img)) .menu-item-desc { padding: 0 2rem 2rem; }

/* ── CONTACT ── */
#contact { background: var(--forest); text-align: center; }
#contact .section-label { color: var(--copper); justify-content: center; }
#contact .section-label::before { display: none; }
#contact .section-title { color: var(--copper-p); margin-bottom: 1rem; }

.contact-call-note {
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 3rem;
  font-weight: 300;
}

.contact-grid { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.contact-card { text-align: center; max-width: 180px; }
.contact-card-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.contact-card h4 { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--copper); margin-bottom: .6rem; font-weight: 400; }
.contact-card p,
.contact-card a { font-size: .9rem; color: rgba(240,234,216,.7); font-weight: 300; line-height: 1.7; display: block; }
.contact-card a:hover { color: var(--copper-p); }

/* Telefon kartı — vurgulu */
.contact-card--phone { max-width: 220px; }
.contact-card--phone .phone-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--copper-p);
  font-weight: 400;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.contact-card--phone .phone-link:hover { color: var(--copper); }
.contact-card--phone small { font-size: .72rem; color: rgba(168,104,48,.7); letter-spacing: .15em; text-transform: uppercase; display: block; margin-top: .3rem; }

.social-row { display: flex; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
.social-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(168,104,48,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--copper);
  border-radius: 50%;
  transition: background var(--t), color var(--t);
}
.social-btn:hover { background: var(--copper); color: #fff; }

/* ── FOOTER ── */
footer {
  background: #0c140c;
  padding: 2.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  border-top: 1px solid rgba(168,104,48,.15);
  text-align: center;
}
footer .logo { font-size: 1.5rem; letter-spacing: .2em; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--copper);
  letter-spacing: .1em;
  margin-bottom: .3rem;
}
footer p { font-size: .72rem; color: rgba(240,234,216,.25); font-weight: 300; letter-spacing: .1em; }

/* ── ADMIN LİNK ── */
.admin-link {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: .65rem;
  color: rgba(168,104,48,.25);
  text-decoration: none;
  letter-spacing: .15em;
  transition: color var(--t);
}
.admin-link:hover { color: rgba(168,104,48,.6); }

/* ── SCROLL ANİMASYON ── */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  nav { padding: 1rem 1.25rem; }
  nav.scrolled { padding: .7rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; padding: 10px 6px; }
  .mobile-nav { width: min(320px, 85vw); }
  .mobile-nav a { padding: .4rem 0 1rem; }
  section, #menu, #contact { padding: 4.5rem 1.25rem; }
  #about { grid-template-columns: 1fr; gap: 3rem; padding: 4.5rem 1.25rem; }
  .about-img-box { aspect-ratio: 3/2; }
  .about-badge { right: .75rem; bottom: -1.25rem; width: 104px; height: 104px; }
  .about-badge strong { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; gap: 1rem; width: 100%; max-width: 320px; }
  .hero-cta a { text-align: center; }
  .scroll-line { display: none; }
  .gallery-track-wrap::before, .gallery-track-wrap::after { width: 48px; }
  footer { padding: 2rem 1.25rem; }
  .contact-grid { gap: 2.5rem; }

  /* Menü */
  .menu-header { text-align: center; }
  .menu-header .section-label { justify-content: center; }
  .menu-header .section-label::before { display: none; }
  .menu-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 1rem; }
  .menu-tab {
    padding: .95rem .5rem;
    min-height: 48px;
    letter-spacing: .12em;
    border-right: 1px solid rgba(168,104,48,.3);
    border-bottom: 1px solid rgba(168,104,48,.3);
  }
  .menu-tab:nth-child(2n) { border-right: none; }
  .menu-tab:nth-last-child(-n+2) { border-bottom: none; }
  .menu-grid { grid-template-columns: 1fr; margin-top: 1.75rem; }
  .menu-item-img { height: 210px; }
  .menu-item-top,
  .menu-item:not(:has(.menu-item-img)) .menu-item-top { padding: 1.2rem 1.25rem 0; gap: .75rem; }
  .menu-item-name { font-size: 1.3rem; }
  .menu-item-price { font-size: 1.2rem; padding-left: 0; }
  .menu-divider,
  .menu-item:not(:has(.menu-item-img)) .menu-divider { margin: .7rem 1.25rem; }
  .menu-item-desc,
  .menu-item:not(:has(.menu-item-img)) .menu-item-desc { padding: 0 1.25rem 1.4rem; font-size: .85rem; }
}
@media (max-width: 480px) {
  .logo { font-size: 1.35rem; letter-spacing: .12em; gap: .5rem; }
  .nav-logo { width: 40px; height: 40px; }
  .nav-right { gap: .6rem; }
  .hero-ornament { width: 300px; height: 300px; }
  .hero-tag { letter-spacing: .3em; }
  .hero-sub { letter-spacing: .15em; line-height: 1.7; }
  .section-label { letter-spacing: .3em; }
  .btn-gold, .btn-outline { padding: 1rem 1.5rem; }
  .gallery-slide { width: 200px; height: 144px; }
  .contact-card, .contact-card--phone { max-width: 100%; }
  .contact-card--phone .phone-link { font-size: 1.4rem; }
  .social-row { margin-top: 2.5rem; }
  .social-btn { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-track, .hero-ornament, .hero-ornament::before, .scroll-line::after { animation: none; }
  .hero-tag, .hero-title, .hero-sub, .hero-cta, .scroll-line { animation-duration: .01s; animation-delay: 0s; }
}
