/* ==========================================================================
   OFM Layout 3 — Header & Hero Stylesheet (Derived from OFM1)
   Applies exclusively to: Topbar, Navbar Header, and Hero Banner / Slider.
   All other sections are styled by css/style.css (from OFM2).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOPBAR
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   1. SCROLLING TICKER SECTION (At Top of Header)
   -------------------------------------------------------------------------- */
.header-ticker-bar {
  background-color: #350808;
  color: #ffffff;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  padding: 5px 0;
  position: relative;
  z-index: 1060;
  overflow: hidden;
}

.ticker-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ticker-mass-schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f7ede8;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}

.ticker-mass-schedule i {
  color: #e5c175;
  font-size: 0.85rem;
}

.ticker-v-divider {
  width: 1px;
  height: 18px;
  background: rgba(197, 160, 89, 0.45);
  flex-shrink: 0;
}

.ticker-marquee-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #813121 0%, #a4432f 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ticker-badge i {
  color: #e5c175;
  font-size: 0.8rem;
}

.ticker-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 25px, black calc(100% - 25px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25px, black calc(100% - 25px), transparent);
}

.ticker-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: headerMarqueeScroll 40s linear infinite;
  will-change: transform;
}

.header-ticker-bar:hover .ticker-marquee-track {
  animation-play-state: paused;
}

.ticker-item {
  color: #f7ede8;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: #e5c175;
}

.ticker-item .text-gold {
  color: #c5a059 !important;
  font-size: 0.78rem;
}

.ticker-separator {
  color: #c5a059;
  font-size: 0.85rem;
  opacity: 0.75;
}

@keyframes headerMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   2. SEPARATE MENU SECTION (Positioned Above the Header)
   -------------------------------------------------------------------------- */
.site-menu-bar {
  background-color: #400b0b;
  color: #ffffff;
  border-bottom: 2px solid #c5a059;
  position: sticky;
  top: 0;
  z-index: 1050;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  box-shadow: 0 4px 18px rgba(64, 11, 11, 0.18);
  transition: padding 0.3s ease, background 0.3s ease;
}

.site-menu-bar.scrolled {
  background-color: rgba(56, 8, 8, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.menu-bar-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-bar-mobile-row {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.menu-mobile-caption {
  color: #e5c175;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.site-menu-bar .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu-bar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.93rem;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: #f7ede8;
  position: relative;
  padding: 0.82rem 0.2rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-menu-bar .nav-link i {
  font-size: 0.85em;
  opacity: 0.85;
}

.site-menu-bar .nav-link .fa-chevron-down {
  font-size: 0.65em;
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.site-menu-bar .nav-link:hover {
  color: #e5c175;
}

.site-menu-bar .nav-link.active {
  color: #ffffff;
  font-weight: 700;
}

.site-menu-bar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #e5c175;
  transition: width 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.site-menu-bar .nav-link:hover::after,
.site-menu-bar .nav-link.active::after {
  width: 100%;
}

/* Dropdown styling */
.site-menu-bar .dropdown {
  position: relative;
}

.site-menu-bar .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  min-width: 16rem;
  max-width: min(18rem, 90vw);
  width: max-content;
  padding: 0.6rem;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(64, 11, 11, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-menu-bar .dropdown-menu li {
  list-style: none;
}

.site-menu-bar .dropdown-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  color: #321818;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  transition: 0.2s ease;
}

.site-menu-bar .dropdown-menu a:hover,
.site-menu-bar .dropdown-menu a:focus-visible,
.site-menu-bar .dropdown-menu a.active {
  color: #400b0b;
  background: #fbf7f4;
  padding-left: 1.1rem;
}

.site-menu-bar .dropdown:hover .dropdown-menu,
.site-menu-bar .dropdown:focus-within .dropdown-menu,
.site-menu-bar .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-menu-bar .mobile-toggle {
  display: none;
  font-size: 1.35rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(229, 193, 117, 0.4);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.site-menu-bar .mobile-toggle:hover {
  background: #813121;
}

/* --------------------------------------------------------------------------
   3. MAIN HEADER SECTION (Logo Area & Right-Side Info)
   -------------------------------------------------------------------------- */
.header-main-area {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(64, 11, 11, 0.1);
  padding: 0.9rem 0;
  position: relative;
  z-index: 1040;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  box-shadow: 0 4px 14px rgba(64, 11, 11, 0.04);
}

.header-main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.header-brand:hover {
  opacity: 0.92;
}

.header-brand .brand-emblem {
  width: 105px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-brand:hover .brand-emblem {
  transform: scale(1.05);
}

.header-brand .brand-emblem img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.header-brand .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 2px solid #c5a059;
  padding-left: 1.2rem;
  margin-left: 0.35rem;
}

.header-brand .brand-prefix {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: #813121;
  line-height: 1.2;
  margin-bottom: 2px;
}

.header-brand .brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.45rem, 1.8vw, 1.95rem);
  font-weight: 800;
  color: #400b0b;
  letter-spacing: 1px;
  line-height: 1.12;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-brand:hover .brand-name {
  color: #813121;
}

.header-brand .brand-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Cinzel', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #813121;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1;
}

.header-brand .tagline-badge {
  color: #c5a059;
  font-weight: 800;
  letter-spacing: 2px;
}

.header-brand .tagline-dot {
  color: #c5a059;
  font-size: 0.75rem;
  line-height: 0;
}

.header-brand .tagline-region {
  color: #813121;
  font-weight: 700;
  letter-spacing: 2.5px;
}

/* Right-side elements: Contact, Socials & Prayer Request */
.header-right-side {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-contact-group {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #2c1e1e;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-contact-item:hover {
  transform: translateY(-2px);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(129, 49, 33, 0.08);
  color: #813121;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid rgba(129, 49, 33, 0.16);
  transition: all 0.25s ease;
}

.header-contact-item:hover .contact-item-icon {
  background: #813121;
  color: #ffffff;
  border-color: #813121;
  box-shadow: 0 4px 12px rgba(129, 49, 33, 0.25);
}

.contact-item-body {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #813121;
  line-height: 1.2;
  white-space: nowrap;
}

.contact-item-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #3b0909;
  line-height: 1.3;
  white-space: nowrap;
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 11, 11, 0.06);
  color: #400b0b;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(64, 11, 11, 0.12);
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  background: #813121;
  color: #ffffff;
  border-color: #813121;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(129, 49, 33, 0.25);
}

.btn-header-prayer {
  background: linear-gradient(135deg, #813121 0%, #400b0b 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(64, 11, 11, 0.22);
  border: 1px solid rgba(197, 160, 89, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-header-prayer i {
  color: #e5c175;
  font-size: 0.95rem;
}

.btn-header-prayer:hover {
  background: linear-gradient(135deg, #a4432f 0%, #813121 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 11, 11, 0.32);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. THREE-COLUMN CELEBRATIONS SECTION (Birthdays, Feast Days & Ordination Days)
   -------------------------------------------------------------------------- */
.celebrations-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.celebration-card-clean {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #ece3d7;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(64, 11, 11, 0.04);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.celebration-card-clean::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-terracotta, #813121), var(--color-gold, #c5a059));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.celebration-card-clean:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(64, 11, 11, 0.09);
  border-color: rgba(197, 160, 89, 0.55);
}

.celebration-card-clean:hover::before {
  opacity: 1;
}

/* Friar Avatar - Larger Size & Luxury Frame */
.celebration-img-wrap {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 3px solid #c5a059;
  box-shadow: 0 6px 18px rgba(64, 11, 11, 0.14);
  background: #fbf7f4;
}

.celebration-img-wrap.feast-ring {
  border-color: #9c7228;
}

.celebration-img-wrap.ordination-ring {
  border-color: #813121;
}

.celebration-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.celebration-card-clean:hover .celebration-img {
  transform: scale(1.08);
}

.celebration-card-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.celebration-name {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-maroon-dark, #400b0b);
  line-height: 1.25;
  margin: 0;
  word-break: break-word;
}

.celebration-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-terracotta, #813121);
  background: rgba(129, 49, 33, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  width: fit-content;
  border: 1px solid rgba(129, 49, 33, 0.16);
}

.celebration-feast-col .celebration-date {
  color: #9c7228;
  background: rgba(156, 114, 40, 0.09);
  border-color: rgba(156, 114, 40, 0.2);
}

.celebration-ordination-col .celebration-date {
  color: #813121;
  background: rgba(129, 49, 33, 0.08);
  border-color: rgba(129, 49, 33, 0.16);
}

.celebration-col-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #F1E9DE;
  position: relative;
}

.celebration-col-header .col-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(64, 11, 11, 0.12);
}

.celebration-col-header .col-header-title {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-maroon-dark, #400b0b);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.ordination-header::after {
  background: var(--color-maroon-dark, #400b0b);
}

.ordination-header .col-header-icon {
  background: linear-gradient(135deg, #400b0b 0%, #813121 100%);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. HERO BANNER / IMAGE SLIDER
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 560px;
  max-height: 750px;
  overflow: hidden;
  background-color: #290606;
  margin: 0;
  padding: 0;
}

.hero-section::before,
.hero-section::after {
  display: none !important;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(359deg, rgba(92, 3, 3, 0.72) 0%, rgb(64 11 11 / 0%) 50%, rgb(64 11 11 / 0%) 100%);
  display: flex;
  align-items: self-end;
  justify-content: flex-start;
  z-index: 3;
  /* padding: 2rem 0; */
  box-sizing: border-box;
}

.hero-content {
  color: #ffffff;
  max-width: 650px;
  padding-left: 1.5rem;
  border-left: 3px solid #b9775d;
  position: relative;
  top: 50% !important;
  padding-bottom: 0px;
  margin: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(129, 49, 33, 0.55);
  border: 1px solid rgba(228, 182, 159, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff4ee;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #e4b69f;
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.8rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #b9775d;
  color: #ffffff;
  border-color: #b9775d;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 2rem;
}

.slider-arrow.next {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s ease;
}

.slider-dots .dot.active {
  width: 36px;
  border-radius: 6px;
  background: #b9775d;
}

/* Mobile Backdrop & Drawer Styles */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 10, 10, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header {
  display: none;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE BREAKPOINTS (Header & Celebrations)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header-main-container {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .header-right-side {
    gap: 1.25rem;
  }

  .header-contact-group {
    gap: 1.2rem;
  }

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

@media (max-width: 1100px) {
  .site-menu-bar .nav-menu {
    gap: 0.85rem;
  }

  .site-menu-bar .nav-link {
    font-size: 0.86rem;
    padding: 0.75rem 0.15rem;
  }
}

@media (max-width: 1600px) {

  .dropdown.dropdown-more .dropdown-menu,
  .nav-menu>li:last-child .dropdown-menu {
    left: auto;
    right: -30px !important;
  }
}

@media (max-width: 991px) {
  .menu-bar-mobile-row {
    display: flex;
  }

  .site-menu-bar .mobile-toggle {
    display: flex;
  }

  .site-menu-bar .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    display: block;
    padding: 0 0 2rem;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1200;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scroll-behavior: auto;
    gap: 0;
  }

  .site-menu-bar .nav-menu.active {
    transform: translateX(0);
  }

  /* Mobile Drawer Header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(129, 49, 33, 0.12);
    background: #fdfaf7;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .mobile-nav-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #400b0b;
  }

  .mobile-drawer-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .mobile-nav-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(129, 49, 33, 0.08);
    border: none;
    color: #400b0b;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:focus {
    background: #813121;
    color: #ffffff;
    transform: rotate(90deg);
    outline: none;
  }

  .site-menu-bar .nav-menu>li:not(.mobile-nav-header) {
    width: 100%;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .site-menu-bar .nav-menu>.mobile-nav-header {
    flex: 0 0 auto;
  }

  .site-menu-bar .nav-menu .nav-link {
    font-size: 0.95rem;
    padding: 0.9rem 1.4rem;
    color: #321818;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-menu-bar .nav-menu .nav-link:hover,
  .site-menu-bar .nav-menu .nav-link.active {
    background: rgba(129, 49, 33, 0.05);
    color: #813121;
  }

  .site-menu-bar .nav-menu .nav-link::after {
    display: none;
  }

  .site-menu-bar .nav-menu .nav-link .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    color: #813121;
  }

  .dropdown.open>.nav-link .fa-chevron-down {
    transform: rotate(180deg);
  }

  /* Dropdown Menu in Mobile Accordion */
  .site-menu-bar .dropdown-menu,
  .site-menu-bar .dropdown.dropdown-more .dropdown-menu,
  .site-menu-bar .nav-menu>li:last-child .dropdown-menu {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.3rem 0.5rem 0.6rem 1.5rem;
    background: #fbf7f4;
    display: none;
    animation: fadeInSlide 0.25s ease;
  }

  @keyframes fadeInSlide {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .dropdown.open>.dropdown-menu {
    display: block;
  }

  .site-menu-bar .dropdown-menu li {
    width: 100%;
  }

  .site-menu-bar .dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem 0.6rem 0.8rem;
    font-size: 0.88rem;
    color: #4a2828;
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
  }

  .site-menu-bar .dropdown-menu a:hover,
  .site-menu-bar .dropdown-menu a:focus {
    color: #813121;
    background: rgba(129, 49, 33, 0.08);
    border-left-color: #813121;
    padding-left: 1.1rem;
  }

  .celebrations-three-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-section {
    height: 75vh;
    min-height: 520px;
  }

  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .header-main-area {
    padding: 0.75rem 0;
  }

  .header-main-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-brand .brand-emblem {
    width: 60px;
    height: 44px;
  }

  .header-brand .brand-prefix {
    font-size: 0.52rem;
    letter-spacing: 1.5px;
  }

  .header-brand .brand-name {
    font-size: 1.1rem;
    letter-spacing: 0.3px;
  }

  .header-brand .brand-tagline {
    font-size: 0.55rem;
    letter-spacing: 1.2px;
  }

  .header-right-side {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-contact-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .header-action-group {
    width: 100%;
    justify-content: space-between;
  }

  .hero-section {
    height: 70vh;
    min-height: 480px;
  }

  .hero-content {
    padding-left: 1rem;
    max-width: 100%;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-arrow.prev {
    left: 0.8rem;
  }

  .slider-arrow.next {
    right: 0.8rem;
  }

  .slider-dots {
    bottom: 1.2rem;
  }
}

@media (max-width: 480px) {
  .header-ticker-bar {
    font-size: 0.75rem;
  }

  .ticker-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .celebration-card-clean {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
    padding: 1.2rem 1rem;
  }

  .celebration-date {
    margin: 0 auto;
  }

  .hero-section {
    height: 65vh;
    min-height: 440px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
    letter-spacing: 1px;
  }

  .slider-arrow {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. OPENING BALANCE
   -------------------------------------------------------------------------- */
.hero-section {
  height: clamp(360px, 52vh, 560px);
  min-height: 0;
  max-height: none;
}

.hero-slide-bg {
  /* object-fit: contain !important; */
  background-color: #290606;
}

.hero-section+.welcome-section {
  min-height: clamp(380px, 48vh, 520px);
  padding: clamp(2.25rem, 4.5vh, 4.5rem) 0;
  display: flex;
  align-items: center;
}

.hero-section+.welcome-section .welcome-grid {
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-section+.welcome-section .portrait-img {
  /* height: clamp(240px, 34vh, 340px); */
  object-fit: contain;
  background-color: var(--color-bg-warm);
}

@media (max-width: 768px) {
  .hero-section {
    height: clamp(300px, 45vh, 420px);
  }

  .hero-section+.welcome-section {
    min-height: 0;
    padding: 3.5rem 0 4rem;
    display: block;
  }

  .hero-section+.welcome-section .portrait-img {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: clamp(280px, 42vh, 360px);
  }

  .hero-section+.welcome-section {
    padding: 3rem 0 3.5rem;
  }

  .hero-section+.welcome-section .portrait-img {
    height: 220px;
  }
}