/* Konoba Time4wine — mobile first */
:root {
  --bg-deep: #0f0a09;
  --bg-card: #1a1210;
  --bg-elevated: #241a17;
  --text: #f4ebe4;
  --text-muted: #b9a99a;
  --accent: #c45c3e;
  --accent-soft: rgba(196, 92, 62, 0.15);
  --gold: #d4a574;
  --gold-dim: rgba(212, 165, 116, 0.35);
  --border: rgba(244, 235, 228, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --header-h: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: var(--safe-top);
  background: linear-gradient(to bottom, rgba(15, 10, 9, 0.92) 0%, rgba(15, 10, 9, 0.75) 70%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--gold);
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-elevated);
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav {
  position: fixed;
  inset: 0;
  top: calc(var(--header-h) + var(--safe-top));
  background: rgba(15, 10, 9, 0.97);
  backdrop-filter: blur(16px);
  padding: 1.5rem 1.25rem 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--gold);
}

.nav-cta {
  margin-top: 0.5rem;
  padding: 1rem 1.25rem !important;
  text-align: center;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius);
  border: none !important;
}

.nav-cta:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff !important;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    inset: auto;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-list a {
    padding: 0.5rem 0.85rem;
    font-size: 0.9375rem;
    border: none;
    border-radius: 0.5rem;
  }

  .nav-list a:hover {
    background: var(--accent-soft);
    text-decoration: none;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.25rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + var(--safe-top) + 2rem) 1.25rem calc(3rem + var(--safe-bottom));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(196, 92, 62, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 80% 20%, rgba(212, 165, 116, 0.12) 0%, transparent 45%),
    linear-gradient(165deg, #1a0f0c 0%, #0f0a09 40%, #120d0b 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 32ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.9375rem;
}

.rating-stars {
  color: var(--gold);
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.rating-num {
  font-weight: 600;
  color: var(--text);
}

.rating-count {
  color: var(--text-muted);
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: calc(1.25rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1.5rem;
  height: 2.25rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  opacity: 0.5;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto 0;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

@media (min-width: 900px) {
  .hero {
    justify-content: center;
    padding-left: clamp(2rem, 8vw, 5rem);
  }

  .hero-scroll {
    display: none;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 36ch;
  font-size: 1.0625rem;
}

/* Features */
.features {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.feature-icon {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Offer */
.offer {
  border-top: 1px solid var(--border);
}

.offer-chips {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.offer-chips li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 999px;
  border: 1px solid rgba(196, 92, 62, 0.25);
}

.offer-text {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 0 1.5rem;
}

/* Hours */
.hours {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
}

.hours-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .hours-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hours-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
}

.hours-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.hours-range {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.hours-days {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.hours-block--accent {
  border-color: rgba(212, 165, 116, 0.25);
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(196, 92, 62, 0.08) 100%);
}

/* Location */
.location {
  border-top: 1px solid var(--border);
  padding-bottom: calc(4rem + var(--safe-bottom));
}

.location-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .location-inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: 3rem;
  }
}

.location-landmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.location-note {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .location-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.map-fallback-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 calc(2rem + var(--safe-bottom));
  background: var(--bg-card);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-weight: 500;
  font-size: 0.9375rem;
}
