/* ============================================================
   NAV — Responsive Top Navigation + Mobile Hamburger Menu
   ============================================================ */

/* ---- Top Nav Bar ---- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-charcoal);
  border-bottom: 2px solid rgba(200, 170, 100, 0.3);
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2) var(--space-4);
}

/* ---- Brand ---- */
.top-nav__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  animation: brandSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.top-nav__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.top-nav__logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
}

.top-nav__logo-sub {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--color-cream);
  letter-spacing: 5px;
  font-weight: 400;
  margin-top: 1px;
}

.top-nav__tagline {
  font-family: var(--font-accent);
  font-size: 9px;
  color: var(--color-gray-400);
  font-style: italic;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ---- Desktop Nav Links ---- */
.top-nav__links {
  display: none; /* Hidden on mobile */
  align-items: center;
  gap: 0;
  padding-bottom: var(--space-2);
}

.top-nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-cream);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.top-nav__link:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.05);
}

.top-nav__link.active {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-terracotta);
}

/* ---- Hamburger Button (mobile only) ---- */
.top-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.top-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Cart ---- */
.top-nav__actions {
  display: flex;
  align-items: center;
}

.top-nav__cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--color-cream);
  cursor: pointer;
  padding: 8px;
}

.top-nav__cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--color-terracotta);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MOBILE SLIDE-OUT MENU
   ============================================================ */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--color-charcoal);
  z-index: 10000;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-gold);
  letter-spacing: 3px;
  font-weight: 700;
}

.mobile-menu__close {
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-4) 0;
  overflow-y: auto;
}

.mobile-menu__link {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-cream);
  text-decoration: none;
  padding: var(--space-4) var(--space-6);
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  background: rgba(255,255,255,0.05);
  color: var(--color-gold);
  border-left-color: var(--color-terracotta);
}

.mobile-menu__footer {
  padding: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  line-height: 1.6;
}

.mobile-menu__footer a {
  color: var(--color-terracotta);
  text-decoration: none;
}

/* ---- Mobile: row layout for hamburger + brand + cart ---- */
@media (max-width: 899px) {
  .top-nav__inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 var(--space-4);
    height: var(--nav-height);
  }
}

/* ---- Desktop: show links, hide hamburger ---- */
@media (min-width: 900px) {
  .top-nav__hamburger {
    display: none;
  }

  .top-nav__links {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .top-nav__link {
    font-size: 14px;
    padding: 6px 16px;
  }
}

/* Override nav height on desktop */
@media (min-width: 900px) {
  :root {
    --nav-height: 64px;
  }
}

/* ============================================================
   CONTENT PAGES — Shared styles for Parties, Catering, etc.
   ============================================================ */

.content-page {
  padding-top: var(--nav-height);
}

.content-hero {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.content-hero__overlay {
  width: 100%;
  padding: var(--space-8) var(--space-5) var(--space-6);
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.7) 100%);
  color: white;
}

.content-hero__eyebrow {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.content-hero__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.content-hero__subtitle {
  font-size: var(--text-base);
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.5;
}

.content-section {
  padding: var(--space-8) var(--space-5);
  max-width: 960px;
  margin: 0 auto;
}

.content-section--accent {
  background: var(--color-warm-bg, #f5f0eb);
}

.content-section__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-charcoal);
  text-align: center;
  margin-bottom: var(--space-3);
}

.content-section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.content-section__contact {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.content-section__contact a {
  color: var(--color-terracotta);
  text-decoration: none;
  font-weight: 500;
}

/* ---- Party Cards ---- */
.party-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .party-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.party-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.party-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.party-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.party-card__body {
  padding: var(--space-5);
}

.party-card__body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-charcoal);
  margin-bottom: var(--space-1);
}

.party-card__guests {
  font-size: var(--text-sm);
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.party-card__features {
  margin-top: var(--space-3);
  padding-left: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ---- Inquiry Form ---- */
.inquiry-form {
  max-width: 640px;
  margin: 0 auto;
}

.inquiry-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

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

/* ---- Catering Features ---- */
.catering-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 640px) {
  .catering-features {
    grid-template-columns: 1fr;
  }
}

.catering-feature {
  text-align: center;
  padding: var(--space-5);
}

.catering-feature__icon {
  font-size: 36px;
  display: block;
  margin-bottom: var(--space-3);
}

.catering-feature h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.catering-feature p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---- Catering Menu Grid ---- */
.catering-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .catering-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.catering-menu-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
}

.catering-menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catering-menu-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3) var(--space-3);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ---- Brand Slide-In Animation ---- */
@keyframes brandSlideIn {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-nav__brand {
    animation: none;
  }
  .site-footer__logo {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  background: #2d2d2d;
  color: #c0bcb4;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

/* ---- Smoke Background Video ---- */
.site-footer__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* Content stays above video */
.site-footer__brand,
.site-footer__columns,
.site-footer__bottom {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #c0bcb4;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--color-gold);
}

/* ---- Brand / Logo area ---- */
.site-footer__brand {
  text-align: center;
  padding: 48px 20px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-footer__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  animation: footerLogoPulse 4s ease-in-out infinite;
}

.site-footer__logo-text {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 6px;
  line-height: 1;
}

.site-footer__logo-sub {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-cream);
  letter-spacing: 8px;
  font-weight: 400;
  margin-top: 4px;
}

.site-footer__ornaments {
  color: var(--color-gold);
  font-size: 12px;
  letter-spacing: 8px;
  margin: 10px 0 6px;
  opacity: 0.6;
}

.site-footer__slogan {
  font-family: var(--font-accent);
  font-size: 12px;
  color: #9a958e;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ---- Columns ---- */
.site-footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

@media (min-width: 768px) {
  .site-footer__columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
  }
}

.site-footer__col p {
  margin: 4px 0;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- Social Icons ---- */
.site-footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-footer__social a {
  color: #c0bcb4;
  transition: color 0.2s, transform 0.2s;
}

.site-footer__social a:hover {
  color: var(--color-gold);
  transform: scale(1.15);
}

/* ---- Bottom Bar ---- */
.site-footer__bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #7a756e;
}

/* ---- Logo Pulse Animation ---- */
@keyframes footerLogoPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
