/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI:  https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/* ===== OCUN-like Header Style ===== */

#masthead.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e9e9e9;
  box-shadow: none;
}

#nav-main {
  min-height: 84px;
}

#nav-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-brand {
  margin-right: 0;
  padding: 0;
}

.navbar-brand img {
  max-height: 44px;
  width: auto;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-center .navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-center .navbar-nav .menu-item {
  list-style: none;
}

.header-center .navbar-nav .nav-link,
.header-center .navbar-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
  padding: 0;
  transition: color 0.2s ease;
}

.header-center .navbar-nav .nav-link:hover,
.header-center .navbar-nav a:hover,
.header-center .navbar-nav .current-menu-item > a,
.header-center .navbar-nav .current-menu-item > .nav-link,
.header-center .navbar-nav .current-menu-ancestor > a,
.header-center .navbar-nav .current-menu-ancestor > .nav-link {
  color: #c1121f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.header-actions a,
.header-actions button,
.header-actions i {
  color: #111111;
  transition: color 0.2s ease;
}

.header-actions a:hover,
.header-actions button:hover,
.header-actions i:hover {
  color: #c1121f;
}

.nav-toggler.btn {
  border: 0;
  background: transparent;
  color: #111111;
  padding: 0;
  box-shadow: none;
}

.nav-toggler.btn:hover,
.nav-toggler.btn:focus {
  background: transparent;
  color: #c1121f;
  box-shadow: none;
}

.offcanvas-header {
  border-bottom: 1px solid #eeeeee;
}

.offcanvas-body .navbar-nav .nav-link,
.offcanvas-body .navbar-nav a {
  font-size: 15px;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.offcanvas-body .navbar-nav .nav-link:hover,
.offcanvas-body .navbar-nav a:hover {
  color: #c1121f;
}

@media (max-width: 991.98px) {
  #nav-main {
    min-height: 72px;
  }

  .navbar-brand img {
    max-height: 38px;
  }

  .header-center {
    display: none !important;
  }
}
/* ===== Header refinement ===== */

#nav-main {
  min-height: 74px;
}

#nav-main .container {
  gap: 18px;
}

.navbar-brand img {
  max-height: 56px;
}

.header-center .navbar-nav {
  gap: 22px;
}

.header-center .navbar-nav .nav-link,
.header-center .navbar-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.header-actions {
  gap: 10px;
}

.header-actions .btn,
.header-actions a {
  min-width: auto;
}

.header-actions .btn-outline-secondary,
.header-actions .btn {
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.header-actions .btn-outline-secondary:hover,
.header-actions .btn:hover {
  border-color: #c1121f;
  color: #c1121f;
  background: #ffffff;
}

@media (max-width: 991.98px) {
  #nav-main {
    min-height: 66px;
  }

  .navbar-brand img {
    max-height: 44px;
  }
}
/* ===== Home featured dropdown ===== */

.menu-home-feature {
  position: relative;
}

.menu-home-feature .dropdown-menu,
.menu-home-feature .sub-menu {
  min-width: 420px;
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.menu-home-feature .dropdown-menu li,
.menu-home-feature .sub-menu li {
  list-style: none;
}

.menu-home-feature .dropdown-menu a,
.menu-home-feature .sub-menu a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111111;
  text-decoration: none;
}

.menu-home-feature .dropdown-menu a:hover,
.menu-home-feature .sub-menu a:hover {
  color: #c1121f;
}

/* fake visual block inside dropdown */
.menu-home-feature .dropdown-menu,
.menu-home-feature .sub-menu {
  background-image:
    linear-gradient(to bottom, rgba(193,18,31,0.95) 0 44px, transparent 44px),
    url("https://xin.invitesyou.ovh/wp-content/uploads/2026/04/ocun_mail.jpg");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 44px, calc(100% - 48px) 180px;
  background-position: top left, 24px 68px;
  padding-top: 270px;
}

.menu-home-feature .dropdown-menu::before,
.menu-home-feature .sub-menu::before {
  content: "NEW COLLECTION";
  position: absolute;
  top: 12px;
  left: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  z-index: 2;
}

.menu-home-feature .dropdown-menu::after,
.menu-home-feature .sub-menu::after {
  content: "Ocun-inspired featured banner";
  position: absolute;
  top: 210px;
  left: 24px;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  padding: 6px 10px;
}

@media (max-width: 991.98px) {
  .menu-home-feature .dropdown-menu,
  .menu-home-feature .sub-menu {
    min-width: 100%;
    background-size: 100% 40px, calc(100% - 32px) 140px;
    background-position: top left, 16px 56px;
    padding: 220px 16px 16px;
  }

  .menu-home-feature .dropdown-menu::before,
  .menu-home-feature .sub-menu::before {
    left: 16px;
  }

  .menu-home-feature .dropdown-menu::after,
  .menu-home-feature .sub-menu::after {
    left: 16px;
    top: 170px;
    font-size: 16px;
  }
}
/* ===== Home dropdown refinement ===== */

.menu-home-feature .dropdown-menu,
.menu-home-feature .sub-menu {
  min-width: 760px;
  width: 760px;
  padding: 0;
  overflow: hidden;
}

.menu-home-feature .dropdown-menu,
.menu-home-feature .sub-menu {
  background-image:
    linear-gradient(to bottom, rgba(193,18,31,0.98) 0 56px, transparent 56px),
    url("https://xin.invitesyou.ovh/wp-content/uploads/2026/04/ocun_mail.jpg");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 56px, calc(100% - 48px) 260px;
  background-position: top left, 24px 80px;
  padding: 380px 24px 24px;
}

.menu-home-feature .dropdown-menu::before,
.menu-home-feature .sub-menu::before {
  content: "NEW COLLECTION";
  top: 16px;
  left: 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.menu-home-feature .dropdown-menu::after,
.menu-home-feature .sub-menu::after {
  content: "Climbing starts here";
  top: 285px;
  left: 24px;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  background: rgba(255,255,255,0.9);
  padding: 10px 14px;
}

.menu-home-feature .dropdown-menu > li > a,
.menu-home-feature .sub-menu > li > a {
  font-size: 0;
  line-height: 0;
  padding: 0;
}

.menu-home-feature .dropdown-menu > li,
.menu-home-feature .sub-menu > li {
  margin: 0;
  padding: 0;
  min-height: 0;
}

@media (max-width: 991.98px) {
  .menu-home-feature .dropdown-menu,
  .menu-home-feature .sub-menu {
    min-width: 100%;
    width: 100%;
    background-size: 100% 46px, calc(100% - 32px) 170px;
    background-position: top left, 16px 62px;
    padding: 260px 16px 16px;
  }

  .menu-home-feature .dropdown-menu::before,
  .menu-home-feature .sub-menu::before {
    top: 12px;
    left: 16px;
    font-size: 13px;
  }

  .menu-home-feature .dropdown-menu::after,
  .menu-home-feature .sub-menu::after {
    top: 195px;
    left: 16px;
    font-size: 17px;
    padding: 8px 10px;
  }
}
/* ===== Make Home clickable again ===== */

.menu-home-feature {
  position: relative;
}

.menu-home-feature .dropdown-menu,
.menu-home-feature .sub-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.menu-home-feature:hover .dropdown-menu,
.menu-home-feature:hover .sub-menu,
.menu-home-feature:focus-within .dropdown-menu,
.menu-home-feature:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.home-hero-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  align-items: center;
  gap: 28px;
  min-height: 68vh;
}

.home-hero-copy {
  padding-right: 12px;
}

.home-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 12px;
  background: #c1121f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #111;
  max-width: 10ch;
}

.home-text {
  margin: 0 0 28px;
  max-width: 34ch;
  font-size: 18px;
  line-height: 1.6;
  color: #4a4a4a;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-1px);
}

.home-btn-primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.home-btn-primary:hover {
  background: #c1121f;
  border-color: #c1121f;
}

.home-btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #d6d6d6;
}

.home-btn-secondary:hover {
  border-color: #111;
}

.home-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.home-brand-strip {
  display: flex;
  justify-content: center;
  padding: 28px 0 0;
}

.home-brand-strip img {
  max-width: 220px;
  width: 100%;
  height: auto;
  opacity: 0.95;
}

@media (max-width: 991.98px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero-copy {
    order: 2;
    padding-right: 0;
    text-align: left;
  }

  .home-hero-media {
    order: 1;
  }

  .home-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 8vw, 4rem);
  }

  .home-text {
    max-width: none;
    font-size: 16px;
  }
}

.home-video-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 50px;
}

.home-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.home-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-logo {
  text-align: center;
  padding: 32px 0 20px;
}

.home-logo img {
  display: inline-block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.home-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 30px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-1px);
}

.home-btn-primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.home-btn-primary:hover {
  background: #c1121f;
  border-color: #c1121f;
}

.home-btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #d6d6d6;
}

.home-btn-secondary:hover {
  border-color: #111;
}

@media (max-width: 991.98px) {
  .home-video-section {
    padding: 20px 16px 40px;
  }

  .home-logo {
    padding: 24px 0 18px;
  }

  .home-logo img {
    max-width: 180px;
  }
}

