/* ============================================
   ARTIVO AI — Premium Restaurant/Café Template
   Palette: charcoal / cream / gold
   ============================================ */
:root {
  --bg: #0e0d0b;
  --bg-2: #161411;
  --bg-3: #1e1b17;
  --cream: #f3ede3;
  --cream-dim: #c9c1b2;
  --gold: #c9a35c;
  --gold-light: #e0c185;
  --line: rgba(201, 163, 92, 0.25);
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); transition: transform .15s; }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid var(--gold);
  opacity: .5; transition: transform .2s ease-out, width .25s, height .25s, opacity .25s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; opacity: .9; background: rgba(201,163,92,.08); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; background: var(--bg); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s ease, visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--serif); font-size: 42px; letter-spacing: 4px;
  color: var(--gold); display: block; margin-bottom: 18px;
  animation: fadePulse 1.6s ease infinite alternate;
}
.preloader-line {
  display: block; width: 0; height: 1px; background: var(--gold);
  margin: 0 auto; animation: lineGrow 1.8s ease forwards;
}
@keyframes fadePulse { from { opacity: .5; } to { opacity: 1; } }
@keyframes lineGrow { to { width: 160px; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 26px 0; transition: all .4s ease;
}
.nav.scrolled {
  padding: 14px 0; background: rgba(14, 13, 11, .9);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  letter-spacing: 3px; color: var(--cream); text-transform: uppercase;
}
.nav-logo-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cream-dim); position: relative; transition: color .3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold); padding: 10px 24px; color: var(--gold) !important;
  transition: all .35s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }
.nav-burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.nav-burger span { width: 26px; height: 2px; background: var(--cream); transition: all .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,.35) 45%, rgba(14,13,11,.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; }
.hero-kicker {
  font-size: 13px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(52px, 9vw, 108px);
  font-weight: 500; line-height: 1.05; letter-spacing: 1px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  margin: 28px auto 40px; max-width: 560px; color: var(--cream-dim);
  font-size: 17px; font-weight: 300;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.reveal-hero { opacity: 0; transform: translateY(34px); animation: heroIn 1.1s cubic-bezier(.22,1,.36,1) forwards; }
.reveal-hero:nth-child(1) { animation-delay: .9s; }
.reveal-hero:nth-child(2) { animation-delay: 1.05s; }
.reveal-hero:nth-child(3) { animation-delay: 1.25s; }
.reveal-hero:nth-child(4) { animation-delay: 1.45s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 1px; height: 64px; background: rgba(243,237,227,.18); overflow: hidden;
}
.hero-scroll span {
  position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
  background: var(--gold); animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop { 0% { top: -40%; } 100% { top: 110%; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 38px; font-family: var(--sans);
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  transition: all .4s ease; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: #14120e; }
.btn-gold:hover { background: transparent; border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(243,237,227,.4); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--gold); overflow: hidden; padding: 14px 0;
  transform: rotate(-.6deg) scale(1.02); margin: -20px 0 0;
  position: relative; z-index: 3;
}
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: marqueeMove 22s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: #14120e; letter-spacing: 2px; text-transform: uppercase;
}
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.section-kicker {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 600;
}
.section-kicker.center { text-align: center; }
.section-title {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 56px);
  font-weight: 500; line-height: 1.15; margin-bottom: 28px;
}
.section-title.center { text-align: center; }

/* ---------- Story ---------- */
.story { background: var(--bg-2); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-media { position: relative; }
.story-img-main { overflow: hidden; }
.story-img-main img { height: 560px; width: 100%; object-fit: cover; transition: transform 1.2s ease; }
.story-media:hover .story-img-main img { transform: scale(1.05); }
.story-img-accent {
  position: absolute; right: -40px; bottom: -50px; width: 240px; height: 240px;
  border: 10px solid var(--bg-2); overflow: hidden;
}
.story-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.story-text p { color: var(--cream-dim); margin-bottom: 20px; font-weight: 300; }
.story-signature { margin-top: 36px; }
.signature-name {
  font-family: var(--serif); font-size: 30px; font-style: italic;
  color: var(--gold-light); display: block;
}
.signature-role { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-dim); }

/* ---------- Stats ---------- */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num {
  font-family: var(--serif); font-size: 54px; color: var(--gold-light); display: block; line-height: 1;
}
.stat-num::after { content: '+'; font-size: 30px; vertical-align: super; }
.stat-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-dim); }

/* ---------- Menu ---------- */
.menu { background: var(--bg); }
.menu-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 40px 0 56px; }
.menu-tab {
  background: none; border: 1px solid var(--line); color: var(--cream-dim);
  padding: 11px 26px; font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; transition: all .35s;
}
.menu-tab:hover { border-color: var(--gold); color: var(--gold-light); }
.menu-tab.active { background: var(--gold); border-color: var(--gold); color: #14120e; font-weight: 700; }
.menu-panel { display: none; max-width: 820px; margin: 0 auto; }
.menu-panel.active { display: block; animation: panelIn .6s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.menu-item {
  display: flex; align-items: baseline; gap: 14px; padding: 22px 0;
  border-bottom: 1px solid rgba(243,237,227,.08);
}
.menu-item-info { flex: 1; }
.menu-item-name {
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--cream);
  display: inline-block;
}
.menu-item-badge {
  display: inline-block; margin-left: 10px; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold);
  padding: 2px 9px; vertical-align: middle;
}
.menu-item-desc { font-size: 14px; color: var(--cream-dim); font-weight: 300; margin-top: 4px; }
.menu-dots { flex: 1; border-bottom: 1px dotted rgba(201,163,92,.4); min-width: 30px; }
.menu-item-price { font-family: var(--serif); font-size: 24px; color: var(--gold-light); white-space: nowrap; }
.menu-cta { text-align: center; margin-top: 52px; }

/* ---------- Feature banner ---------- */
.feature-banner {
  position: relative; padding: 150px 0; text-align: center; overflow: hidden;
}
.feature-bg { position: absolute; inset: 0; }
.feature-bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.feature-bg::after {
  content: ''; position: absolute; inset: 0; background: rgba(14,13,11,.78);
}
.feature-content { position: relative; z-index: 2; max-width: 820px; }
.feature-content h2 {
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 50px);
  font-style: italic; font-weight: 500; line-height: 1.3; color: var(--cream);
}
.feature-content p { margin-top: 22px; color: var(--gold-light); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-2); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px;
  gap: 14px; margin-top: 50px;
}
.g-item { overflow: hidden; position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease, filter 1s; filter: grayscale(18%); }
.g-item:hover img { transform: scale(1.08); filter: grayscale(0); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); }
.testi-slider { position: relative; max-width: 760px; margin: 40px auto 0; min-height: 240px; }
.testi-card {
  position: absolute; inset: 0; opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease; text-align: center; padding: 20px;
  pointer-events: none;
}
.testi-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.testi-stars { color: var(--gold); font-size: 18px; letter-spacing: 6px; margin-bottom: 22px; }
.testi-quote {
  font-family: var(--serif); font-size: 25px; font-style: italic; line-height: 1.5; color: var(--cream);
}
.testi-author { margin-top: 26px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(243,237,227,.25);
  border: none; cursor: pointer; transition: all .3s; padding: 0;
}
.testi-dot.active { background: var(--gold); transform: scale(1.35); }

/* ---------- Visit ---------- */
.visit { background: var(--bg-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.visit-block { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(243,237,227,.08); }
.visit-block h4 {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.visit-block p { color: var(--cream-dim); font-weight: 300; }
.visit-block a:hover { color: var(--gold-light); }
.visit-social { display: flex; gap: 24px; }
.visit-social a {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-dim);
  border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: all .3s;
}
.visit-social a:hover { color: var(--gold-light); border-color: var(--gold); }
.visit-map { height: 100%; min-height: 460px; filter: grayscale(60%) invert(90%) hue-rotate(180deg); }
.visit-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-inner { max-width: 720px; }
.contact-form { margin-top: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row:nth-of-type(2) { grid-template-columns: 1fr 1fr 1fr; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: var(--bg-3); border: 1px solid rgba(243,237,227,.12);
  color: var(--cream); padding: 16px 18px; font-family: var(--sans); font-size: 15px;
  transition: border-color .3s; -webkit-appearance: none; border-radius: 0;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact-form textarea { margin-bottom: 16px; resize: vertical; }
.form-note { text-align: center; margin-top: 18px; font-size: 14px; color: var(--cream-dim); }
.form-note a { color: var(--gold-light); }

/* ---------- Footer ---------- */
.footer { background: #0a0906; border-top: 1px solid var(--line); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 56px; }
.footer-logo {
  font-family: var(--serif); font-size: 30px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cream); display: block; margin-bottom: 14px;
}
.footer-brand p { color: var(--cream-dim); font-weight: 300; max-width: 320px; }
.footer-col h5 {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col a, .footer-col span { display: block; color: var(--cream-dim); font-size: 14px; margin-bottom: 10px; font-weight: 300; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(243,237,227,.08); padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  max-width: 1200px; margin: 0 auto; font-size: 13px; color: rgba(243,237,227,.45);
}
.powered { color: var(--gold); }
.powered:hover { color: var(--gold-light); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .story-grid, .visit-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-img-accent { right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(10,9,6,.98); flex-direction: column;
    justify-content: center; gap: 30px; transform: translateX(100%); transition: transform .45s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 17px; }
  .nav-burger { display: flex; z-index: 1001; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .form-row, .form-row:nth-of-type(2) { grid-template-columns: 1fr; }
  .story-img-main img { height: 420px; }
  .story-img-accent { width: 170px; height: 170px; bottom: -30px; }
  .g-wide { grid-column: span 2; }
  .footer-bottom { justify-content: center; text-align: center; }
}
