/* ========================================================
   RUBY'S — Southern Brunch & Biscuit Bar
   styles/main.css
   Magazine/Editorial aesthetic — bright, warm, playful
   ======================================================== */

/* ==================== DESIGN TOKENS ==================== */
:root {
  /* Colors */
  --ruby: #C41E3A;
  --ruby-dark: #9B1830;
  --butter: #F5C518;
  --butter-light: #FFF3C4;
  --cream: #FFF8F0;
  --sage: #87A878;
  --sage-dark: #6B8A5E;
  --brown: #5C4033;
  --brown-light: #8B6F5C;
  --charcoal: #2B2B2B;
  --white: #FFFFFF;
  --off-white: #FEFCF8;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Container */
  --container: 1200px;
  --gutter: 1.25rem;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius: 8px;
  --radius-lg: 16px;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--ruby);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--ruby-dark);
}

address {
  font-style: normal;
}

/* ==================== UTILITY ==================== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ruby);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section-heading--light {
  color: var(--cream);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
  text-decoration: none;
}

.btn--primary {
  background: var(--ruby);
  color: var(--white);
  border-color: var(--ruby);
}

.btn--primary:hover {
  background: var(--ruby-dark);
  border-color: var(--ruby-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== TICKER ==================== */
.ticker {
  background: var(--ruby);
  color: var(--white);
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ticker.hidden {
  display: none;
}

.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__text {
  flex-shrink: 0;
  padding-right: 3rem;
}

.ticker__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ticker__close:hover {
  background: rgba(255,255,255,0.35);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--cream);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.header.scrolled {
  background: rgba(255, 248, 240, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header.has-ticker {
  top: 0;
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__logo {
  text-decoration: none;
  color: var(--charcoal);
  flex-shrink: 0;
}

.header__logo-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ruby);
  display: block;
}

.header__logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  display: block;
}

.header__nav {
  display: none;
  gap: 2rem;
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ruby);
  transition: width 0.3s var(--ease);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__cta {
  display: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  background: var(--butter);
  color: var(--charcoal);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}

.header__cta:hover {
  background: #e6b616;
  color: var(--charcoal);
  transform: translateY(-1px);
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ruby);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-menu__nav a:hover {
  opacity: 0.8;
  color: var(--white);
}

.mobile-menu__cta {
  margin-top: 1rem;
  background: var(--butter) !important;
  color: var(--charcoal) !important;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__image-wrap {
  position: relative;
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  padding: var(--space-lg) var(--gutter) var(--space-lg);
  text-align: center;
  position: relative;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.9;
  color: var(--ruby);
  margin-bottom: 0.25rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--charcoal);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__star {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 1rem;
  right: 1rem;
  opacity: 0.15;
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* ==================== STORY ==================== */
.story {
  position: relative;
  padding: var(--space-xl) var(--gutter);
  background: var(--white);
  overflow: hidden;
}

.story__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
}

.story__image-col {
  position: relative;
}

.story__image-col > picture img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.story__image-overlap {
  display: none;
}

.story__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story__text-col p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.story__pullquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.4;
  color: var(--ruby);
  border-left: 4px solid var(--butter);
  padding: 1.5rem 0 1.5rem 1.5rem;
  margin: 2rem 0;
}

.story__pullquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-light);
  margin-top: 1rem;
}

.story__divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
}

/* ==================== MENU SECTION ==================== */
.menu-section {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--butter-light);
}

.menu-section__header {
  text-align: center;
  padding: 0 var(--gutter) var(--space-md);
}

.menu-tabs {
  display: inline-flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.menu-tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  color: var(--brown-light);
  transition: all 0.25s var(--ease);
}

.menu-tab.active {
  background: var(--ruby);
  color: var(--white);
}

.menu-tab:hover:not(.active) {
  color: var(--charcoal);
}

.menu-panel {
  display: none;
}

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

.menu-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.5rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.menu-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.menu-card:hover .menu-card__image img {
  transform: scale(1.05);
}

.menu-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 1.25rem 1.25rem 0.75rem;
  color: var(--charcoal);
}

.menu-card__note {
  padding: 0 1.25rem 0.5rem;
  font-size: 0.85rem;
  color: var(--sage-dark);
  font-style: italic;
}

.menu-card__items {
  list-style: none;
  padding: 0 1.25rem 1.5rem;
}

.menu-card__items li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.25rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.menu-card__items li:last-child {
  border-bottom: none;
}

.item-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.item-dots {
  border-bottom: 1px dotted var(--brown-light);
  min-width: 2rem;
  align-self: end;
  margin-bottom: 4px;
  opacity: 0.4;
}

.item-price {
  font-weight: 700;
  color: var(--ruby);
  font-size: 0.95rem;
}

.item-desc {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--brown-light);
  line-height: 1.4;
  padding-top: 2px;
}

.menu-card--compact {
  display: flex;
  flex-direction: column;
}

.menu-card--compact .menu-card__title {
  padding-bottom: 0.5rem;
}

/* ==================== BISCUIT BUILDER ==================== */
.builder {
  padding: var(--space-xl) var(--gutter);
  background: var(--white);
  text-align: center;
}

.builder__inner {
  max-width: 800px;
  margin: 0 auto;
}

.builder__intro {
  font-size: 1.1rem;
  color: var(--brown-light);
  margin-bottom: var(--space-md);
}

.builder__grid {
  display: grid;
  gap: var(--space-lg);
  text-align: left;
}

.builder__step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.builder__options {
  display: grid;
  gap: 0.75rem;
}

.builder__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s var(--ease);
  color: var(--charcoal);
}

.builder__option:hover {
  border-color: var(--ruby);
}

.builder__option.active {
  border-color: var(--ruby);
  background: rgba(196, 30, 58, 0.05);
}

.builder__option-icon {
  font-size: 1.5rem;
}

.builder__result {
  margin-top: var(--space-md);
  padding: 1.5rem;
  background: var(--butter-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.builder__result p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.builder__result strong {
  color: var(--ruby);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* ==================== DRINKS ==================== */
.drinks {
  padding: var(--space-xl) var(--gutter);
  background: var(--charcoal);
  color: var(--cream);
}

.drinks__inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.drinks__intro {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  color: rgba(255,248,240,0.8);
}

.drinks__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: var(--space-lg);
}

.drinks__card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
}

.drinks__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.drinks__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--butter);
}

.drinks__card p {
  padding: 0 1.5rem 1rem;
  font-size: 0.95rem;
  color: rgba(255,248,240,0.75);
  line-height: 1.6;
}

.drinks__prices {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
}

.drinks__prices li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
}

.drinks__prices li:last-child {
  border-bottom: none;
}

.drinks__prices span {
  color: var(--butter);
  font-weight: 600;
}

.drinks__more {
  text-align: center;
}

.drinks__more h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--butter);
  margin-bottom: 1.5rem;
}

.drinks__list {
  display: grid;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.drinks__item {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}

.drinks__item-price {
  color: var(--butter);
  font-weight: 600;
}

/* ==================== GALLERY ==================== */
.gallery {
  padding: var(--space-xl) var(--gutter) var(--space-lg);
  background: var(--cream);
}

.gallery__header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.gallery__masonry {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover img,
.gallery__item:focus img {
  transform: scale(1.08);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--tall img {
  min-height: 100%;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

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

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox__prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==================== REVIEWS ==================== */
.reviews {
  padding: var(--space-xl) var(--gutter);
  background: var(--white);
}

.reviews__inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.reviews__grid {
  display: grid;
  gap: 1.5rem;
  margin: var(--space-md) 0;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.04);
}

.review-card__stars {
  color: var(--butter);
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-card__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brown-light);
}

.reviews__badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.badge {
  text-align: center;
}

.badge__platform {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.25rem;
}

.badge__rating {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--ruby);
}

.badge__count {
  display: block;
  font-size: 0.8rem;
  color: var(--brown-light);
}

/* ==================== CATERING ==================== */
.catering {
  padding: var(--space-xl) var(--gutter);
  background: var(--butter-light);
}

.catering__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.catering__text p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.catering__features {
  list-style: none;
  margin: 1.5rem 0;
}

.catering__features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.catering__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ruby);
}

.catering__note {
  font-size: 0.85rem;
  color: var(--brown-light);
  font-style: italic;
}

.catering__image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* ==================== LOCATION ==================== */
.location {
  padding: var(--space-xl) var(--gutter);
  background: var(--white);
}

.location__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
}

.location__hours h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

.location__hours table {
  width: 100%;
  border-collapse: collapse;
}

.location__hours td {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
}

.location__hours td:last-child {
  text-align: right;
  font-weight: 600;
}

.location__details {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--brown-light);
}

.location__details p {
  margin-bottom: 0.5rem;
}

.location__map iframe {
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ==================== RESERVATIONS ==================== */
.reservations {
  padding: var(--space-xl) var(--gutter);
  background: var(--cream);
}

.reservations__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.reservations__note {
  font-size: 1rem;
  color: var(--brown-light);
  margin-bottom: var(--space-md);
}

.res-form {
  text-align: left;
}

.res-form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.res-form__field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.res-form__field input,
.res-form__field select,
.res-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.res-form__field input:focus,
.res-form__field select:focus,
.res-form__field textarea:focus {
  outline: none;
  border-color: var(--ruby);
}

.res-form__field input.error,
.res-form__field select.error,
.res-form__field textarea.error {
  border-color: #e74c3c;
}

.res-form__small {
  text-align: center;
  font-size: 0.85rem;
  color: var(--brown-light);
  margin-top: 1rem;
}

.res-toast {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--sage);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.res-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
  padding: var(--space-lg) var(--gutter);
  background: var(--ruby);
  text-align: center;
}

.newsletter__inner {
  max-width: 550px;
  margin: 0 auto;
}

.newsletter__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.newsletter__text {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.newsletter__form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter__form input {
  flex: 1 1 250px;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter__form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter__form input:focus {
  outline: none;
  border-color: var(--butter);
  background: rgba(255,255,255,0.15);
}

.newsletter__form .btn--primary {
  background: var(--butter);
  color: var(--charcoal);
  border-color: var(--butter);
}

.newsletter__form .btn--primary:hover {
  background: #e6b616;
  border-color: #e6b616;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) var(--gutter) 0;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--ruby);
  display: block;
  margin-bottom: 0.5rem;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4,
.footer__social h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--butter);
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer__contact a {
  color: rgba(255,255,255,0.6);
}

.footer__contact a:hover {
  color: var(--butter);
}

.footer__social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer__social-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer__social-links a:hover {
  color: var(--butter);
}

.footer__delivery {
  font-size: 0.85rem;
}

.footer__delivery p {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.4);
}

.footer__delivery-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-right: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem var(--gutter);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ==================== RESPONSIVE ==================== */

/* 640px+ */
@media (min-width: 640px) {
  .res-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .drinks__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

  .builder__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 768px+ */
@media (min-width: 768px) {
  .story__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .story__image-overlap {
    display: block;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    z-index: 2;
  }

  .story__image-overlap img {
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }

  .story__image-col {
    padding-right: 2rem;
    padding-bottom: 3rem;
  }

  .catering__inner {
    grid-template-columns: 1fr 1fr;
  }

  .location__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hero {
    flex-direction: row;
    min-height: 80vh;
  }

  .hero__image-wrap {
    width: 55%;
    height: auto;
    min-height: 80vh;
  }

  .hero__content {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
    text-align: left;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__star {
    width: 80px;
    height: 80px;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-block;
  }

  .header__burger {
    display: none;
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .gallery__masonry {
    gap: 1.25rem;
  }

  .menu-card__image {
    height: 220px;
  }
}

/* 1280px+ */
@media (min-width: 1280px) {
  :root {
    --gutter: 2rem;
  }

  .hero__title {
    font-size: 7rem;
  }

  .hero__content {
    padding: var(--space-2xl);
  }
}
