/* ============================================
   La Paloma Mexican Delicacies — Template CSS
   Prefix: lp-
   ============================================ */

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

:root {
  --lp-dark: #1A0F0A;
  --lp-light: #FFF8F0;
  --lp-accent: #E84C30;
  --lp-accent-hover: #d03a20;
  --lp-text: #3A2A1F;
  --lp-text-muted: #7A6A5F;
  --lp-border: #E8DDD4;
  --lp-font-heading: 'Playfair Display', Georgia, serif;
  --lp-font-body: 'Lato', 'Segoe UI', sans-serif;
  --lp-container: 1200px;
  --lp-radius: 8px;
  --lp-shadow: 0 4px 24px rgba(26, 15, 10, 0.08);
  --lp-shadow-lg: 0 12px 40px rgba(26, 15, 10, 0.12);
  --lp-transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--lp-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--lp-text);
  background-color: var(--lp-light);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lp-accent);
  text-decoration: none;
  transition: color var(--lp-transition);
}

a:hover {
  color: var(--lp-accent-hover);
}

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

.lp-section {
  padding: 96px 0;
}

.lp-section-title {
  font-family: var(--lp-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lp-dark);
  text-align: center;
  margin-bottom: 12px;
}

.lp-section-title--light {
  color: var(--lp-light);
}

.lp-section-subtitle {
  font-size: 1.125rem;
  color: var(--lp-text-muted);
  text-align: center;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.lp-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--lp-font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--lp-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--lp-transition);
  border: 2px solid transparent;
}

.lp-btn-primary {
  background-color: var(--lp-accent);
  color: #fff;
  border-color: var(--lp-accent);
}

.lp-btn-primary:hover {
  background-color: var(--lp-accent-hover);
  border-color: var(--lp-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 76, 48, 0.35);
}

.lp-btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.lp-btn-secondary:hover {
  background-color: #fff;
  color: var(--lp-dark);
  transform: translateY(-2px);
}

/* --- Reveal Animation --- */
.lp-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   1. Demo Banner
   ============================================ */
.lp-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background-color: var(--lp-dark);
  color: var(--lp-light);
  font-size: 0.875rem;
  padding: 8px 0;
}

.lp-demo-banner-inner {
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-demo-back {
  color: var(--lp-accent);
  font-weight: 700;
}

.lp-demo-back:hover {
  color: #fff;
}

.lp-demo-text {
  opacity: 0.8;
}

/* ============================================
   2. Navigation
   ============================================ */
.lp-nav {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--lp-transition);
  background: transparent;
}

.lp-nav.lp-scrolled {
  background: rgba(26, 15, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.lp-nav-inner {
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-nav-logo {
  font-family: var(--lp-font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.lp-nav-logo:hover {
  color: var(--lp-accent);
}

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

.lp-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  transition: color var(--lp-transition);
}

.lp-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--lp-accent);
  transition: width var(--lp-transition);
}

.lp-nav-links a:hover {
  color: #fff;
}

.lp-nav-links a:hover::after {
  width: 100%;
}

.lp-nav-cta {
  padding: 10px 24px;
  background: var(--lp-accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--lp-radius);
  text-decoration: none;
  transition: all var(--lp-transition);
}

.lp-nav-cta:hover {
  background: var(--lp-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Hamburger */
.lp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.lp-hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--lp-transition);
}

.lp-hamburger.lp-active .lp-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-hamburger.lp-active .lp-hamburger-line:nth-child(2) {
  opacity: 0;
}

.lp-hamburger.lp-active .lp-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   3. Hero
   ============================================ */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1565299585323-38d6b0865b47?w=1920') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 15, 10, 0.7) 0%,
    rgba(26, 15, 10, 0.5) 50%,
    rgba(26, 15, 10, 0.8) 100%
  );
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
}

.lp-hero-logo-area {
  margin-bottom: 24px;
}

.lp-hero-icon {
  opacity: 0.9;
}

.lp-hero-title {
  font-family: var(--lp-font-heading);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.lp-hero-tagline {
  font-size: 1.375rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lp-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   4. Menu
   ============================================ */
.lp-menu-section {
  background: var(--lp-light);
}

.lp-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.lp-menu-card {
  background: #fff;
  border-radius: var(--lp-radius);
  overflow: hidden;
  box-shadow: var(--lp-shadow);
  transition: transform var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow-lg);
}

.lp-menu-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.lp-menu-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lp-menu-card:hover .lp-menu-card-img-wrap img {
  transform: scale(1.08);
}

.lp-menu-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--lp-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.lp-menu-card-body {
  padding: 20px;
}

.lp-menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}

.lp-menu-card-name {
  font-family: var(--lp-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--lp-dark);
}

.lp-menu-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--lp-accent);
  white-space: nowrap;
}

.lp-menu-card-desc {
  font-size: 0.875rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
}

/* ============================================
   5. Catering
   ============================================ */
.lp-catering-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1920') center/cover no-repeat;
  color: var(--lp-light);
}

.lp-catering-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 10, 0.85);
}

.lp-catering-content {
  position: relative;
  z-index: 1;
}

.lp-catering-text {
  max-width: 680px;
}

.lp-catering-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.9;
}

.lp-catering-list {
  list-style: none;
  margin-bottom: 40px;
}

.lp-catering-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.0625rem;
  opacity: 0.9;
}

.lp-catering-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--lp-accent);
  border-radius: 50%;
}

/* ============================================
   6. About
   ============================================ */
.lp-about-section {
  background: #fff;
}

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

.lp-about-img img {
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.lp-about-text .lp-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.lp-about-text p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--lp-text);
}

/* ============================================
   7. Location & Hours
   ============================================ */
.lp-locations-section {
  background: var(--lp-light);
}

.lp-locations-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.lp-schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--lp-radius);
  overflow: hidden;
  box-shadow: var(--lp-shadow);
}

.lp-schedule-table th,
.lp-schedule-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9375rem;
}

.lp-schedule-table thead {
  background: var(--lp-dark);
  color: var(--lp-light);
}

.lp-schedule-table th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 1px;
}

.lp-schedule-table tbody tr {
  border-bottom: 1px solid var(--lp-border);
  transition: background var(--lp-transition);
}

.lp-schedule-table tbody tr:hover {
  background: rgba(232, 76, 48, 0.04);
}

.lp-schedule-table tbody tr:last-child {
  border-bottom: none;
}

.lp-schedule-closed td {
  color: var(--lp-text-muted);
  font-style: italic;
}

.lp-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-map-box {
  width: 100%;
  min-height: 340px;
  background: #fff;
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--lp-text-muted);
}

.lp-map-box svg {
  margin-bottom: 16px;
  opacity: 0.6;
}

.lp-map-box p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   8. Gallery
   ============================================ */
.lp-gallery-section {
  background: #fff;
}

.lp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-gallery-item {
  position: relative;
  border-radius: var(--lp-radius);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.lp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lp-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 10, 0);
  transition: background 0.4s ease;
}

.lp-gallery-item:hover img {
  transform: scale(1.12);
}

.lp-gallery-item:hover::after {
  background: rgba(26, 15, 10, 0.2);
}

/* ============================================
   9. Reviews
   ============================================ */
.lp-reviews-section {
  background: var(--lp-light);
}

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

.lp-review-card {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  text-align: center;
  transition: transform var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-lg);
}

.lp-review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.lp-review-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--lp-text);
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.lp-review-author {
  font-weight: 700;
  color: var(--lp-dark);
  font-size: 0.9375rem;
}

/* ============================================
   10. FAQ
   ============================================ */
.lp-faq-section {
  background: #fff;
}

.lp-faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.lp-faq-item {
  border-bottom: 1px solid var(--lp-border);
}

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

.lp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--lp-font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--lp-dark);
  text-align: left;
  transition: color var(--lp-transition);
}

.lp-faq-question:hover {
  color: var(--lp-accent);
}

.lp-faq-icon {
  flex-shrink: 0;
  transition: transform var(--lp-transition);
  color: var(--lp-accent);
}

.lp-faq-item.lp-active .lp-faq-icon {
  transform: rotate(45deg);
}

.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.lp-faq-item.lp-active .lp-faq-answer {
  max-height: 400px;
}

.lp-faq-answer p {
  padding: 0 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--lp-text-muted);
}

.lp-faq-answer a {
  color: var(--lp-accent);
  text-decoration: underline;
}

/* ============================================
   11. Footer
   ============================================ */
.lp-footer {
  background: var(--lp-dark);
  color: rgba(255, 248, 240, 0.8);
  padding: 72px 0 0;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.lp-footer-heading {
  font-family: var(--lp-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--lp-light);
  margin-bottom: 16px;
}

.lp-footer-about {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.lp-footer-contact {
  list-style: none;
}

.lp-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.lp-footer-contact a {
  color: rgba(255, 248, 240, 0.8);
}

.lp-footer-contact a:hover {
  color: var(--lp-accent);
}

.lp-footer-socials {
  display: flex;
  gap: 16px;
}

.lp-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 248, 240, 0.08);
  color: rgba(255, 248, 240, 0.8);
  transition: all var(--lp-transition);
}

.lp-social-link:hover {
  background: var(--lp-accent);
  color: #fff;
  transform: translateY(-2px);
}

.lp-footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* ============================================
   Responsive — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .lp-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-hero-title {
    font-size: 3.75rem;
  }

  .lp-about-grid {
    gap: 40px;
  }

  .lp-about-img img {
    height: 380px;
  }

  .lp-locations-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   Responsive — 768px
   ============================================ */
@media (max-width: 768px) {
  .lp-section {
    padding: 72px 0;
  }

  .lp-section-title {
    font-size: 2rem;
  }

  .lp-hero-title {
    font-size: 2.75rem;
  }

  .lp-hero-tagline {
    font-size: 1.125rem;
  }

  /* Nav mobile */
  .lp-hamburger {
    display: flex;
  }

  .lp-nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--lp-dark);
    padding: 80px 32px 40px;
    gap: 0;
    transition: right var(--lp-transition);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  }

  .lp-nav-links.lp-open {
    right: 0;
  }

  .lp-nav-links li {
    width: 100%;
  }

  .lp-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 248, 240, 0.08);
  }

  .lp-nav-links a::after {
    display: none;
  }

  .lp-nav-cta {
    display: none;
  }

  /* About */
  .lp-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lp-about-img img {
    height: 300px;
  }

  .lp-about-text .lp-section-title {
    text-align: center;
  }

  /* Gallery */
  .lp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-gallery-item {
    height: 220px;
  }

  /* Reviews */
  .lp-reviews-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Footer */
  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   Responsive — 480px
   ============================================ */
@media (max-width: 480px) {
  .lp-section {
    padding: 56px 0;
  }

  .lp-section-title {
    font-size: 1.75rem;
  }

  .lp-hero-title {
    font-size: 2.25rem;
  }

  .lp-hero-tagline {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .lp-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .lp-btn {
    padding: 12px 28px;
    font-size: 0.9375rem;
    width: 100%;
    text-align: center;
  }

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

  .lp-gallery-grid {
    grid-template-columns: 1fr;
  }

  .lp-gallery-item {
    height: 240px;
  }

  .lp-schedule-table th,
  .lp-schedule-table td {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }

  .lp-demo-banner-inner {
    font-size: 0.8125rem;
    gap: 12px;
  }
}