*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #fff9f3;
  --bg-strong: #fff2e8;
  --ink: #2b1d14;
  --muted: #7a5f50;
  --accent: #b35a2a;
  --accent-strong: #8f441f;
  --card: #ffffff;
  --shadow: 0 20px 40px rgba(43, 29, 20, 0.15);
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  animation: pageFade 1.2s ease both;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 22px rgba(179, 90, 42, 0.3);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(179, 90, 42, 0.35);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.4),
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: translateX(120%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 243, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(43, 29, 20, 0.08);
}

.portfolio-banner {
  background: #1f120b;
  color: #f6ede5;
  font-size: 0.85rem;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.portfolio-banner a {
  color: #f6ede5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(43, 29, 20, 0.2);
}

.logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  width: 36px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  animation: heroReveal 1.4s ease both;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(20, 10, 5, 0.72),
    rgba(20, 10, 5, 0.35)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 26px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  animation: sectionFloat 1.2s ease both;
}

.about h2,
.section-heading h2,
.reservations h2,
.contact h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 16px;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.about-circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading {
  margin-bottom: 36px;
  animation: sectionFloat 1.1s ease both;
}

.menu {
  background: var(--bg-strong);
}

.menu-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab {
  border: 1px solid rgba(179, 90, 42, 0.25);
  background: #fff;
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab.active,
.tab:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.menu-panels {
  position: relative;
}

.menu-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  animation: fadeUp 0.5s ease;
}

.menu-panel.active {
  display: grid;
}

.menu-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardRise 1.1s ease both;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(43, 29, 20, 0.18);
}

.menu-card img {
  height: 180px;
  object-fit: cover;
}

.menu-card-body {
  padding: 20px;
  flex: 1;
}

.menu-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.menu-card-header span {
  font-weight: 600;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-item {
  border: none;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  animation: cardRise 1.2s ease both;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.reservations {
  background: #fff;
}

.reservations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.hours-card {
  margin-top: 28px;
  background: var(--bg-strong);
  padding: 20px;
  border-radius: 16px;
}

.reservation-form {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: sectionFloat 1.3s ease both;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(43, 29, 20, 0.15);
  font-size: 0.95rem;
}

input:focus,
select:focus {
  outline: 2px solid rgba(179, 90, 42, 0.4);
  border-color: transparent;
}

.contact {
  background: var(--bg-strong);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.contact-card,
.map-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: cardRise 1.2s ease both;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-info a {
  color: var(--accent);
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.socials a {
  background: var(--bg-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 16px;
}

.site-footer {
  padding: 28px 0 40px;
  background: #1f120b;
  color: #f6ede5;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-image {
  width: min(90vw, 900px);
  max-height: 80vh;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionFloat {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.menu-card:nth-child(1),
.gallery-item:nth-child(1) {
  animation-delay: 0.05s;
}

.menu-card:nth-child(2),
.gallery-item:nth-child(2) {
  animation-delay: 0.12s;
}

.menu-card:nth-child(3),
.gallery-item:nth-child(3) {
  animation-delay: 0.2s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.28s;
}

.gallery-item:nth-child(5) {
  animation-delay: 0.36s;
}

.gallery-item:nth-child(6) {
  animation-delay: 0.44s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    background: rgba(255, 249, 243, 0.96);
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 72vh;
  }

  .header-inner {
    gap: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .menu-card img {
    height: 150px;
  }

  .reservation-form {
    padding: 22px;
  }

  .map-card iframe {
    min-height: 240px;
  }
}
