/*
Theme Name: Anne's Catering
Theme URI: https://annesfilipinocatering.com
Description: Custom block theme for Anne's Filipino Catering
Author: Anne's Filipino Catering
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: Private
Template:
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --terracotta: #C4572A;
  --terracotta-dark: #a3451f;
  --terracotta-light: #d4724a;
  --gold: #E8A830;
  --cream: #FAF6EF;
  --brown: #3B1F0E;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(59,31,14,0.10);
  --shadow-lg: 0 8px 40px rgba(59,31,14,0.16);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove default WP margins */
.wp-site-blocks { padding: 0 !important; }
.wp-block-template-part { display: contents; }

/* ============================================================
   HEADER
   ============================================================ */
.afc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(250,246,239,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,87,42,0.12);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  font-family: var(--font-body);
}

.afc-logo {
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}
.afc-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
  display: block;
}
.afc-logo-tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}

.afc-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.afc-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.afc-nav a:hover { color: var(--terracotta); }
.afc-nav-cta {
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.afc-nav-cta:hover { background: var(--terracotta-dark) !important; }

.afc-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10001;
}
.afc-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}
.afc-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.afc-hamburger.open span:nth-child(2) { opacity: 0; }
.afc-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.afc-mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(196,87,42,0.12);
  padding: 1.5rem 5%;
  flex-direction: column;
  gap: 0;
  z-index: 9998;
  box-shadow: 0 8px 24px rgba(59,31,14,0.1);
}
.afc-mobile-menu.open { display: flex; }
.afc-mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(196,87,42,0.08);
  transition: color 0.2s;
}
.afc-mobile-menu a:hover { color: var(--terracotta); }
.afc-mobile-menu .afc-mobile-cta {
  margin-top: 1rem;
  background: var(--terracotta);
  color: #fff !important;
  text-align: center;
  padding: 0.9rem;
  border-radius: 100px;
  font-weight: 600;
  border-bottom: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,87,42,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
section { padding: 6rem 5%; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--terracotta); }
.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 560px;
  line-height: 1.7;
}
.section-header { margin-bottom: 3.5rem; }

/* ============================================================
   FAQ (used on homepage + contact)
   ============================================================ */
.faq { background: var(--cream); }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(196,87,42,0.12);
  padding: 1.5rem 0;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--terracotta);
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
}
.faq-a {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
  margin-top: 1rem;
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '−'; }

/* ============================================================
   FOOTER
   ============================================================ */
.afc-footer {
  background: var(--brown);
  padding: 3.5rem 5% 2rem;
  font-family: var(--font-body);
  color: rgba(250,246,239,0.6);
}
.afc-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.afc-footer-serving {
  font-size: 0.8rem;
  color: rgba(250,246,239,0.4);
  line-height: 1.6;
  margin-top: 1.25rem;
}
.afc-footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.afc-footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
  color: rgba(250,246,239,0.6);
}
.afc-footer-socials { display: flex; gap: 0.75rem; }
.afc-footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.2s;
}
.afc-footer-social:hover { border-color: var(--gold); color: var(--gold); }
.afc-footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.afc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.afc-footer-col a {
  font-size: 0.875rem;
  color: rgba(250,246,239,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.afc-footer-col a:hover { color: #fff; }
.afc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE (shared — header + footer only)
   ============================================================ */
@media (max-width: 768px) {
  .afc-nav { display: none; }
  .afc-hamburger { display: flex; }
  .afc-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
  .afc-footer-brand { grid-column: 1 / -1; }
  .afc-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
