/* Pat's Kitchen — Tropical Rainforest */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ===================== Variables ===================== */
:root {
  --bg:            #F0F7F4;
  --bg-alt:        #D4EDE1;
  --bg-card:       #F7FBF9;
  --bg-nav:        #0B2818;
  --text:          #1B4332;
  --text-muted:    #52796F;
  --text-light:    #EEF7F2;
  --accent:        #F4A261;
  --accent-dark:   #CF7A3A;
  --brown:         #2D6A4F;
  --brown-light:   #52B788;
  --border:        rgba(45, 106, 79, 0.18);
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 20px rgba(11, 40, 24, 0.12);
  --shadow-lg:     0 8px 32px rgba(11, 40, 24, 0.2);
  --transition:    0.25s ease;
  --font-head:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Lato', 'Helvetica Neue', Arial, sans-serif;
}

/* ===================== Reset ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ===================== Navbar ===================== */
.navbar {
  background-color: var(--bg-nav) !important;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.55);
}

.navbar-brand {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent) !important;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.navbar-brand .cross {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}
.nav-avatar {
  height: 160px;
  object-fit: contain;
  margin-left: 0.5rem;
}

.navbar-toggler { border-color: rgba(244,162,97,0.45); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212%2C160%2C23%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem !important;
  transition: color var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent) !important; }

/* ===================== Section Base ===================== */
section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
  color: var(--brown);
}
.section-divider {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 0.65rem auto 1rem;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 3rem;
  font-style: italic;
  font-family: var(--font-head);
}

/* ===================== Hero ===================== */
.hero {
  background: radial-gradient(ellipse at 40% 50%, #1B4332 0%, #0B2818 72%);
  color: var(--text-light);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent 0, transparent 3px,
    rgba(255,255,255,0.016) 3px, rgba(255,255,255,0.016) 6px
  );
  pointer-events: none;
}
.hero-slogan {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.hero-slogan::before, .hero-slogan::after {
  content: '✦';
  font-size: 0.55rem;
  opacity: 0.65;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 28px rgba(0,0,0,0.55);
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.75rem;
}

/* ===================== Buttons ===================== */
.btn-pk {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-pk-primary {
  background: var(--accent);
  color: var(--bg-nav);
  border-color: var(--accent);
}
.btn-pk-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-pk-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-pk-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-pk-brown {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.btn-pk-brown:hover {
  background: #1B4332;
  border-color: #1B4332;
  transform: translateY(-2px);
}

/* ===================== Featured Meal ===================== */
.featured-card {
  background: linear-gradient(135deg, #0B2818 0%, #1B4332 100%);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244,162,97,0.28);
  box-shadow: var(--shadow-lg);
}
.featured-card::after {
  content: '🍽';
  position: absolute;
  bottom: -16px;
  right: 12px;
  font-size: 9rem;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-nav);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.featured-title {
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.featured-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

/* ===================== Preview Cards (Home) ===================== */
.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.preview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.preview-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.preview-card h3 { font-size: 1.4rem; margin-bottom: 0.55rem; color: var(--brown); }
.preview-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex: 1; }

/* ===================== Faith / Scripture ===================== */
.faith-section {
  background: var(--bg-nav);
  padding: 4.5rem 0;
  text-align: center;
}
.faith-cross {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.faith-verse {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 0.85rem;
  line-height: 1.55;
}
.faith-ref {
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===================== Page Header ===================== */
.page-header {
  background: radial-gradient(ellipse at 40% 50%, #1B4332 0%, #0B2818 70%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent 0, transparent 3px,
    rgba(255,255,255,0.014) 3px, rgba(255,255,255,0.014) 6px
  );
  pointer-events: none;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 0.5rem;
}
.page-header p {
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.page-header-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.page-header-slogan::before, .page-header-slogan::after {
  content: '✦';
  font-size: 0.55rem;
  opacity: 0.65;
}

/* ===================== Menu Page ===================== */
.menu-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.35rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-nav);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.menu-card.specialty {
  border-color: var(--accent);
  border-width: 2px;
}
.specialty-badge {
  position: absolute;
  top: 0;
  right: 1.1rem;
  background: var(--accent);
  color: var(--bg-nav);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 0 0 6px 6px;
}
.menu-card.limited {
  border-color: #168AAD;
  border-width: 2px;
}
.limited-badge {
  position: absolute;
  top: 0;
  right: 1.1rem;
  background: #168AAD;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 0 0 6px 6px;
}
.menu-img {
  width: calc(100% + 3.2rem);
  max-width: none;
  height: 190px;
  object-fit: cover;
  display: block;
  margin: -1.6rem -1.6rem 1.25rem -1.6rem;
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: zoom-in;
  transition: filter 0.2s ease;
}
.menu-img:hover { filter: brightness(1.08); }
.menu-imgs {
  display: flex;
  gap: 0;
  width: calc(100% + 3.2rem);
  margin: -1.6rem -1.6rem 1.25rem -1.6rem;
  height: 190px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.menu-imgs img {
  flex: 1;
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  cursor: zoom-in;
  transition: filter 0.2s ease;
}
.menu-imgs img:hover { filter: brightness(1.08); }
.menu-imgs img:first-child { border-radius: var(--radius) 0 0 0; }
.menu-imgs img:last-child  { border-radius: 0 var(--radius) 0 0; }

/* ===================== Lightbox ===================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.7);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.8);
}
.menu-emoji { font-size: 2.25rem; margin-bottom: 0.75rem; display: block; }
.menu-card h4 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--brown); }
.menu-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.7rem; line-height: 1.55; }
.menu-price { font-weight: 700; color: var(--accent-dark); font-size: 0.92rem; }

.menu-section-label {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--brown);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===================== Catering Page ===================== */
.catering-highlight {
  background: linear-gradient(135deg, #0B2818, #1B4332);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #fff;
  border: 1px solid rgba(244,162,97,0.25);
}
.catering-highlight h3 { color: var(--accent); margin-bottom: 0.5rem; }
.catering-highlight p { color: rgba(255,255,255,0.72); }

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.info-card h4 { font-size: 1.2rem; color: var(--brown); margin-bottom: 1rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 0.45rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* Form */
.form-pk { }
.form-pk .form-label { font-size: 0.88rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.3rem; letter-spacing: 0.03em; }
.form-pk .form-control,
.form-pk select,
.form-pk textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-pk .form-control:focus,
.form-pk select:focus,
.form-pk textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,162,97,0.16);
  background: #fff;
}
.form-pk textarea { resize: vertical; min-height: 130px; }

/* ===================== About Page ===================== */
.about-lead { font-size: 1.1rem; line-height: 1.85; color: var(--text); }
.about-faith-card {
  background: linear-gradient(135deg, #0B2818, #1B4332);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(244,162,97,0.25);
}
.about-faith-card h3 { color: var(--accent); font-size: 1.8rem; margin: 1rem 0 0.75rem; }
.about-faith-card p { color: rgba(255,255,255,0.72); max-width: 500px; margin: 0 auto; }

.values-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  text-align: center;
}
.values-card .val-icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.values-card h4 { font-size: 1.1rem; color: var(--brown); margin-bottom: 0.5rem; }
.values-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===================== Footer ===================== */
footer {
  background: var(--bg-nav);
  border-top: 2px solid var(--accent);
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.footer-slogan { font-style: italic; font-size: 0.82rem; opacity: 0.65; margin-bottom: 1.25rem; }
.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.footer-links a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ===================== Animations ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .hero { padding: 5rem 0 4rem; }
  .hero-title { font-size: 2.8rem; }
  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.85rem; }
  .featured-card { padding: 2rem 1.5rem; }
  .featured-title { font-size: 1.6rem; }
}
