/* Cafe Guadalajara — Canyon Lake, TX */

:root {
  --cream: #fff8ef;
  --cream-dark: #f5ead6;
  --brown: #2b1810;
  --brown-soft: #4a3327;
  --chili: #e0432b;
  --chili-dark: #c22f1c;
  --avocado: #3f7d4f;
  --marigold: #f2a93b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(43, 24, 16, 0.15);
  --radius: 14px;
  --max-width: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--brown);
}

a {
  color: inherit;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--chili);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--brown-soft);
}

section {
  padding: 72px 0;
}

/* ---------- Order Online Button (consistent everywhere) ---------- */
.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--chili) 0%, var(--chili-dark) 100%);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(224, 67, 43, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-order:hover,
.btn-order:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(224, 67, 43, 0.55);
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43, 24, 16, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--brown);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--avocado), var(--marigold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown-soft);
}

.nav-links a:hover {
  color: var(--chili);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.35), rgba(20, 12, 8, 0.75)),
    url("../images/hero-lake-view.jpg") center center / cover no-repeat;
}

.hero-content {
  max-width: 640px;
}

.hero .section-label {
  color: var(--marigold);
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 18px;
}

.hero p.tagline {
  font-size: 1.2rem;
  margin-bottom: 32px;
  color: #f4e9db;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #f4e9db;
}

.hero-meta strong {
  color: var(--marigold);
  font-size: 1.1rem;
  display: block;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
}

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

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

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

.about-text p {
  margin-bottom: 16px;
  color: var(--brown-soft);
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat .num {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  color: var(--chili);
  font-weight: 700;
  display: block;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--brown-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.menu-category h3 {
  font-size: 1.4rem;
  color: var(--chili-dark);
  margin-bottom: 18px;
  border-bottom: 2px solid var(--marigold);
  padding-bottom: 10px;
}

.menu-item {
  margin-bottom: 16px;
}

.menu-item-name {
  font-weight: 700;
  color: var(--brown);
}

.menu-item-desc {
  color: var(--brown-soft);
  font-size: 0.92rem;
}

.menu-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--brown-soft);
  font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--white);
}

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

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.gallery-grid a {
  overflow: hidden;
  border-radius: 10px;
  display: block;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
}

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

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

.reviews .section-title,
.reviews .section-label {
  color: var(--white);
}

.reviews .section-intro {
  color: #e6d4c4;
}

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

.review-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
}

.stars {
  color: var(--marigold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-quote {
  color: #f4e9db;
  font-style: italic;
  margin-bottom: 16px;
}

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

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

.hl-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.hours-card,
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.hours-card h3,
.contact-card h3 {
  margin-bottom: 16px;
  color: var(--chili-dark);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(43, 24, 16, 0.12);
  font-size: 0.95rem;
}

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

.contact-card p {
  margin-bottom: 10px;
}

.contact-card a {
  text-decoration: none;
  color: var(--chili);
  font-weight: 700;
}

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

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

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

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

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--marigold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
}

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

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

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

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

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

.modal-close:hover {
  color: var(--chili);
}

.modal h3 {
  color: var(--chili-dark);
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.modal p {
  color: var(--brown-soft);
  margin-bottom: 22px;
}

.modal .btn-order {
  width: 100%;
  justify-content: center;
}

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(43, 24, 16, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links .btn-order {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 52px 0;
  }
}
