/* ===================================================================
   RAKISH · Alaçatı — single page
   Palette taken from the menu artwork: sage green + gold on white
   =================================================================== */

:root {
  --white: #ffffff;
  --cream: #faf9f4;
  --cream-2: #f3f1e9;

  --sage: #7c8e6b;        /* primary brand green */
  --sage-deep: #4f6043;   /* headings / deep green */
  --sage-soft: #a8b69a;   /* light accents */

  --gold: #b8975a;        /* gold accents */
  --gold-soft: #cdb37e;

  --ink: #2c2e29;         /* main text */
  --ink-soft: #6b6e64;    /* muted text */
  --line: #e6e4da;        /* hairlines */

  --shadow: 0 18px 50px -22px rgba(79, 96, 67, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(44, 46, 41, 0.25);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--sage-deep);
  text-align: center;
  letter-spacing: 0.01em;
}

.section-title + p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(124, 142, 107, 0.9);
}
.btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(79, 96, 67, 0.9);
}
.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border-color: var(--sage-soft);
}
.btn-ghost:hover {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 44px; font-size: 0.88rem; margin-top: 14px; }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(0,0,0,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.42em;
  color: var(--sage-deep);
  padding-left: 0.42em; /* optical balance for tracking */
}
.nav-links {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 34px;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  position: relative;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--sage-deep); }
.nav-links a:hover::after { width: 100%; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.mobile-menu.open { max-height: 420px; padding: 12px 24px 26px; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child {
  border: none;
  margin-top: 14px;
  text-align: center;
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(168, 182, 154, 0.18), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  overflow: hidden;
  padding: 110px 0 80px;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 11vw, 6.6rem);
  line-height: 0.98;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  margin: 26px 0 28px;
}
.hero-divider span {
  display: block;
  width: clamp(40px, 12vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.hero-divider span:last-child { background: linear-gradient(90deg, var(--gold-soft), transparent); }

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--ink);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 38px;
  line-height: 1.5;
}
.hero-tagline strong { color: var(--sage); font-weight: 600; letter-spacing: 0.04em; }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* decorative leaves */
.hero-leaf {
  position: absolute;
  width: clamp(160px, 26vw, 360px);
  height: clamp(160px, 26vw, 360px);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
.hero-leaf-left {
  top: 8%; left: -60px;
  transform: rotate(-12deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23a8b69a'%3E%3Cpath d='M40 20 C70 50 90 90 95 150 C70 120 50 80 40 20 Z' opacity='.8'/%3E%3Cpath d='M95 150 C90 110 100 70 130 45 C120 90 115 125 95 150 Z' opacity='.6'/%3E%3Cpath d='M55 70 C80 80 100 95 110 120 C85 115 65 100 55 70 Z' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-leaf-right {
  bottom: 6%; right: -60px;
  transform: rotate(160deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23a8b69a'%3E%3Cpath d='M40 20 C70 50 90 90 95 150 C70 120 50 80 40 20 Z' opacity='.8'/%3E%3Cpath d='M95 150 C90 110 100 70 130 45 C120 90 115 125 95 150 Z' opacity='.6'/%3E%3Cpath d='M55 70 C80 80 100 95 110 120 C85 115 65 100 55 70 Z' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--sage-soft);
  border-radius: 16px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--sage);
  border-radius: 4px;
  animation: scrollDot 1.7s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ===================================================================
   Hakkımızda
   =================================================================== */
.about { background: var(--white); }
.about-inner { text-align: center; }
.about-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
  font-style: italic;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 66px;
}
.feature {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--sage-soft);
}
.feature-icon { font-size: 2rem; display: block; margin-bottom: 16px; }
.feature h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 10px;
}
.feature p { color: var(--ink-soft); font-size: 0.96rem; }

/* ===================================================================
   Menü
   =================================================================== */
.menu { background: var(--cream); }
.menu-inner { text-align: center; }
.menu-sub { color: var(--ink-soft); max-width: 520px; margin: 0 auto; }

/* Tabs */
.menu-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 44px auto 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
}
.menu-tab {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.menu-tab:hover { color: var(--sage-deep); }
.menu-tab.active {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(124, 142, 107, 0.9);
}

/* Panels */
.menu-panels { position: relative; margin-top: 40px; }
.menu-figure {
  margin: 0 auto;
  max-width: 620px;
}
.menu-panel { display: none; animation: fadePanel .45s ease both; }
.menu-panel.active { display: block; }
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.menu-figure a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.menu-figure a:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -28px rgba(79, 96, 67, 0.5);
}
.menu-figure img { width: 100%; }
.menu-figure figcaption {
  margin-top: 18px;
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.menu-cta { margin-top: 40px; }

/* ===================================================================
   Saatler
   =================================================================== */
.hours { background: var(--white); }
.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.hour-card {
  text-align: center;
  padding: 46px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--cream));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hour-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-soft), var(--gold-soft));
}
.hour-icon { font-size: 1.9rem; display: block; margin-bottom: 14px; }
.hour-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 12px;
}
.hour-time {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  color: var(--sage-deep);
}

/* ===================================================================
   İletişim
   =================================================================== */
.contact {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(168, 182, 154, 0.16), transparent 55%),
    var(--cream);
  text-align: center;
}
.contact-text { color: var(--ink-soft); max-width: 540px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 58px 0 44px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}
.contact-icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.contact-card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 10px;
}
.contact-card p {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--sage-deep);
  font-weight: 500;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: var(--sage-deep);
  color: #e8eadf;
  text-align: center;
  padding: 58px 0 40px;
}
.brand-footer {
  color: #fff;
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sage-soft);
  margin-bottom: 22px;
}
.footer-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}
.footer-links a:hover { color: var(--gold-soft); }
.footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(232, 234, 223, 0.6);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  max-width: 360px;
  margin: 0 auto;
}

/* ===================================================================
   Floating reserve (mobile only)
   =================================================================== */
.float-reserve {
  position: fixed;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 14px 30px -12px rgba(79,96,67,0.8);
  z-index: 90;
  display: none;
}

/* ===================================================================
   Reveal-on-scroll
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

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

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .features, .hours-grid, .contact-grid { grid-template-columns: 1fr; }
  .features { margin-top: 48px; }
  .float-reserve { display: inline-block; }
  .scroll-cue { display: none; }
}

@media (max-width: 560px) {
  .menu-tabs {
    display: flex;
    width: 100%;
    border-radius: 12px;
    padding: 4px;
  }
  .menu-tab {
    flex: 1;
    padding: 12px 8px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand { font-size: 1.3rem; letter-spacing: 0.32em; }
  .hero-actions .btn { width: 100%; }
}
