/* Plaza Arandas — Mexican Restaurant, San Antonio TX */

:root {
  --brand-red: #d62828;
  --brand-red-dark: #a81f1f;
  --brand-orange: #f4a259;
  --brand-gold: #e0a324;
  --ink: #241a17;
  --ink-soft: #4a3a34;
  --cream: #fdf6ee;
  --cream-dark: #f6e9d8;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(36, 26, 23, 0.12);
  --radius: 14px;
  --radius-pill: 999px;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
}

.section-header p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Order Online Button ---------- */
.btn-order {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  text-align: center;
}

.btn-order:hover, .btn-order:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(214, 40, 40, 0.55);
}

.btn-order.small {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(253, 246, 238, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(36, 26, 23, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-red-dark);
  text-decoration: none;
}

.nav-brand .flag-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: conic-gradient(var(--brand-red) 0 33%, #fff 33% 66%, #2a9d4a 66% 100%);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(36,26,23,0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn-order) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn-order):hover {
  color: var(--brand-red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(36,20,16,0.55) 0%, rgba(36,20,16,0.75) 100%), url('../images/photo-02.jpg') center 30%/cover no-repeat;
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 760px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-orange);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0;
  text-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.hero p.tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #f4ece0;
  max-width: 620px;
  margin: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  font-size: 0.92rem;
  color: #f0e6d8;
}

.hero-meta span { display: flex; align-items: center; gap: 6px; }

.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* ---------- About ---------- */
.about {
  background: var(--card-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-photos img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-photos img:first-child { aspect-ratio: 3/4; }

.about-text p { color: var(--ink-soft); margin: 0 0 18px; }

.about-badges {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.about-badge {
  text-align: left;
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-red);
}

.about-badge span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Menu ---------- */
.menu { background: var(--cream-dark); }

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

.menu-category {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.menu-category h3 {
  color: var(--brand-red-dark);
  font-size: 1.3rem;
  border-bottom: 2px solid var(--brand-orange);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(36,26,23,0.12);
}

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

.menu-item-name { font-weight: 700; }

.menu-item-desc {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 3px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--brand-red);
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.gallery-grid a { overflow: hidden; border-radius: var(--radius); display: block; }
.gallery-grid a:hover img { transform: scale(1.06); }

.gallery-grid .tall { grid-row: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tall { grid-row: span 1; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-dark); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars { color: var(--brand-gold); font-size: 1.1rem; letter-spacing: 2px; }

.review-quote {
  color: var(--ink-soft);
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---------- Hours & Location ---------- */
.hours-location {
  background: var(--card-bg);
}

.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.hours-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 32px;
}

.hours-card h3 {
  color: var(--brand-red-dark);
  margin-bottom: 20px;
}

.hours-list { list-style: none; margin: 0 0 24px; padding: 0; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36,26,23,0.08);
  font-size: 0.95rem;
}

.hours-list li:last-child { border-bottom: none; }

.contact-block p {
  margin: 6px 0;
  color: var(--ink-soft);
}

.contact-block a { color: var(--brand-red); font-weight: 700; text-decoration: none; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 900px) {
  .hl-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #f0e6d8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 16px;
}

footer p, footer li { color: #cbb9ad; font-size: 0.92rem; }

footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #a49185;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 15, 12, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: modal-pop 0.18s ease;
}

@keyframes modal-pop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 4px;
}

.modal-box h3 { color: var(--brand-red-dark); margin-bottom: 12px; }
.modal-box p { color: var(--ink-soft); margin-bottom: 24px; }

.modal-phone-link {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-red);
  text-decoration: none;
  margin-bottom: 20px;
}

/* ---------- Utility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}

.skip-link:focus { left: 10px; top: 10px; }
