/* REIGN HOUSE Holdings brand theme — black & gold */
:root {
  --theme-color: #c9a24b;
  --theme-color2: #e7d3a1;
  --theme-color3: #f7f2e7;
  --dark-color: #0d0d0d;
  --dark-color2: #121110;
  --dark-color3: #221e18;
  --dark-color4: #191713;
  --gray-color: #8b8478;
  --gray-color2: #b9b1a3;
  --light-color: #f8f4ec;
  --light-color2: #fbf8f1;
  --light-color3: #eee5d4;
  --light-color4: #f2eadb;
  --light-color5: #f6f5f2;
  --orange-color: #c9a24b;
  --orange-color2: #e0c07c;
  --bs-text-color1: #14120f;
  --bs-bg-color1: rgba(13, 13, 13, 0.4);
  --bs-bg-color3: rgba(13, 13, 13, 0.7);
  --bs-bg-color4: rgba(247, 242, 231, 0.2);
  --bs-bg-color7: rgba(13, 13, 13, 0.1);
  --bs-bg-color8: rgba(13, 13, 13, 0.8);
  --bs-bg-color11: rgba(220, 210, 190, 0.3);
  --bs-bg-color13: rgba(13, 13, 13, 0.7);
  --bs-bg-color15: rgba(13, 13, 13, 0.9);
  --bs-bg-color16: rgba(13, 13, 13, 0.3);
  --bs-bg-color17: rgba(201, 162, 75, 0.999);
  --bs-bg-color18: rgba(201, 162, 75, 0.5);
  --bs-bg-color19: rgba(13, 13, 13, 0.9);
  --bs-bg-color20: #3a3226;
  --bs-border-color5: rgba(201, 162, 75, 0.15);
  --bs-border-color6: rgba(13, 13, 13, 0.15);
  --bs-border-color7: rgba(13, 13, 13, 0.1);
  --bs-border-color8: #e4dccb;
  --bs-border-color10: rgba(13, 13, 13, 0.1);
  --bs-border-color12: rgba(13, 13, 13, 0.2);
  --title-font: "Playfair Display", "Inter", serif;
}

.h1, h1, .h2, h2, .h3, h3, .sec-title, .header-logo img {
  letter-spacing: -0.01em;
}

.header-logo img,
.mobile-logo img,
.footer-widget .footer-logo img {
  max-height: 52px;
  width: auto;
}

/* keep gold marks legible on light surfaces */
.sticky-wrapper.sticky .header-logo img,
.mobile-menu-wrapper .mobile-logo img {
  filter: none;
}


/* ---- Text-based brand logo (crisp at any size) ---- */
.rh-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.rh-logo .rh-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--theme-color);
  border-radius: 4px;
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--theme-color);
  flex: 0 0 auto;
}
.rh-logo .rh-word {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rh-logo .rh-word-1 {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--dark-color);
  white-space: nowrap;
}
.rh-logo .rh-word-2 {
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--theme-color);
  white-space: nowrap;
}
.rh-logo-light .rh-word-1,
.sticky-wrapper.sticky .rh-logo .rh-word-1,
.rh-logo.rh-logo-on-dark .rh-word-1 {
  color: var(--light-color);
}
@media (max-width: 575px) {
  .rh-logo .rh-mark { width: 34px; height: 34px; font-size: 18px; }
  .rh-logo .rh-word-1 { font-size: 17px; }
  .rh-logo .rh-word-2 { font-size: 8px; letter-spacing: 0.34em; }
}
.menu-area .col-auto.logo { padding-right: 30px; }

/* ---- Mobile header + hero cleanup ---- */
@media (max-width: 991px) {
  /* remove the odd circular shape colliding with the header */
  .hero-section.style-4 > .p-top-right { display: none !important; }

  .hero-section.style-4 { background-position: center top; }

  /* tighter, cleaner header bar */
  .header-area .menu-area,
  .sticky-wrapper .menu-area { padding-top: 18px; padding-bottom: 18px; }

  /* main-wrapper is a flex row; menu-area never stretched to fill it, so it
     shrank to content width and the burger sat stranded short of the true
     right edge instead of flush against it */
  .nav-header .main-wrapper .menu-area,
  .sticky-header .menu-area {
    width: 100%;
  }
  .nav-header .menu-area .row,
  .sticky-header .menu-area .row {
    width: 100%;
    justify-content: space-between;
  }

  /* logo + burger were top-aligned inside a taller header bar; force true centering.
     Applies to both the normal header and the separate fixed/sticky-header clone. */
  .nav-header .main-wrapper,
  .nav-header .menu-area,
  .nav-header .menu-area .row,
  .sticky-header .menu-area,
  .sticky-header .menu-area .row {
    display: flex;
    align-items: center;
  }

  .menu-area .col-auto.logo { padding-right: 12px; }

  .rh-logo { gap: 10px; }
  .rh-logo .rh-mark { width: 30px; height: 30px; font-size: 16px; border-radius: 3px; }
  .rh-logo .rh-word-1 { font-size: 15px; letter-spacing: 0.1em; }
  .rh-logo .rh-word-2 { font-size: 7px; letter-spacing: 0.3em; }

  /* smaller, less bulky burger */
  .header-area .sidebar-btn,
  .menu-area .menu-toggle,
  .mobile-menu-toggle,
  .sidemenu-wrapper-btn,
  .header-button .simple-icon,
  .menu-area .sidemenu-btn { transform: scale(0.78); transform-origin: right center; }

  .navbar-right { margin-right: -8px; }

  /* visible line under the header so its edge is clear against the hero */
  .nav-header,
  .sticky-header {
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
  }

  /* navbar-right defaulted to stretch/top-align, sitting above the logo's center */
  .navbar-right {
    align-items: center;
  }
}

@media (max-width: 575px) {
  .rh-logo .rh-mark { width: 28px; height: 28px; font-size: 15px; }
  .rh-logo .rh-word-1 { font-size: 14px; }
}

/* ---- Hero feature-list: 4 items, mobile 2 per row ---- */
.hero-section.style-4 .hero-content .feature-list {
  flex-wrap: wrap;
  gap: 16px 40px;
}
@media (min-width: 992px) {
  .hero-section.style-4 .hero-content .feature-list {
    flex-wrap: nowrap;
    gap: 16px 22px;
  }
  .hero-section.style-4 .hero-content .feature-list li {
    font-size: 14px;
    padding-left: 24px;
    white-space: nowrap;
  }
  .hero-section.style-4 .hero-content .feature-list li::before {
    font-size: 18px;
  }
}
@keyframes heroFeatureFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  .hero-section.style-4 .hero-content .feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    animation: heroFeatureFadeIn 0.5s ease 0.4s both;
  }
  .hero-section.style-4 .hero-content .feature-list li {
    width: auto;
    font-size: 13px;
    white-space: nowrap;
    padding: 7px 12px 7px 26px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(13, 13, 13, 0.1);
  }
  .hero-section.style-4 .hero-content .feature-list li::before {
    left: 11px;
    font-size: 13px;
  }
}
@media (max-width: 375px) {
  .hero-section.style-4 .hero-content .feature-list {
    gap: 12px 14px;
  }
  .hero-section.style-4 .hero-content .feature-list li {
    font-size: 14px;
  }
}

/* ---- Mobile hero: fill the empty gap with a bottom image/background ---- */
@media (max-width: 991px) {
  .hero-section.style-4 {
    position: relative;
    background-image: none !important;
  }
  .hero-section.style-4::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248,244,236,0.92) 0%, rgba(248,244,236,0.72) 50%, rgba(248,244,236,0.25) 100%);
    z-index: 0;
  }
  .hero-section.style-4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58%;
    background-image: url(../images/banner/home4-img01.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    opacity: 0.38;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
  }
  .hero-section.style-4 .container,
  .hero-section.style-4 .hero-slider,
  .hero-section.style-4 .swiper-slide {
    position: relative;
    z-index: 1;
  }
  .hero-section.style-4 .hero-content {
    padding-bottom: 70px;
  }
}
@media (max-width: 575px) {
  .hero-section.style-4::after {
    height: 52%;
    opacity: 0.34;
  }
  .hero-section.style-4 .hero-content {
    padding-bottom: 55px;
  }
}

/* ---- Hero: fill the screen on load, content vertically centered ---- */
@media (min-width: 992px) {
  .hero-section.style-4 {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 130px);
  }
  .hero-section.style-4 .hero-slider.swiper {
    width: 100%;
    align-self: stretch;
  }
  .hero-section.style-4 .swiper-wrapper,
  .hero-section.style-4 .swiper-slide {
    width: 100%;
    height: 100%;
  }
  .hero-section.style-4 .swiper-slide .container,
  .hero-section.style-4 .swiper-slide .row {
    height: 100%;
  }
  .hero-section.style-4 .swiper-slide .row > .col-lg-6:has(.hero-right) {
    align-self: stretch;
  }
  .hero-section.style-4 .hero-right {
    height: 100%;
    align-self: stretch;
  }
  .hero-section.style-4 .hero-content {
    padding: 40px 0;
  }
  /* image was bottom-anchored, clipping almost everything off the top;
     stretch it top-to-bottom instead so it always fills the block with no gap */
  .hero-section.style-4 .hero-right .image-box {
    bottom: 0;
    top: 0;
    height: auto;
  }
  .hero-section.style-4 .hero-right .image-box img {
    height: 100%;
    width: auto;
    max-width: none;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .hero-section.style-4 .hero-right .thumb-info {
    width: 230px;
    height: auto;
  }
  .hero-section.style-4 .hero-right .thumb-info img {
    width: 100%;
    height: auto;
  }
}

/* ---- Sticky header: white bar instead of the dark/teal default ---- */
.sticky-header {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 20px rgba(13, 13, 13, 0.08) !important;
}
.sticky-header .main-menu a {
  color: var(--dark-color) !important;
}
.sticky-header .main-menu > ul > li.active > a,
.sticky-header .main-menu > ul > li > a:hover {
  color: var(--theme-color) !important;
}
.sticky-header .rh-logo .rh-word-1 {
  color: var(--dark-color) !important;
}
.sticky-header .search-btn {
  border-color: var(--dark-color);
}
.sticky-header .search-btn .icon {
  color: var(--dark-color);
}
