:root {
  --color-burgundy: #6b1f1f;
  --color-gold: #c9a227;
  --color-cream: #f7f3ed;
  --color-charcoal: #2b2b2b;
  --color-brown: #8a5a44;
  --color-sage: #7a8b5a;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(43, 43, 43, 0.08);
  --shadow-hover: 0 16px 40px rgba(43, 43, 43, 0.14);
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --section-space: clamp(3.5rem, 6vw, 6rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", "Lato", sans-serif;
  color: var(--color-charcoal);
  background:
    radial-gradient(circle at 8% 6%, rgba(201, 162, 39, 0.12), transparent 34%),
    radial-gradient(
      circle at 90% 10%,
      rgba(122, 139, 90, 0.14),
      transparent 25%
    ),
    var(--color-cream);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-serif {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  color: var(--color-charcoal);
  letter-spacing: 0.02em;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1000;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 0;
}

.main-navbar {
  background: rgba(247, 243, 237, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107, 31, 31, 0.1);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-brand {
  color: var(--color-burgundy);
  font-weight: 700;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
}

.brand-logo {
  height: 70px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
}

.footer-logo {
  height: 35px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 576px) {
  .brand-logo {
    height: 55px;
  }
  .navbar-brand {
    font-size: 1.15rem;
  }
  .footer-logo {
    height: 30px;
  }
}

.nav-link {
  color: var(--color-charcoal);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-burgundy);
}

.btn-brand {
  background: linear-gradient(
    115deg,
    var(--color-burgundy),
    #7d2929 60%,
    #5c1919
  );
  color: var(--color-white);
  border: 0;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  border-radius: 999px;
}

.btn-brand:hover,
.btn-brand:focus {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 31, 31, 0.25);
}

.btn-outline-brand {
  border: 2px solid var(--color-burgundy);
  color: var(--color-burgundy);
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--color-burgundy);
  color: var(--color-white);
}

.hero {
  min-height: 82vh;
  background:
    linear-gradient(95deg, rgba(43, 43, 43, 0.72), rgba(107, 31, 31, 0.58)),
    url("../images/hero-soul-food.png") center/cover no-repeat;
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.hero h1,
.hero p {
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  background: rgba(247, 243, 237, 0.2);
  border: 1px solid rgba(247, 243, 237, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-pad {
  padding: var(--section-space) 0;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #535353;
  max-width: 720px;
}

.surface-card {
  background: var(--color-white);
  border: 1px solid rgba(107, 31, 31, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.surface-card:hover,
.surface-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.menu-card img,
.gallery-img,
.event-img,
.about-img {
  width: 100%;
  height: auto;
  display: block;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: rgba(201, 162, 39, 0.16);
  color: var(--color-burgundy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.texture-band {
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35) 6px,
      transparent 6px,
      transparent 12px
    );
}

.quote-card {
  border-left: 4px solid var(--color-gold);
}

.star-rating {
  color: var(--color-gold);
  letter-spacing: 0.12em;
}

.gallery-masonry {
  column-count: 1;
  column-gap: 1rem;
}

.gallery-masonry figure {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.footer {
  background: #1f1f1f;
  color: #e3e3e3;
  padding: 3rem 0 1.75rem;
}

.footer a {
  color: #f8e8bf;
}

.footer a:hover,
.footer a:focus {
  color: var(--color-white);
}

.page-hero {
  position: relative;
  min-height: 40vh;
  padding: 6.2rem 0 3.2rem;
  display: flex;
  align-items: end;
  color: var(--color-white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(43, 43, 43, 0.77),
    rgba(107, 31, 31, 0.58)
  );
}

.page-hero .container {
  position: relative;
}

.page-hero h1,
.page-hero p {
  color: var(--color-white);
}

.hero-about {
  background: url("../images/about-hero.png") center/cover no-repeat;
}

.hero-menu {
  background: url("../images/menu-hero.png") center/cover no-repeat;
}

.hero-catering {
  background: url("../images/catering-hero.png") center/cover no-repeat;
}

.hero-contact {
  background: url("../images/contact-hero.png") center/cover no-repeat;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  border-color: rgba(43, 43, 43, 0.2);
  padding: 0.75rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 0.25rem rgba(107, 31, 31, 0.16);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .gallery-masonry {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .gallery-masonry {
    column-count: 3;
  }

  .hero {
    min-height: 88vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  background: var(--color-burgundy);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.15);
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--color-gold);
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
  transform: translateY(-4px);
  outline: none;
  box-shadow: 0 6px 16px rgba(107, 31, 31, 0.25);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

