@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

/* Root Theme */
:root {
  color-scheme: only light;
  --color-bg: #f3e7d6;
  --color-bg-alt: rgba(255, 255, 255, 0.92);
  --color-text: #24160d;
  --color-muted: #5f4b3f;
  --color-accent: #ff7e23;
  --color-accent-dark: #c05a10;
  --color-secondary: #553217;
  --color-highlight: #ffb15a;
  --color-nav-bg: #1b120b;
  --color-nav-border: rgba(255, 190, 120, 0.35);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-soft: 0 10px 35px rgba(0, 0, 0, 0.18);
  --gradient-sunset: linear-gradient(135deg, #ff7e23 0%, #ffb15a 50%, #ffe8c6 100%);
  --texture-overlay: rgba(34, 20, 11, 0.45);
  --font-heading: 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;
  --transition-base: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg) url('/assets/textures/desert-sand.png') repeat;
  background-size: 600px 600px;
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

body::selection {
  background: rgba(255, 126, 35, 0.25);
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

iframe {
  border: 0;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 4rem;
}

.section {
  padding-block: 0.5rem;
}

.section-dark {
  background: linear-gradient(135deg, rgba(34, 20, 11, 0.96), rgba(59, 33, 22, 0.95));
  color: #fff;
  padding-block: 3rem;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-heading h2,
.page-hero h1,
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-heading p {
  max-width: 45ch;
  color: var(--color-muted);
}

.section-dark .section-heading p {
  color: rgba(255, 228, 205, 0.85);
}

.hero {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  color: #fff;
  background: var(--gradient-sunset);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(34, 20, 11, 0.5), transparent 60%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-sheen {
  position: absolute;
  inset: 0;
  background-image: url('/assets/textures/rusted-metal.png');
  background-size: cover;
  opacity: 0.18;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  max-width: 48ch;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

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

.page-hero {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: rgba(255, 221, 188, 0.25);
  border-block-end: 1px solid rgba(85, 50, 23, 0.15);
}

.page-hero.hero-subpage {
  background: linear-gradient(135deg, rgba(32, 18, 9, 0.92), rgba(85, 50, 23, 0.85)), url('/assets/textures/sun-washed-wood.png');
  background-size: cover;
  color: #fff;
  position: relative;
}

.hero-night {
  background: linear-gradient(135deg, rgba(22, 11, 6, 0.94), rgba(85, 36, 15, 0.85)), url('/assets/textures/rusted-metal.png');
  background-size: cover;
}

.hero-gallery {
  background: linear-gradient(135deg, rgba(30, 16, 9, 0.9), rgba(85, 42, 20, 0.82)), url('/assets/textures/sun-washed-wood.png');
  background-size: cover;
}

.hero-videos {
  background: linear-gradient(135deg, rgba(14, 12, 10, 0.92), rgba(68, 30, 21, 0.85)), url('/assets/textures/rusted-metal.png');
  background-size: cover;
}

.hero-feed {
  background: linear-gradient(135deg, rgba(36, 20, 12, 0.92), rgba(85, 50, 23, 0.82)), url('/assets/textures/desert-sand.png');
  background-size: cover;
}

.hero-location {
  background: linear-gradient(135deg, rgba(38, 24, 15, 0.9), rgba(97, 55, 29, 0.82)), url('/assets/textures/sun-washed-wood.png');
  background-size: cover;
}

.hero-contact {
  background: linear-gradient(135deg, rgba(25, 13, 8, 0.92), rgba(76, 38, 20, 0.82)), url('/assets/textures/rusted-metal.png');
  background-size: cover;
}

.hero-subpage-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-link {
  font-weight: 600;
  color: var(--color-highlight);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--transition-base);
}

.section-link:hover,
.section-link:focus-visible {
  border-color: currentColor;
}

.feature-grid,
.card-grid,
.events-grid,
.gallery-grid,
.video-grid,
.updates-preview {
  display: grid;
  gap: 1.5rem;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(255, 126, 35, 0.15);
}

.feature-card h3 {
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--color-bg-alt);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.05);
}

.card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-body h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card-price {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--color-secondary);
  transition: var(--transition-base);
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-accent-dark);
  border-color: var(--color-secondary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cta-band {
  background: linear-gradient(90deg, rgba(34, 20, 11, 0.95), rgba(85, 50, 23, 0.9));
  color: #fff;
  padding-block: 2.5rem;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.menu-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.menu-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(85, 50, 23, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid rgba(255, 126, 35, 0.12);
  pointer-events: none;
}

.menu-card img {
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-card h3 {
  margin: 0;
  font-family: var(--font-heading);
}

.menu-card .menu-description {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.menu-card .menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
}

.menu-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.menu-search {
  flex: 1 1 260px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 2px solid rgba(85, 50, 23, 0.2);
  background: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.menu-tags button {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(85, 50, 23, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  transition: var(--transition-base);
}

.menu-tags button.is-active {
  background: var(--color-accent);
  border-color: var(--color-secondary);
  color: #fff;
}

.events-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.event-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 126, 35, 0.18);
  display: flex;
  flex-direction: column;
}

.event-card .card-body {
  gap: 0.5rem;
}

.event-date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 240px;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-card);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card::after {
  content: attr(data-title);
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 9, 6, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 999;
  gap: 1rem;
}

.lightbox-controls {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.lightbox-controls button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox img {
  max-height: 80vh;
  width: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  max-width: 60ch;
  font-size: 1rem;
}

.lightbox-close {
  margin-inline: auto;
}

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.video-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
  width: 100%;
}

.video-card .card-body {
  gap: 0.5rem;
}

.updates-feed,
.updates-preview {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.update-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 126, 35, 0.15);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.update-card .update-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.update-card img {
  border-radius: 12px;
}

.location-info {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.address-hours {
  background: rgba(255, 255, 255, 0.94);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(85, 50, 23, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  color: var(--color-muted);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-embed iframe {
  width: 100%;
  min-height: 360px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.contact-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(85, 50, 23, 0.12);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--color-secondary);
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 2px solid rgba(85, 50, 23, 0.2);
  padding: 0.75rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(255, 126, 35, 0.2);
  outline: none;
}

.form-status {
  min-height: 1.5rem;
  color: var(--color-secondary);
}

.contact-details {
  background: rgba(34, 20, 11, 0.92);
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1rem;
}

.contact-details a {
  color: var(--color-highlight);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-nav-border);
  backdrop-filter: blur(12px);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-secondary);
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  color: #fff;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.nav-list a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition-base);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #fff;
  background: rgba(255, 126, 35, 0.25);
}

.nav-list a.is-active {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-secondary);
}

.site-footer {
  background: var(--color-nav-bg);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--color-nav-border);
  font-size: 0.9rem;
}

.loading {
  text-align: center;
  color: var(--color-muted);
  font-style: italic;
  padding: 2rem 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .hero-subpage-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(27, 18, 11, 0.96);
    border-bottom: 1px solid var(--color-nav-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-list a {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    text-align: center;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center;
  }

  .hero-subpage-inner {
    text-align: left;
  }

  .menu-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-grid {
    grid-auto-rows: 200px;
  }

  .lightbox {
    padding: 1.5rem;
  }
}

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