/* ==========================================================================
   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
   -------------------------------------------------------------------------- */
.topbar {
  background-color: #400b0b;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 3px 0;
  border-bottom: 1px solid rgba(228, 182, 159, 0.22);
  position: relative;
  z-index: 1100;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-info .item,
.topbar-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
}

.topbar-info i {
  color: #b9775d;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-socials {
  display: flex;
  gap: 0.75rem;
}

.topbar-socials a {
  color: rgba(255, 255, 255, 0.7);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.topbar-socials a:hover {
  color: #ffffff;
  background: #b9775d;
}

.topbar .btn-gold {
  background: #813121;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
  padding: 0.35rem 1.25rem;
  font-size: 0.8rem;
  border: none;
}

.topbar .btn-gold:hover {
  background: #400b0b;
  box-shadow: 0 4px 15px rgba(64, 11, 11, 0.3);
}

/* --------------------------------------------------------------------------
   2. MAIN NAVBAR & DROPDOWNS
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 252, 250, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(64, 11, 11, 0.1);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 3px 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 12px 32px rgba(64, 11, 11, 0.10);
}

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

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

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

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

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

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

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 2px solid rgba(197, 160, 89, 0.45);
  padding-left: 0.8rem;
}

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

.brand-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #3b0909;
  letter-spacing: 0.4px;
  line-height: 1.15;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.brand-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.625rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #813121;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1;
}

.tagline-badge {
  color: #c5a059;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.tagline-region {
  color: #6d3328;
  font-weight: 600;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  list-style: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #321818;
  position: relative;
  padding: 0.75rem 0;
  white-space: nowrap;
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-link .fa-chevron-down {
  font-size: 0.65em;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: #813121;
}

.nav-link.active {
  color: #400b0b;
  font-weight: 600;
}

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

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 1100;
  min-width: 15rem;
  max-width: min(15rem, 90vw);
  width: max-content;
  padding: 0.55rem;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(129, 49, 33, 0.16);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(64, 11, 11, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}



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

.dropdown-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  color: #321818;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  transition: 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.active {
  color: #400b0b;
  background: #fbf7f4;
}

.dropdown-menu a.active {
  font-weight: 600;
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: #400b0b;
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   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 & Hero Only)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 0.65rem;
  }

  .nav-link {
    font-size: 0.78rem;
  }
}

@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) {
  .navbar {
    z-index: 1200 !important;
  }

  .topbar-info a:last-child {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(129, 49, 33, 0.08);
    border: 1px solid rgba(129, 49, 33, 0.2);
    color: #400b0b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-toggle:hover,
  .mobile-toggle:focus {
    background: #813121;
    color: #ffffff;
    outline: none;
  }

  .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;
  }

  .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;
  }

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

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

  .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;
  }

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

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

  .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 */
  .dropdown-menu,
  .dropdown.dropdown-more .dropdown-menu,
  .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;
  }

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

  .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;
  }

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

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

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

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .navbar {
    padding: 0.6rem 0;
  }

  .brand-emblem {
    width: 52px;
    height: 38px;
  }

  .brand-text {
    padding-left: 0.6rem;
  }

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

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

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

  .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) {
  .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;
  }
}