/* ============================================================
   Quzine Kahvaltı Evi — style.css
   ============================================================ */

/* ── RESET & TOKENS ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:      #F5F0E8;
  --bg2:     #EDE8DC;
  --black:   #1A1614;
  --gray:    #6B6560;
  --lgray:   #B5B0A8;
  --accent:  #C8392B;
  --wa:      #25D366;
  --white:   #FDFAF4;
  --nav-h:   68px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
}

/* ── KEYFRAMES ── */
@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 22, 20, 0.07);
}

/* Logo */
.logo {
  text-decoration: none;
  display: block;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-hamburger {
  display: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 56px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid rgba(26, 22, 20, 0.1);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  opacity: 0;
  animation: up 0.5s 0.05s forwards;
}

.stars {
  color: #E8A020;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.hero-h {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: 0.92;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
  opacity: 0;
  animation: up 0.6s 0.15s forwards;
}

.hero-h em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 10px;
  opacity: 0;
  animation: up 0.5s 0.28s forwards;
}

.hero-loc {
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lgray);
  margin-bottom: 40px;
  opacity: 0;
  animation: up 0.5s 0.36s forwards;
}

.hero-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: up 0.5s 0.44s forwards;
}

/* ── BUTTONS ── */
.btn-fill {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.btn-fill:hover {
  background: #2d2826;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-green:hover {
  opacity: 0.87;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--black);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid rgba(26, 22, 20, 0.22);
  display: inline-block;
  white-space: nowrap;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-ghost:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  padding: 28px 0;
  margin-top: 56px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-top: 1px solid rgba(26, 22, 20, 0.1);
  border-bottom: 1px solid rgba(26, 22, 20, 0.1);
  opacity: 0;
  animation: up 0.6s 0.6s forwards;
}

.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.tick-img {
  width: 220px;
  height: 155px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.tick-img:hover {
  transform: scale(1.04);
}

.tick-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── GENEL BÖLÜMLER ── */
.sec {
  padding: 100px 56px;
}

.si {
  max-width: 1120px;
  margin: 0 auto;
}

.stag {
  font-size: 10.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.sh {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -1px;
}

/* ── REVEAL ANİMASYONLARI ── */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(.16,1,.3,1), transform 0.75s cubic-bezier(.16,1,.3,1);
}
.rv.in { opacity: 1; transform: none; }

.rv-l {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s cubic-bezier(.16,1,.3,1), transform 0.75s cubic-bezier(.16,1,.3,1);
}
.rv-l.in { opacity: 1; transform: none; }

.rv-r {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s cubic-bezier(.16,1,.3,1), transform 0.75s cubic-bezier(.16,1,.3,1);
}
.rv-r.in { opacity: 1; transform: none; }

.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }

/* ── ABOUT ── */
.about-sec { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
}

.about-text p {
  font-size: 15.5px;
  line-height: 1.85;
  color: #5a4f48;
  margin-bottom: 16px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg);
  border-radius: 100px;
  padding: 10px 22px;
  margin-top: 20px;
}

.open-dot {
  width: 7px;
  height: 7px;
  background: #4CAF50;
  border-radius: 50%;
}

.open-badge span { font-size: 13px; font-weight: 500; }

.pull-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
  margin-top: 32px;
  padding-left: 18px;
  position: relative;
  color: var(--black);
}

.pull-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: var(--accent);
}

.about-photos {
  position: relative;
  height: 480px;
}

.ap1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 36px;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
}

.ap2 {
  position: absolute;
  bottom: 0;
  left: 52px;
  right: 0;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
}

.ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: rgba(255,255,255,.35);
  font-size: 13px;
  text-align: center;
}

.ap1 img, .ap2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* ── MENU ── */
.menu-sec { background: var(--bg); }

.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 52px;
  min-height: 600px;
}

.menu-list { padding-right: 56px; }

.mcat-section {
  margin-bottom: 0;
  border-top: 1px solid rgba(26,22,20,.1);
  padding: 32px 0;
}

.mcat-section:last-child { border-bottom: 1px solid rgba(26,22,20,.1); }

.mcat-name {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--black);
}

.mcat-sub {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mcat-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--black);
  opacity: 0.78;
  margin-top: -10px;
  margin-bottom: 22px;
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
}

.menu-items { list-style: none; }

.menu-items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,22,20,.05);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.menu-items li:last-child { border: none; }
.menu-items li:hover .mi-name { color: var(--accent); }

.mi-name {
  flex: 1;
  color: var(--black);
  font-weight: 400;
  transition: color 0.2s;
}

.mi-price {
  font-weight: 600;
  font-size: 13px;
  margin-left: 16px;
  white-space: nowrap;
  color: var(--black);
}

.mi-desc {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
  font-weight: 300;
}

/* Sticky photo panel */
.menu-photo-panel {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  height: fit-content;
}

.mphoto {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.mphoto-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}

.mphoto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mphoto-label {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 100px;
  padding: 8px 20px;
  margin: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

/* ── GALLERY ── */
.gallery-sec { background: var(--black); padding: 100px 56px; }

.gallery-head { max-width: 1120px; margin: 0 auto 52px; }
.gallery-head .stag { color: rgba(245,240,232,.35); }
.gallery-head .sh  { color: var(--bg); }

.gallery-masonry {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gcell {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gcell:nth-child(2) { margin-top: 28px; }
.gcell:nth-child(5) { margin-top: -28px; }

.gcell-inner {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}

.gcell-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}

.gcell:hover .gcell-inner img { transform: scale(1.07); }

/* ── BASIN / NEWS ── */
.news-sec { background: var(--white); }

.news-intro {
  font-size: 16px;
  color: var(--gray);
  font-weight: 300;
  margin-top: 12px;
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  text-decoration: none;
  color: var(--black);
  display: block;
  cursor: pointer;
}

.news-img {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}

.news-card:hover .news-img img { transform: scale(1.04); }

.news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.news-source {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-dot  { color: var(--lgray); font-size: 12px; }
.news-date { font-size: 12px; color: var(--gray); }

.news-title {
  font-family: 'Instrument Serif', serif;
  font-size: 21px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
}

.news-excerpt {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
  font-weight: 300;
}

.news-arrow { font-size: 13px; font-weight: 600; color: var(--black); }
.news-card:hover .news-arrow { color: var(--accent); }

/* ── CONTACT ── */
.contact-sec { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 52px;
  align-items: start;
}

.ci { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ci-lbl {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 3px;
}

.ci-val { font-size: 14.5px; color: var(--black); line-height: 1.55; }
.ci-val a { color: var(--black); text-decoration: none; }
.ci-val a:hover { color: var(--accent); }

.wa-block {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 18px 22px;
  border-radius: 14px;
  margin-top: 6px;
  transition: background 0.2s;
}

.wa-block:hover { background: #2d2826; }

.wa-ico {
  width: 42px;
  height: 42px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-ico svg { width: 20px; height: 20px; fill: #fff; }

.wa-main { font-size: 14px; font-weight: 600; color: var(--white); }
.wa-hint { font-size: 11.5px; color: rgba(253,250,244,.45); margin-top: 1px; }

.map-wrap { border-radius: 20px; overflow: hidden; height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-addr { margin-top: 11px; font-size: 12px; color: var(--gray); letter-spacing: .5px; }

/* ── FOOTER ── */
footer { background: var(--black); padding: 68px 56px 36px; }

.ft { max-width: 1120px; margin: 0 auto; }

.ft-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 52px;
}

.ft-logo { margin-bottom: 14px; display: block; }
.ft-logo-img { height: 60px; width: auto; display: block; filter: brightness(0) invert(1); }
.about-tagline { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 22px; color: var(--accent, #b8593f); margin-bottom: 14px; letter-spacing: 1px; }

.ft-slogan {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,240,232,.3);
  margin-bottom: 14px;
}

.ft-hours { font-size: 13.5px; color: rgba(245,240,232,.5); line-height: 1.85; }

.ft-col-t {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,240,232,.28);
  margin-bottom: 16px;
}

.ft-links { list-style: none; }
.ft-links li { margin-bottom: 9px; }
.ft-links a { color: rgba(245,240,232,.5); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.ft-links a:hover { color: var(--bg); }

.ft-bot {
  padding-top: 22px;
  border-top: 1px solid rgba(245,240,232,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ft-copy { font-size: 11.5px; color: rgba(245,240,232,.2); }
.ft-ig a { font-size: 11.5px; color: rgba(245,240,232,.28); text-decoration: none; transition: color 0.2s; }
.ft-ig a:hover { color: var(--bg); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  :root { --nav-h: 62px; }

  nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .logo-img { height: 40px; }

  .hero { padding: calc(var(--nav-h) + 48px) 24px 50px; }
  .hero-h { font-size: clamp(44px, 10vw, 72px); letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; }
  .hero-loc { font-size: 10px; letter-spacing: 2.5px; }

  .sec { padding: 72px 28px; }
  .gallery-sec { padding: 72px 28px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { height: 340px; }

  .menu-layout { grid-template-columns: 1fr; gap: 0; }
  .menu-list { padding-right: 0; }
  .menu-photo-panel { display: none; }

  .news-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ── Mobil (≤640px) ── */
@media (max-width: 640px) {
  :root { --nav-h: 58px; }

  nav { padding: 0 16px; }
  .logo-img { height: 36px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(245,240,232,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid rgba(26,22,20,.08);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }

  .hero {
    padding: calc(var(--nav-h) + 36px) 20px 44px;
    min-height: 100svh;
  }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-h { font-size: clamp(38px, 11vw, 54px); line-height: .92; letter-spacing: -1px; margin-bottom: 18px; }
  .hero-sub { font-size: 13px; margin-bottom: 8px; }
  .hero-loc { font-size: 9px; letter-spacing: 2px; margin-bottom: 28px; }
  .hero-btns {
    gap: 8px;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .btn-fill, .btn-green, .btn-ghost {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  .ticker-wrap { margin-top: 32px; padding: 16px 0; }
  .tick-img { width: 150px; height: 105px; }

  .sec { padding: 56px 20px; }
  .gallery-sec { padding: 56px 20px; }
  .sh { font-size: clamp(32px, 8vw, 46px); letter-spacing: -.5px; }
  .stag { font-size: 9.5px; letter-spacing: 3px; }

  .news-grid { grid-template-columns: 1fr; }

  .ft-top { grid-template-columns: 1fr; gap: 28px; }
  .ft-bot { flex-direction: column; gap: 10px; text-align: center; }
}