/* ============================================
   La Garita Restaurant — Styles
   Puerto Rican Restaurant in Killeen, TX
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --blue-deep: #1b3a5c;
  --blue-dark: #142d48;
  --blue-accent: #2a5a8c;
  --red-brand: #c0392b;
  --red-dark: #a93226;
  --red-warm: #e74c3c;
  --gold-plantain: #d4a017;
  --gold-light: #f0c94b;
  --gold-soft: #f5e6b8;
  --white: #ffffff;
  --off-white: #faf8f5;
  --cream: #f5f0e8;
  --charcoal: #2d2d2d;
  --charcoal-light: #444444;
  --gray-medium: #777777;
  --gray-light: #e0dcd6;
  --overlay-dark: rgba(20, 20, 18, 0.65);
  --overlay-blue: rgba(27, 58, 92, 0.85);

  /* Typography */
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-padding: 5rem 1.5rem;
  --container-max: 1140px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-medium);
  max-width: 600px;
  line-height: 1.8;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.35);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--gold-plantain);
  color: var(--charcoal);
  border-color: var(--gold-plantain);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.35);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--blue-deep);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.header-logo img {
  height: 55px;
  width: auto;
}

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

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.25rem 0;
}

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

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

.nav-cta {
  background-color: var(--red-brand);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.3);
}

.nav-cta-order {
  background-color: var(--gold-plantain);
  color: var(--charcoal);
  border: none;
}

.nav-cta-order:hover {
  background-color: var(--gold-light);
  box-shadow: 0 3px 10px rgba(212, 160, 23, 0.4);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* Mobile nav checkbox hack */
.menu-state {
  display: none;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 71px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 45, 72, 0.82) 0%,
    rgba(44, 30, 20, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 750px;
}

.hero-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-plantain);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  justify-content: center;
}

/* --- About Section --- */
.about {
  padding: var(--section-padding);
  background-color: var(--white);
}

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

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-text .section-subtitle {
  margin-bottom: 1.5rem;
}

.about-text .accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--gold-plantain);
  margin-top: 1.5rem;
}

/* --- Featured Dishes --- */
.dishes {
  padding: var(--section-padding);
  background-color: var(--off-white);
}

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

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

.dish-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.dish-card-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.dish-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.dish-card:hover .dish-card-image img {
  transform: scale(1.05);
}

.dish-card-body {
  padding: 1.5rem;
}

.dish-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.dish-card-body p {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.7;
}

.dishes-cta {
  margin-top: 2.5rem;
}

/* --- Customer Reviews --- */
.reviews {
  padding: var(--section-padding);
  background-color: var(--white);
}

/* --- Order CTA Banner --- */
.order-banner {
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, var(--red-brand) 0%, var(--red-warm) 100%);
  color: var(--white);
}

.order-banner-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.order-banner-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Why Love Section --- */
.why-love {
  padding: var(--section-padding);
  background-color: var(--blue-deep);
  color: var(--white);
}

.why-love .section-label {
  color: var(--gold-plantain);
}

.why-love .section-title {
  color: var(--white);
}

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

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

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-base);
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.why-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--gold-plantain);
}

.why-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* --- Visit Us Section --- */
.visit {
  padding: var(--section-padding);
  background-color: var(--cream);
}

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

.visit-info {
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.visit-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
}

.visit-info address {
  font-style: normal;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.visit-info .phone-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-brand);
  margin-bottom: 1.5rem;
  transition: color var(--transition-fast);
}

.visit-info .phone-link:hover {
  color: var(--red-dark);
}

.hours-list {
  border-top: 1px solid var(--gray-light);
  padding-top: 1.25rem;
}

.hours-list h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.hours-list dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.5rem;
}

.hours-list dt {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.92rem;
}

.hours-list dd {
  color: var(--gray-medium);
  font-size: 0.92rem;
}

.hours-list dd.closed {
  color: var(--red-brand);
  font-weight: 500;
}

.visit-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4 / 3;
}

.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--gold-plantain);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

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

.footer-nav a {
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-powered a {
  color: var(--gold-plantain);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

/* ============================================
   Contact Page
   ============================================ */

/* --- Contact Hero --- */
.contact-hero {
  position: relative;
  padding: 7rem 1.5rem 5rem;
  background-color: var(--blue-deep);
  text-align: center;
  margin-top: 71px;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Contact Content --- */
.contact-content {
  padding: var(--section-padding);
  background-color: var(--white);
}

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

.contact-details {
  padding: 2.5rem;
  background-color: var(--off-white);
  border-radius: 8px;
  border-left: 4px solid var(--gold-plantain);
}

.contact-details h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  margin-bottom: 1rem;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.contact-info-item span,
.contact-info-item a {
  font-size: 1rem;
  color: var(--charcoal-light);
}

.contact-info-item a.phone-link {
  color: var(--red-brand);
  font-weight: 600;
  font-size: 1.15rem;
}

.contact-info-item a.phone-link:hover {
  color: var(--red-dark);
}

.contact-hours {
  margin-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
  padding-top: 1.5rem;
}

.contact-hours h3 {
  font-size: 1.1rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

/* --- Embedded Map --- */
.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   Area / Landing Pages
   ============================================ */

/* --- Delivery Options Grid --- */
.delivery-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.delivery-option-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.delivery-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.delivery-option-card .why-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.delivery-option-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.delivery-option-card p {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.7;
}

/* --- Area Cards Grid --- */
.area-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.area-card {
  display: block;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--gold-plantain);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.area-card-body {
  padding: 2rem;
}

.area-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.area-card-body p {
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.area-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-brand);
  transition: color var(--transition-fast);
}

.area-card:hover .area-card-link {
  color: var(--red-dark);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    order: -1;
  }

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

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

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

  .visit-image {
    order: -1;
  }

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

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

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

  .area-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-padding: 3.5rem 1rem;
  }

  /* Mobile Navigation */
  .header-nav {
    position: fixed;
    top: 71px;
    left: 0;
    width: 100%;
    background-color: var(--blue-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform var(--transition-base);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .menu-state:checked ~ .header-nav {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.5rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    background-position: right center;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Sections */
  .section-title {
    font-size: 1.9rem;
  }

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

  .why-love-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-hero h1 {
    font-size: 2rem;
  }

  .visit-info {
    padding: 1.5rem;
  }

  .contact-details {
    padding: 1.5rem;
  }

  .delivery-options-grid {
    grid-template-columns: 1fr;
  }

  .why-love-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
