/* ============================================
   Kat's Cantina — Styles
   Palette: Charcoal (#1E2329 / #2A3038) + Coral (#E86A50 / #D45740)
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================ */

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1E2329;
  background-color: #FAFAF8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Utility ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ───────────────────────────── */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E86A50;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1E2329;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #555D66;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #E86A50;
  color: #ffffff;
}

.btn--primary:hover {
  background: #D45740;
  box-shadow: 0 4px 16px rgba(232, 106, 80, 0.35);
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

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

/* ── Navigation ───────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 35, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link--cta {
  background: #E86A50;
  color: #ffffff !important;
  margin-left: 0.5rem;
}

.nav-link--cta:hover {
  background: #D45740;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* ── Hero ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #1E2329;
  padding-top: 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
  align-items: center;
}

.hero-content {
  padding: 2rem 3rem 2rem 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E86A50;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: #E86A50;
}

.hero-desc {
  font-size: 1.075rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 2rem;
  max-width: 480px;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
}

.hero-badge svg {
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-accent {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  height: 40%;
  background: linear-gradient(to top, #1E2329, transparent);
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

/* ── Section shared ───────────────────────── */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ── About ────────────────────────────────── */
.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 35, 41, 0.12);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 60%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 35, 41, 0.18);
  border: 4px solid #ffffff;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-accent-block {
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  width: 80px;
  height: 80px;
  background: #E86A50;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.about-content p {
  color: #555D66;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E8E8E4;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1E2329;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #8A919A;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #E8E8E4;
}

/* ── Menu ─────────────────────────────────── */
.menu {
  background: #FAFAF8;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555D66;
  border: 1.5px solid #E0E0DC;
  border-radius: 100px;
  background: transparent;
  transition: all 0.2s ease;
}

.menu-tab:hover {
  color: #1E2329;
  border-color: #1E2329;
}

.menu-tab.active {
  background: #1E2329;
  color: #ffffff;
  border-color: #1E2329;
}

.menu-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.menu-panel[hidden] {
  display: none;
}

.menu-card {
  background: #ffffff;
  border: 1px solid #EDEDE9;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.menu-card:hover {
  box-shadow: 0 8px 24px rgba(30, 35, 41, 0.08);
  transform: translateY(-2px);
}

.menu-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E86A50;
  background: rgba(232, 106, 80, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.menu-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E2329;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.menu-card-desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.65;
}

/* ── Vibe ─────────────────────────────────── */
.vibe {
  background: #1E2329;
  color: #ffffff;
}

.vibe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vibe .section-title {
  color: #ffffff;
}

.vibe-content p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.vibe-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vibe-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.vibe-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(232, 106, 80, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vibe-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vibe-img-main {
  border-radius: 12px;
  overflow: hidden;
  grid-column: 1 / -1;
}

.vibe-img-main img,
.vibe-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vibe-img-secondary {
  border-radius: 12px;
  overflow: hidden;
}

/* ── Visit ────────────────────────────────── */
.visit {
  background: #ffffff;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.visit-address-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1E2329;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.visit-address-link:hover {
  color: #E86A50;
}

.visit-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #E86A50;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.visit-phone-link:hover {
  color: #D45740;
}

.visit-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #EDEDE9;
}

.visit-hours-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E2329;
  margin-bottom: 1rem;
}

.visit-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.visit-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.hours-day {
  color: #555D66;
  font-weight: 500;
}

.hours-time {
  color: #1E2329;
  font-weight: 600;
}

.visit-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 35, 41, 0.1);
  min-height: 400px;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

/* ── Contact ──────────────────────────────── */
.contact {
  background: #FAFAF8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-content p {
  color: #555D66;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #EDEDE9;
  border-radius: 16px;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1E2329;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  font-family: 'Inter', sans-serif;
  color: #1E2329;
  background: #FAFAF8;
  border: 1.5px solid #E0E0DC;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #A0A8B0;
}

.form-input:focus {
  border-color: #E86A50;
  box-shadow: 0 0 0 3px rgba(232, 106, 80, 0.12);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555D66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #166534;
  text-align: center;
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: #15191E;
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #E86A50;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.footer-contact a {
  color: #E86A50;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #FF8A75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content {
    padding: 2rem 0;
    order: 1;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-badges {
    justify-content: center;
  }

  .hero-image {
    order: 0;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid,
  .vibe-grid,
  .visit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(30, 35, 41, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding: 0;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
  }

  .section {
    padding: 4rem 0;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .vibe-images {
    grid-template-columns: 1fr;
  }

  .vibe-img-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.125rem;
  }

  .hero-image {
    border-radius: 12px;
  }

  .about-img-secondary {
    right: 0;
    bottom: -1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ── Reduced motion ───────────────────────── */
@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;
  }

  .menu-card:hover {
    transform: none;
  }
}

/* ── Focus visible ────────────────────────── */
:focus-visible {
  outline: 2px solid #E86A50;
  outline-offset: 2px;
}
