/* ==========================================================================
   Mabel Coffee — Aşk Dolu
   ========================================================================== */

:root {
  --brown: #4c2e2e;
  --brown-deep: #35201f;
  --brown-soft: #6b4a44;
  --cream: #f5ede4;
  --cream-warm: #efe3d3;
  --latte: #c9a87c;
  --amber: #d99a4e;
  --ink: #2c1d1a;
  --white: #fffaf4;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* ---------- Tipografi ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.eyebrow--light { color: var(--latte); }

.title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 1.4rem;
}

.title em {
  font-style: italic;
  color: var(--amber);
}

.title--light { color: var(--cream); }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
}

.btn--solid {
  background: var(--amber);
  color: var(--brown-deep);
  box-shadow: 0 8px 24px rgba(217, 154, 78, 0.35);
}

.btn--solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(217, 154, 78, 0.45);
}

.btn--ghost {
  border: 1.5px solid rgba(255, 250, 244, 0.7);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 250, 244, 0.12);
  transform: translateY(-3px);
}

.btn--lg { padding: 1.05rem 2.8rem; font-size: 1rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}

/* Arka planı ::before'a veriyoruz: nav'ın kendisinde backdrop-filter olsaydı
   içindeki fixed mobil menünün kapsayıcı bloğu nav olurdu. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 237, 228, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(53, 32, 31, 0.12);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.nav--solid { padding: 0.65rem 0; }

.nav--solid::before { opacity: 1; }

.nav__inner {
  position: relative;
  width: min(1240px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img { height: 44px; width: auto; transition: height 0.4s var(--ease); }
.nav--solid .nav__logo-img { height: 38px; }

.nav__logo-img--dark { display: none; }
.nav--solid .nav__logo-img--dark { display: block; }
.nav--solid .nav__logo-img--light { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  position: relative;
  transition: color 0.3s;
}

.nav--solid .nav__link { color: var(--brown); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--brown-deep);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 154, 78, 0.4);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s, background 0.3s;
}

.nav--solid .nav__burger span { background: var(--brown); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg img {
  animation: heroZoom 18s var(--ease) both;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(23, 15, 20, 0.55) 0%, rgba(23, 15, 20, 0.25) 40%, rgba(30, 18, 20, 0.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(420px, 72vw);
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.45));
}

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--amber);
  margin-top: 0.6rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(255, 250, 244, 0.6);
  border-radius: 999px;
  display: flex;
  justify-content: center;
}

.hero__scroll span {
  width: 3px;
  height: 9px;
  background: var(--cream);
  border-radius: 3px;
  margin-top: 8px;
  animation: scrollHint 2s infinite var(--ease);
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Hakkımızda ---------- */

.about { background: var(--cream); }

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about__text p:not(.eyebrow) {
  margin-bottom: 1.1rem;
  color: #5d4a42;
  font-size: 1.02rem;
}

.about__features {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about__features li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brown);
}

.about__features svg {
  width: 30px;
  height: 30px;
  color: var(--amber);
}

.about__media {
  position: relative;
  padding: 0 2.5rem 2.5rem 0;
}

.about__img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(53, 32, 31, 0.25);
}

.about__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img--main {
  aspect-ratio: 4 / 5;
}

.about__img--accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--cream);
  border-radius: 16px;
}

/* ---------- Video Şeridi ---------- */

.reels {
  background:
    radial-gradient(120% 130% at 50% -20%, var(--brown-soft) 0%, var(--brown-deep) 55%);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  overflow: hidden;
}

.reels .title { margin-bottom: 2.6rem; }

.reels__track {
  display: flex;
  gap: 1.4rem;
  padding: 0.5rem max(4%, calc((100vw - 1160px) / 2)) 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--latte) transparent;
}

.reels__track::-webkit-scrollbar { height: 6px; }
.reels__track::-webkit-scrollbar-thumb {
  background: var(--brown-soft);
  border-radius: 3px;
}

.reel {
  flex: 0 0 clamp(220px, 24vw, 290px);
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s var(--ease);
}

.reel:hover { transform: translateY(-8px); }

.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(23, 13, 12, 0.85), transparent);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Menü ---------- */

.menu { background: var(--cream-warm); }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.menu-card {
  background: var(--white);
  border: 1px solid rgba(76, 46, 46, 0.08);
  border-radius: 18px;
  padding: 2.1rem 1.8rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(76, 46, 46, 0.16);
  border-color: rgba(217, 154, 78, 0.5);
}

.menu-card svg {
  width: 38px;
  height: 38px;
  color: var(--amber);
  margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease);
}

.menu-card:hover svg { transform: scale(1.12) rotate(-4deg); }

.menu-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.45rem;
}

.menu-card p {
  font-size: 0.9rem;
  color: #6e5a50;
  line-height: 1.6;
}

.menu__cta {
  text-align: center;
  margin-top: 3.2rem;
}

.menu__cta p {
  color: #6e5a50;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

/* ---------- İletişim ---------- */

.contact {
  background:
    radial-gradient(130% 140% at 50% 120%, var(--brown-soft) 0%, var(--brown-deep) 60%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: 2.6rem;
  align-items: start;
}

.contact__item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.contact__item > svg {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: var(--amber);
  margin-top: 0.2rem;
}

.contact__item h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.contact__item p {
  color: rgba(245, 237, 228, 0.82);
  font-size: 0.95rem;
}

.contact__item strong {
  color: var(--latte);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.contact__link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.contact__link:hover { opacity: 0.75; }

.contact__social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(245, 237, 228, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.3s;
}

.contact__social a:hover { color: var(--amber); }

.contact__social svg { width: 20px; height: 20px; }

.contact__map {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4 / 3;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9);
}

/* ---------- Footer ---------- */

.footer {
  background: #241413;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.footer__logo {
  height: 52px;
  width: auto;
  margin-inline: auto;
  opacity: 0.95;
}

.footer__script {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--amber);
  margin-top: 0.4rem;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.footer__nav a {
  color: rgba(245, 237, 228, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer__nav a:hover { color: var(--amber); }

.footer__copy {
  margin-top: 1.8rem;
  color: rgba(245, 237, 228, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.goreel {
  position: relative;
  height: 20px;
  width: 23px;
  transition: 0.4s;
  background: url(https://api.goreel.com.tr/images/l_dark.png) left no-repeat;
  background-size: cover;
  display: block;
  margin: 1.2rem auto 0;
}

.goreel:hover { width: 60px; }

/* ---------- Reveal animasyonu ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin-inline: auto; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { aspect-ratio: 16 / 10; }
}

@media (max-width: 700px) {
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(36, 20, 19, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links .nav__link,
  .nav--solid .nav__links .nav__link {
    color: var(--cream);
    font-size: 1.25rem;
  }

  .nav--solid .nav__burger.is-open span,
  .nav__burger.is-open span { background: var(--cream); }

  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu__grid { grid-template-columns: 1fr; }

  .reel { flex-basis: min(66vw, 260px); }

  .hero__actions .btn { width: min(280px, 80vw); text-align: center; }
}
