/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --burg-700: #971233;
  --burg-800: #7d1131;
  --burg-900: #6a122e;
  --blush-200: #ffd1d9;
  --cream: #FFF8F0;
  --nav-height: 72px;
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(151, 18, 51, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 30px rgba(106, 18, 46, 0.08);
}
.nav__inner {
  height: var(--nav-height);
}
.nav__logo {
  transition: transform 0.2s ease;
}
.nav__logo:hover { transform: scale(1.03); }
.nav__logo-icon { flex-shrink: 0; }
.nav__link {
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #B91D44;
  transition: width 0.3s ease;
}
.nav__link:hover::after,
.nav__link:focus::after { width: 100%; }
.nav__cta {
  box-shadow: 0 4px 14px rgba(151, 18, 51, 0.3);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.nav__cta:hover {
  box-shadow: 0 6px 20px rgba(151, 18, 51, 0.4);
  transform: translateY(-1px);
}

/* Burger */
.nav__burger { border: 1px solid rgba(125, 17, 49, 0.15); }
.burger__line { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav__burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger[aria-expanded="true"] .burger__line:nth-child(3) {
  width: 24px;
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
}
.nav__mobile.open { max-height: 400px; }
.mobile-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:hover { color: #F9CDD7; padding-left: 8px; }
.mobile-link:last-child { border-bottom: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #3a0714;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 7, 20, 0.92) 0%,
    rgba(106, 18, 46, 0.82) 40%,
    rgba(151, 18, 51, 0.70) 70%,
    rgba(185, 29, 68, 0.60) 100%
  );
}
.hero__content {
  padding-top: var(--nav-height);
  padding-bottom: 80px;
}
.hero__badge {
  animation: fadeInDown 0.8s ease both;
}
.hero__headline {
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero__sub {
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero__actions {
  animation: fadeInUp 0.8s ease 0.45s both;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease 0.7s both;
}
.scroll__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll__text {
  letter-spacing: 0.15em;
}

/* Hero geometric shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  opacity: 0.12;
}
.shape--circle1 {
  width: 600px; height: 600px;
  border-radius: 50%;
  background: #F9CDD7;
  top: -200px; right: -150px;
  animation: floatSlow 12s ease-in-out infinite;
}
.shape--circle2 {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: #FFD1D9;
  bottom: -80px; left: 10%;
  animation: floatSlow 9s ease-in-out infinite reverse;
}
.shape--rect1 {
  width: 120px; height: 120px;
  background: #F9CDD7;
  top: 30%; left: 5%;
  border-radius: 24px;
  transform: rotate(35deg);
  animation: floatSlow 10s ease-in-out infinite;
}
.shape--rect2 {
  width: 80px; height: 80px;
  background: #FFD1D9;
  bottom: 20%; right: 8%;
  border-radius: 16px;
  transform: rotate(-20deg);
  animation: floatSlow 8s ease-in-out infinite reverse;
}
.shape--dot-grid {
  width: 120px; height: 120px;
  top: 20%; right: 25%;
  background-image: radial-gradient(circle, #F9CDD7 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.3;
  animation: floatSlow 11s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 60px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}
.btn--primary {
  background: #B91D44;
  color: #fff;
  border-color: #B91D44;
  box-shadow: 0 8px 30px rgba(185, 29, 68, 0.35);
}
.btn--primary:hover {
  background: #971233;
  border-color: #971233;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(185, 29, 68, 0.45);
}
.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline {
  background: transparent;
  color: #971233;
  border-color: #971233;
}
.btn--outline:hover {
  background: #971233;
  color: #fff;
  transform: translateY(-2px);
}
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}
.section--about { background: var(--cream); }
.section--menu { background: #FDF2F4; }
.section--vibe { background: var(--cream); padding-bottom: 60px; }
.section--visit { background: #FDF2F4; }

.section-label {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #B91D44;
  background: linear-gradient(135deg, #F9CDD7 0%, #FFD1D9 100%);
  padding: 6px 16px;
  border-radius: 40px;
}
.section-label--light {
  color: #F9CDD7;
  background: rgba(255,255,255,0.12);
}

/* ===== ABOUT ===== */
.about__img-grid {
  position: relative;
  min-height: 620px;
}
.about__img {
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(106, 18, 46, 0.15);
}
.about__img--main {
  width: 75%;
  position: relative;
  z-index: 2;
}
.about__img--float {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  z-index: 3;
  border: 4px solid var(--cream);
  box-shadow: 0 16px 48px rgba(106, 18, 46, 0.2);
}
.about__shape {
  position: absolute;
  top: -40px;
  right: 40%;
  z-index: 1;
  opacity: 0.6;
}

/* Stats */
.stat { display: flex; flex-direction: column; }
.stat__num { line-height: 1; }
.stat__label { line-height: 1.4; }

/* ===== MENU CARDS ===== */
.menu-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(106, 18, 46, 0.06);
  border: 1px solid rgba(151, 18, 51, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(106, 18, 46, 0.12);
}
.menu-card--coffee .menu-card__icon { background: linear-gradient(135deg, #F9CDD7, #F49FB5); border-radius: 16px; padding: 16px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.menu-card--drinks .menu-card__icon { background: linear-gradient(135deg, #FDF2F4, #FCE7EB); border-radius: 16px; padding: 16px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.menu-card--food .menu-card__icon { background: linear-gradient(135deg, #F9CDD7, #F49FB5); border-radius: 16px; padding: 16px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.menu-card--specials .menu-card__icon { background: linear-gradient(135deg, #FDF2F4, #FCE7EB); border-radius: 16px; padding: 16px; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.menu-card__title { margin-top: 20px; }
.menu-card__list { margin-top: 16px !important; }
.menu-card__dot { width: 6px; height: 6px; flex-shrink: 0; margin-top: 8px; }
.menu-card__list li {
  font-size: 0.95rem;
  color: #6a122e;
  line-height: 1.5;
}

/* ===== VIBE GALLERY ===== */
.vibe-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(106, 18, 46, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.vibe-img-wrap:hover { transform: scale(1.02); }
.vibe-img-wrap--tall { grid-row: span 2; }
.vibe__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.vibe-img-wrap:hover .vibe__img { transform: scale(1.08); }

/* ===== INFO BLOCKS ===== */
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-block__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #F9CDD7, #F49FB5);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-block__value a { text-decoration: none; }

/* Hours table */
.hours-table {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(106, 18, 46, 0.06);
  border: 1px solid rgba(151, 18, 51, 0.06);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(151, 18, 51, 0.06);
  font-size: 0.95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 500; color: #6a122e; }
.hours-time { color: #971233; font-weight: 600; }
.hours-row--highlight .hours-day { color: #B91D44; font-weight: 700; }
.hours-row--highlight .hours-time { color: #B91D44; }

/* Map */
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(106, 18, 46, 0.12);
  border: 4px solid #fff;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #3a0714 0%, #6a122e 50%, #971233 100%);
  padding: 100px 0;
  overflow: hidden;
}
.cta-banner__shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; }
.cta-shape--1 {
  width: 500px; height: 500px;
  background: rgba(249, 205, 215, 0.08);
  top: -200px; left: -100px;
}
.cta-shape--2 {
  width: 300px; height: 300px;
  background: rgba(255, 209, 217, 0.06);
  bottom: -100px; right: 10%;
}
.cta-shape--3 {
  width: 150px; height: 150px;
  background: rgba(249, 205, 215, 0.1);
  top: 20%; right: 25%;
  border-radius: 32px;
  transform: rotate(45deg);
}
.cta-banner__inner { padding-top: 0; padding-bottom: 0; }

/* ===== FOOTER ===== */
.footer {
  background: #1a0308;
  color: #fff;
  padding: 60px 0 0;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===== REVEAL ANIMATIONS (progressive enhancement) ===== */
/* Default: all elements visible */
.reveal { opacity: 1; transform: none; }

/* When JS is enabled and prefers-reduced-motion allows, these get animated */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal.delay-1 { transition-delay: 0.1s; }
.js .reveal.delay-2 { transition-delay: 0.2s; }
.js .reveal.delay-3 { transition-delay: 0.3s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .shape { animation: none !important; }
  .scroll__line { animation: none !important; }
  .hero__badge, .hero__headline, .hero__sub, .hero__actions, .hero__scroll { animation: none !important; opacity: 1; }
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rot, 0deg)); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .hero__headline { font-size: 2.5rem; }
  .hero__sub { font-size: 1rem; }
  .about__img-grid { min-height: 400px; }
  .about__img--float { width: 60%; bottom: -20px; }
  .menu-card { padding: 24px 20px; }
  .cta-banner { padding: 72px 0; }
  .cta-banner__headline { font-size: 2rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section { padding: 80px 0; }
  .hero__headline { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .hero__headline { font-size: 4.5rem; }
}
