/*
Theme Name:  Anika Catering & Events
Theme URI:   https://anikacatering.com
Author:      Anika Catering Team
Author URI:  https://anikacatering.com
Description: A premium, elegant WordPress theme for catering companies, event planners, and food-focused businesses. Features custom post types for Services and Events, full Gutenberg support, and a deep-green & gold design system.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anika-catering
Tags:        catering, events, food, restaurant, elegant, one-page, custom-menu, featured-images
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --green-deep:  #1E2D1F;
  --green-mid:   #2C4A2E;
  --green-light: #3A5E3C;
  --green-bg:    #0F1A10;
  --gold:        #C9A84C;
  --gold-light:  #E2C472;
  --cream:       #F7F2E8;
  --cream-dark:  #EDE6D6;
  --white:       #FFFFFF;
  --text-dark:   #1a1a1a;
  --text-muted:  #666666;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Jost', sans-serif;
  --transition:  all 0.3s ease;
  --shadow-sm:   0 4px 16px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:   0 16px 56px rgba(0,0,0,0.14);
  --radius:      2px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }
input, select, textarea { font-family: var(--sans); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute; top: -100%; left: 8px;
  background: var(--gold); color: var(--green-deep);
  padding: 8px 16px; border-radius: var(--radius);
  font-weight: 600; z-index: 10000; transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.section-label {
  font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.section-label--center { justify-content: center; }
.section-label--center::before { display: none; }
.section-label--light { color: rgba(201,168,76,0.8); }
.section-label--light::before { background: rgba(201,168,76,0.4); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--green-deep); line-height: 1.2; margin-bottom: 18px;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-title--white { color: var(--white); }

.section-desc { color: var(--text-muted); line-height: 1.9; font-weight: 300; }
.section-desc--white { color: rgba(255,255,255,0.65); }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; transition: var(--transition);
  border: 1.5px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.btn-dark:hover { background: var(--green-mid); transform: translateY(-2px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
#site-header.scrolled {
  background: var(--green-deep);
  box-shadow: 0 2px 30px rgba(0,0,0,0.25);
  height: 68px;
}
#site-header.solid { background: var(--green-deep); box-shadow: 0 2px 30px rgba(0,0,0,0.25); }

.site-branding { display: flex; align-items: center; gap: 10px; }
.site-logo-icon {
  width: 38px; height: 38px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--gold);
  flex-shrink: 0;
}
.site-title {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.5px;
}
.site-title span { color: var(--gold); }

#primary-navigation { display: flex; align-items: center; gap: 0; }
#primary-navigation .menu { display: flex; gap: 36px; align-items: center; }
#primary-navigation .menu-item a {
  color: rgba(255,255,255,0.88); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s;
  position: relative; padding: 4px 0;
}
#primary-navigation .menu-item a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
#primary-navigation .menu-item a:hover,
#primary-navigation .menu-item.current-menu-item a { color: var(--gold); }
#primary-navigation .menu-item a:hover::after,
#primary-navigation .menu-item.current-menu-item a::after { width: 100%; }
#primary-navigation .menu-item.menu-cta a {
  background: var(--gold); color: var(--green-deep); padding: 10px 26px;
  border-radius: var(--radius); font-weight: 600;
}
#primary-navigation .menu-item.menu-cta a::after { display: none; }
#primary-navigation .menu-item.menu-cta a:hover { background: var(--gold-light); color: var(--green-deep); }

/* Mobile toggle */
.menu-toggle {
  display: none; background: none; border: none; padding: 4px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--white); display: block; transition: all 0.3s; }

/* Mobile menu overlay */
#mobile-menu {
  position: fixed; inset: 0; background: var(--green-deep); z-index: 998;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a {
  color: var(--white); font-family: var(--serif); font-size: 2rem; transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--gold); }
#mobile-menu .btn-gold { font-family: var(--sans); font-size: 0.85rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  height: 440px; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  margin-top: 80px;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(16,28,17,0.75); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 {
  font-family: var(--serif); font-size: clamp(2.4rem,5vw,4rem);
  color: var(--white); font-weight: 700; margin-top: 8px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 18px; font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 1px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover, .breadcrumb span { color: var(--gold); }

/* ============================================================
   HERO SECTION (homepage)
   ============================================================ */
.hero-section {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16,28,17,0.72) 0%, rgba(16,28,17,0.55) 50%, rgba(16,28,17,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero-eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 6px 18px;
}
.hero-content h1 {
  font-family: var(--serif); font-size: clamp(2.8rem,6vw,5rem); font-weight: 700;
  color: var(--white); line-height: 1.12; margin-bottom: 22px;
}
.hero-content h1 em { color: var(--gold); font-style: italic; }
.hero-content .hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.78); line-height: 1.8;
  max-width: 580px; margin: 0 auto 38px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-main { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: 16px 16px 0 var(--gold); }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 160px; background: var(--green-deep);
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white); text-align: center; border: 4px solid var(--gold);
}
.about-img-badge strong { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--gold); }
.about-img-badge span { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.about-stats { display: flex; gap: 36px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--cream-dark); }
.stat strong { font-family: var(--serif); font-size: 2.2rem; color: var(--green-deep); display: block; line-height: 1; }
.stat span { font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; display: block; }
.stat em { color: var(--gold); font-style: normal; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card {
  background: var(--green-deep); padding: 48px 36px;
  border-radius: var(--radius); position: relative; overflow: hidden;
  transition: transform 0.3s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--green-mid); transform: translateY(100%); transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card:hover::before { transform: translateY(0); }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 64px; height: 64px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 28px; transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--gold); }
.service-card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 12px; }
.service-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.8; font-weight: 300; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--gold);
  font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  margin-top: 24px; font-weight: 500; transition: gap 0.2s;
}
.service-link:hover { gap: 14px; }

/* ============================================================
   MENU FEATURE SECTION
   ============================================================ */
.menu-feature { background: var(--green-deep); }
.menu-feature-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.menu-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.menu-feature-card { position: relative; overflow: hidden; height: 360px; cursor: pointer; }
.menu-feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-feature-card:hover img { transform: scale(1.07); }
.menu-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,28,17,0.92) 0%, rgba(16,28,17,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.menu-feature-tag { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.menu-feature-card h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 8px; }
.menu-feature-card p {
  color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.7; font-weight: 300;
  transform: translateY(10px); opacity: 0; transition: all 0.3s 0.1s;
}
.menu-feature-card:hover p { opacity: 1; transform: translateY(0); }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.why-card {
  text-align: center; padding: 44px 28px; background: var(--white);
  border-radius: var(--radius); border-bottom: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.why-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 2.2rem; margin-bottom: 20px; display: block; }
.why-card h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--green-deep); margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; font-weight: 300; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section { background: var(--white); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto auto; gap: 10px; }
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '✦'; position: absolute; inset: 0; background: rgba(16,28,17,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 2rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-item:nth-child(1) img { height: 520px; }
.gallery-item:nth-child(2) img,.gallery-item:nth-child(3) img,
.gallery-item:nth-child(4) img,.gallery-item:nth-child(5) img,
.gallery-item:nth-child(6) img { height: 255px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--cream-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); padding: 40px 32px; border-radius: var(--radius);
  position: relative; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-mark {
  font-family: var(--serif); font-size: 5rem; line-height: 0.6;
  color: var(--gold); opacity: 0.25; position: absolute; top: 28px; left: 28px;
}
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 18px; }
.testimonial-card blockquote {
  font-size: 0.93rem; line-height: 1.85; color: var(--text-muted);
  font-weight: 300; font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.author-name { font-weight: 600; font-size: 0.88rem; color: var(--green-deep); }
.author-role { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.5px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-light) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--serif); font-size: clamp(1.8rem,3.5vw,2.8rem);
  color: var(--white); max-width: 660px; margin: 8px auto 16px; line-height: 1.25;
}
.cta-banner h2 em { color: var(--gold); font-style: italic; }
.cta-banner .section-desc { max-width: 480px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--green-deep); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  text-align: center; padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; display: block; }
.stat-label { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; display: block; }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.team-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.team-img { width: 100%; height: 340px; object-fit: cover; display: block; transition: transform 0.5s; }
.team-card:hover .team-img { transform: scale(1.05); }
.team-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(16,28,17,0.95) 0%, transparent 100%);
  padding: 24px 20px; transform: translateY(48px); transition: transform 0.4s;
}
.team-card:hover .team-overlay { transform: translateY(0); }
.team-name { font-family: var(--serif); font-size: 1.15rem; color: var(--white); margin-bottom: 4px; }
.team-role { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--green-bg); color: rgba(255,255,255,0.7); }
.footer-top { padding: 72px 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.9; font-weight: 300; margin: 18px 0 24px; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }
.footer-col h4 {
  font-family: var(--serif); font-size: 1rem; color: var(--white);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.86rem; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.86rem; font-weight: 300; }
.footer-contact-item .icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--gold); }

/* ============================================================
   WORDPRESS CORE — ALIGNMENT CLASSES
   ============================================================ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.sticky { border-left: 3px solid var(--gold); padding-left: 20px; }
.bypostauthor {}
.gallery { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   SINGLE POST / PAGE CONTENT
   ============================================================ */
.entry-header { padding: 40px 0 24px; }
.entry-title { font-family: var(--serif); font-size: clamp(1.8rem,3.5vw,3rem); color: var(--green-deep); line-height: 1.2; margin-bottom: 12px; }
.entry-meta { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.5px; }
.entry-meta a { color: var(--gold); }
.entry-content { padding: 32px 0 64px; }
.entry-content p { color: var(--text-muted); line-height: 1.9; font-weight: 300; margin-bottom: 18px; }
.entry-content h2,.entry-content h3 { font-family: var(--serif); color: var(--green-deep); margin: 28px 0 12px; }
.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.entry-content a:hover { border-color: var(--gold); }
.entry-content ul,.entry-content ol { padding-left: 24px; margin-bottom: 18px; }
.entry-content li { color: var(--text-muted); line-height: 1.8; font-weight: 300; margin-bottom: 6px; }
.entry-content blockquote {
  border-left: 3px solid var(--gold); padding: 16px 24px; margin: 24px 0;
  background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content blockquote p { font-style: italic; font-family: var(--serif); color: var(--green-deep); }

/* ============================================================
   CUSTOM POST TYPES — SERVICE ARCHIVE
   ============================================================ */
.services-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; padding: 64px 0; }
.service-archive-card {
  border: 1px solid var(--cream-dark); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-archive-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-archive-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.service-archive-body { padding: 28px 24px; }
.service-archive-body h2 { font-family: var(--serif); font-size: 1.25rem; color: var(--green-deep); margin-bottom: 10px; }
.service-archive-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.service-price-tag { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ============================================================
   CUSTOM POST TYPES — EVENTS ARCHIVE
   ============================================================ */
.events-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; padding: 64px 0; }
.event-card {
  border: 1px solid var(--cream-dark); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card-img { width: 100%; height: 200px; object-fit: cover; display: block; position: relative; }
.event-date-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--green-deep);
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
}
.event-card-body { padding: 24px 22px; }
.event-card-body h2 { font-family: var(--serif); font-size: 1.15rem; color: var(--green-deep); margin-bottom: 10px; }
.event-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.event-meta span { display: flex; align-items: center; gap: 8px; font-weight: 300; }

/* ============================================================
   SIDEBAR & WIDGETS
   ============================================================ */
.widget-area { display: flex; flex-direction: column; gap: 32px; }
.widget { background: var(--cream); padding: 28px; border-radius: var(--radius); }
.widget-title { font-family: var(--serif); font-size: 1.1rem; color: var(--green-deep); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(201,168,76,0.3); }
.widget ul { display: flex; flex-direction: column; gap: 10px; }
.widget ul li { font-size: 0.88rem; color: var(--text-muted); padding-bottom: 10px; border-bottom: 1px solid var(--cream-dark); font-weight: 300; }
.widget ul li a { color: var(--text-muted); transition: color 0.2s; }
.widget ul li a:hover { color: var(--gold); }

/* ============================================================
   FORMS (Comments, Search, Contact Form 7)
   ============================================================ */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.wpcf7-text, .wpcf7-email, .wpcf7-textarea, .wpcf7-select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--cream-dark); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.92rem; color: var(--text-dark);
  background: var(--cream); transition: border-color 0.2s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.comment-form input:focus,.wpcf7-text:focus,.wpcf7-email:focus,.wpcf7-textarea:focus { border-color: var(--gold); background: var(--white); }
.comment-form .submit,
.wpcf7-submit {
  background: var(--green-deep); color: var(--white);
  border: none; padding: 13px 32px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.comment-form .submit:hover,.wpcf7-submit:hover { background: var(--green-mid); }
.wpcf7-response-output { font-size: 0.85rem; padding: 10px 16px; border-radius: var(--radius); margin-top: 12px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 48px 0; }
.page-numbers {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--cream-dark); border-radius: var(--radius);
  font-size: 0.88rem; color: var(--text-muted); transition: var(--transition);
}
.page-numbers:hover,.page-numbers.current { background: var(--green-deep); color: var(--gold); border-color: var(--green-deep); }

/* ============================================================
   DIVI BUILDER COMPATIBILITY OVERRIDES
   When a page is built with Divi (body has .anika-divi-built),
   neutralise theme-level container/section constraints so Divi's
   own full-width rows, modules, and spacing render exactly as
   designed in the Divi Builder without fighting theme defaults.
   ============================================================ */
body.anika-divi-built #main,
body.anika-divi-built .entry-content {
  max-width: none;
  padding: 0;
  margin: 0;
}
body.anika-divi-built .container {
  max-width: none;
  padding: 0;
}
body.anika-divi-built .page-hero {
  display: none; /* Divi pages typically build their own hero row */
}
/* Keep Divi's own modules unaffected by theme typography resets */
body.anika-divi-built #et-boc,
body.anika-divi-built .et-l,
body.anika-divi-built .et_pb_section {
  all: revert;
}
body.anika-divi-built .et_pb_section * {
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .services-archive-grid,.events-archive-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  #site-header { padding: 0 24px; }
  #primary-navigation { display: none; }
  .menu-toggle { display: flex; }
  .container { padding: 0 24px; }
  .section-pad { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-main { height: 360px; }
  .services-grid { grid-template-columns: 1fr; }
  .menu-cards-grid { grid-template-columns: 1fr; }
  .menu-feature-head { flex-direction: column; gap: 16px; align-items: flex-start; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: 1 / span 2; }
  .gallery-item:nth-child(1) img { height: 300px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gallery-head { flex-direction: column; gap: 12px; align-items: flex-start; }
  .services-archive-grid,.events-archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: 1; }
  .about-stats { flex-direction: column; gap: 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
