/* ============================================================
   JUST THAI - Main Stylesheet
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-gold: #c8942a;
  --color-gold-light: #d4a844;
  --color-dark: #3b2a1a;
  --color-darker: #2a1c10;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #faf9f6;
  --color-white: #fff;
  --color-cream: #f5f0e8;
  --color-red: #c0392b;
  --color-green: #27ae60;
  --color-border: #e0d8c8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-light); }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gold);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 1rem auto 2rem;
  border: none;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 12, 6, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 6, 2, 0.99);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  max-height: 50px;
  width: auto;
}

/* Hide text fallback when image is present */
.logo-img + .logo-text {
  display: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-gold);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--color-white);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold);
}

.nav-cta {
  background: var(--color-gold) !important;
  color: var(--color-dark) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--color-gold-light) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  width: 100%;
  margin-top: var(--header-height);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  /* Original images are 1400x465 → aspect ratio ~3:1 */
  aspect-ratio: 1400 / 465;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.10) 40%,
    transparent 70%
  );
}

.carousel-caption {
  position: relative;
  z-index: 2;
  max-width: 500px;
  padding: 2rem 3rem;
  color: var(--color-white);
}

.carousel-caption h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--color-white);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-gold);
}

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

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* Carousel responsive */
@media (max-width: 768px) {
  .carousel-track { aspect-ratio: auto; min-height: 300px; }
  .carousel-caption { padding: 1.5rem; max-width: 100%; }
  .carousel-caption h2 { font-size: 1.3rem; }
  .carousel-caption p { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .carousel-track { min-height: 250px; }
  .carousel-caption h2 { font-size: 1.1rem; }
  .carousel-caption p { font-size: 0.8rem; }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  padding: 5rem 0;
  background: var(--color-white);
}

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

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 50%;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 5rem 0;
  background: var(--color-cream);
}

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

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-dark);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-dark) 0%, #2c2c2c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--color-gold);
  border-radius: 0 0 8px 0;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-content .highlight {
  color: var(--color-gold);
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* ============================================================
   MENU PREVIEW (HOME PAGE)
   ============================================================ */
.menu-preview {
  padding: 5rem 0;
  background: var(--color-white);
}

.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.menu-preview-card {
  background: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition);
}

.menu-preview-card:hover {
  transform: translateY(-3px);
}

.menu-preview-img {
  height: 200px;
  background: linear-gradient(135deg, var(--color-dark), #3a2a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.menu-preview-info {
  padding: 1.5rem;
}

.menu-preview-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.menu-preview-info p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.menu-preview-info .price {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.text-center { text-align: center; }

/* ============================================================
   CONTACT / INFO SECTION
   ============================================================ */
.contact {
  padding: 5rem 0;
  background: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail p {
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1.2rem;
}

.hours-table {
  width: 100%;
  margin-top: 1rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

.hours-table td {
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-dark);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-light);
}

.hours-table .closed {
  color: var(--color-red);
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  background: var(--color-dark);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .logo-text {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-hours h4 {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-hours p {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================================
   MENU PAGE
   ============================================================ */
.page-hero {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: var(--header-height);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
    url('../images/hero/menu-bg.jpg') center/cover no-repeat;
  background-color: var(--color-dark);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Menu Navigation Tabs */
.menu-nav {
  background: var(--color-white);
  padding: 1rem 0;
  position: sticky;
  top: var(--header-height);
  z-index: 99;
  border-bottom: 1px solid var(--color-border);
}

.menu-nav-inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-nav-inner::-webkit-scrollbar { display: none; }

.menu-nav-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: 30px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.menu-nav-btn:hover,
.menu-nav-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
}

/* Menu Sections */
.menu-section {
  padding: 3rem 0;
}

.menu-section:nth-child(even) {
  background: var(--color-cream);
}

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

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--color-white);
  border-radius: 6px;
  transition: box-shadow var(--transition);
}

.menu-section:nth-child(even) .menu-item {
  background: var(--color-bg);
}

.menu-item:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.menu-item-info {
  flex: 1;
  min-width: 0;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.menu-item-number {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.menu-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.menu-item-spicy {
  display: inline-flex;
  gap: 1px;
  margin-left: 0.5rem;
}

.pepper {
  color: var(--color-red);
  font-size: 0.8rem;
}

.menu-item-price {
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1rem;
  white-space: nowrap;
  margin-left: 1rem;
  flex-shrink: 0;
}

/* Variants */
.menu-item-variants {
  margin-top: 0.4rem;
}

.variant {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-light);
  padding: 0.15rem 0;
}

.variant-price {
  color: var(--color-gold);
  font-weight: 600;
}

/* Note about rice */
.menu-note {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-cream);
  border-left: 4px solid var(--color-gold);
  margin: 2rem auto;
  max-width: 600px;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* ============================================================
   WINE PAGE
   ============================================================ */
.wine-section {
  padding: 2.5rem 0;
}

.wine-section:nth-child(even) {
  background: var(--color-cream);
}

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

.wine-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.wine-item:last-child { border-bottom: none; }

.wine-name {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.wine-origin {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
}

.wine-price {
  font-weight: 700;
  color: var(--color-gold);
  white-space: nowrap;
}

.wine-prices {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.wine-prices span {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wine-prices .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wine-prices .amount {
  font-weight: 700;
  color: var(--color-gold);
  font-size: 0.95rem;
}

/* ============================================================
   ADMIN / CMS PAGE
   ============================================================ */

/* Login Gate */
.login-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  padding: 2rem;
}

.login-box {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 380px;
}

.login-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.login-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.login-error {
  color: var(--color-red);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.admin-wrapper {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h1 {
  font-size: 1.8rem;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-success {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}

.btn-success:hover {
  background: #219a52;
}

.btn-danger {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.admin-tab.active {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.admin-category {
  display: none;
}

.admin-category.active {
  display: block;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.admin-table th {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.admin-table tr:hover td {
  background: var(--color-cream);
}

.admin-table input,
.admin-table select {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.admin-table input:focus,
.admin-table select:focus {
  outline: none;
  border-color: var(--color-gold);
}

.admin-table .price-input {
  width: 80px;
}

.admin-table .spicy-input {
  width: 60px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem;
  transition: transform var(--transition);
}

.btn-icon:hover { transform: scale(1.2); }

.admin-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-green);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}

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

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  /* Mobile Nav */
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 6, 2, 0.99);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav a {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

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

  .menu-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu-item-price { margin-left: 0; }

  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }

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

  /* Menu preview */
  .menu-preview-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Admin responsive */
  .admin-table { font-size: 0.8rem; }
  .admin-table th, .admin-table td { padding: 0.5rem; }
}

@media (max-width: 480px) {
  .btn { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
  .contact-detail a { font-size: 1rem; }
}

/* ============================================================
   ANIMATIONS (Intersection Observer)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-gold);
  color: var(--color-dark);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}
