/*
 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
*/

:root {
      --bg: #050506;
      --bg-elev: #0c0c0e;
      --text: #f3f2ee;
      --muted: #9a9890;
      --line: rgba(255,255,255,0.12);
      --cta: #4d3228;
      --cta-hover: #5e3e32;
      --accent: #d8c4a2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
      font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
nav {
	padding: 10px 30px !important;
}

nav .container {
	margin: 0px !important;
	width: 100% !important;
}

.navbar-expand-lg .offcanvas {
	width: 100% !important;
}

.nav, #nav-main {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between; 
      padding: 18px 36px;
      background: linear-gradient(180deg, rgba(5,5,6,0.72) 0%, rgba(5,5,6,0) 100%);
}

.nav.scrolled, #nav-main.scrolled {
      background: rgba(5,5,6,0.88);
      border-bottom: 1px solid var(--line);
}

.logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 500;
      letter-spacing: 0.02em;
      font-size: 17px;
}
.logo-mark {
      width: 22px; height: 22px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
}
.logo-mark span { background: #fff; display: block; }
.logo-mark span:nth-child(1) { opacity: 1; }
.logo-mark span:nth-child(2) { opacity: 0.55; }
.logo-mark span:nth-child(3) { opacity: 0.35; }
.logo-mark span:nth-child(4) { opacity: 0.85; }

.nav-links, .nav-link, .navbar-brand {
      display: flex;
      gap: 32px;
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 400;
      color: rgba(243,242,238,0.82);
}

.navbar-brand img {
	max-width: 175px;
}
.nav-links a:hover, .nav-link:hover { color: #fff !important; }

.nav-item a.active, .nav-link.show {
	color: #fff !important;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
}

.dropdown-item {
	color: rgba(243,242,238,0.82) !important;
	text-transform: uppercase;
	font-size: 12px;
}

.dropdown-item:hover {
	background: none;
	color: #fff !important;
}

.dropdown-item.active {
	font-weight: 400;
	background: none;
}

#offcanvas-navbar {
	background: rgba(5,5,6,0.88);
}

.offcanvas-header {
	color: #fff;
}

.btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,0.28);
      padding: 12px 18px;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      background: transparent;
      color: var(--text);
      cursor: pointer;
      transition: 0.2s ease;
}
.btn:hover { background: rgba(255,255,255,0.08); }
.btn-cta {
      background: var(--cta);
      border-color: var(--cta);
}
.btn-cta:hover { background: var(--cta-hover); }

/* HERO */
.hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
	  width: 100%;
}
.hero-media {
      position: absolute;
      inset: 0;
      background: #000 center/cover no-repeat;
}
.hero-media img {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.9s ease;
}
.hero-media img.active { opacity: 1; }
.hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(5,5,6,0.25) 0%, rgba(5,5,6,0.15) 40%, rgba(5,5,6,0.72) 100%),
        linear-gradient(90deg, rgba(5,5,6,0.35) 0%, transparent 30%);
      pointer-events: none;
}
.hero-inner {
      position: relative;
      z-index: 2;
      width: 100%;
      padding: 0 72px 88px;
}
.hero-kicker {
      font-size: 12px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
}
.hero-title {
      font-size: clamp(56px, 8vw, 112px);
      font-weight: 400;
      letter-spacing: -0.03em;
      line-height: 0.92;
}
.hero-sub {
      margin-top: 18px;
      font-size: clamp(16px, 2vw, 22px);
      font-weight: 300;
      color: rgba(243,242,238,0.86);
      max-width: 640px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 12px; }

.hero-dots {
      position: absolute;
      right: 36px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
      display: flex;
      flex-direction: column;
      gap: 10px;
}
.hero-dots button {
      width: 8px; height: 8px;
      border-radius: 50%;
      border: 0;
      background: rgba(255,255,255,0.28);
      cursor: pointer;
}
.hero-dots button.active { background: #fff; }

/* PRODUCTS STRIP */
section { position: relative; }
.section-pad { padding: 96px 72px; }
.eyebrow {
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
}
.h2 {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 400;
      letter-spacing: -0.03em;
      line-height: 1.1;
      max-width: 16ch;
}
.lede {
      color: var(--muted);
      max-width: 52ch;
      font-size: 22px;
      font-weight: 400;
}

.split {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      min-height: 88vh;
}
.split.reverse { grid-template-columns: 1.15fr 1fr; }
.split-copy {
      padding: 88px 72px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: var(--bg);
}
.split-copy p { margin: 22px 0 32px; }
.split-media {
      position: relative;
      min-height: 520px;
      background: #111 center/cover no-repeat;
}

.product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
	  height: auto;
}
.product-card {
      padding: 40px 32px 48px;
      min-height: 280px;
      display: flex;
      flex-direction: column;
}
.product-card h3 {
      font-size: 28px;
      font-weight: 400;
      letter-spacing: -0.02em;
      margin: 8px 0 12px;
}
p { color: var(--muted); font-weight: 300; font-size: 15px; }
.product-card .link {
      margin-top: auto;
      padding-top: 24px;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--accent);
}

.stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--line);
}
.stat {
      background: var(--bg-elev);
      padding: 48px 32px;
}
.stat b {
      display: block;
      font-size: 36px;
      font-weight: 400;
      letter-spacing: -0.03em;
}
.stat span { color: var(--muted); font-size: 13px; font-weight: 300; }

.mission {
      padding: 140px 72px;
      text-align: center;
      background:
        radial-gradient(800px 400px at 50% 0%, rgba(77,50,40,0.28), transparent 70%),
        var(--bg);
}
.mission p {
      font-size: clamp(28px, 3.4vw, 44px);
      font-weight: 300;
      letter-spacing: -0.03em;
      line-height: 1.25;
      max-width: 20em;
      margin: 0 auto 36px;
}

footer {
      border-top: 1px solid var(--line);
      padding: 48px 72px;
      display: flex;
      justify-content: space-between;
      color: var(--muted);
      font-size: 13px;
}

@media (max-width: 960px) {
      .nav { padding: 14px 18px; }
      .nav-links { display: none; }
      .hero-inner, .section-pad, .split-copy, .mission, footer { padding-left: 22px; padding-right: 22px; }
      .split, .split.reverse, .product-grid, .stats { grid-template-columns: 1fr; }
      .hero-title { font-size: 56px; }
}

.bg-body-tertiary {
	background: #050506 !important;
}

#About .profile-card .profile-photo {
	max-width: 200px;
	width: 100%;
	height: auto;
}

.linkedin img {
	height: 25px;
	float: right;
}

.modal-title {
	width: 100%;
}

.modal-header img {
	max-width: 150px;
}

.modal-header .btn-close {
	float: right;
	color: #fff;
}

.modal-content {
	background: #000 !important;
	color: #fff !important;
}

.wpcf7-form-control {
	background: none;
	color: #fff;
	border-radius: 4px;
	padding: 3px 5px;
	margin: 5px 0px;
	width: 100%;
	border: 1px solid #4a4a4b;
}

#terraContact .modal-body p {
	padding: 0px !important;
	margin: 0px !important;
}

#About, .terra-posts, .terra-cat, .terra-content {
	padding-top: 85px;
}

#About .col-md-6:first-child {
	border-left: none !important;
}
#About .col-md-6:last-child {
	border-left: 1px solid #4a4a4b;
}

.row article {
	background: none !important;
	border-radius: 4px !important;
	border: 1px solid #4a4a4b !important;
	color: #9a9890 !important;
}

.bg-primary-subtle {
	background: #4a4a4b !important;
	color: #000 !important;
}

.bg-primary-subtle:hover {
	background: #fff !important;
}

.entry-title {
	font-size: 2rem !important;
}

.blog-post-title:hover, .read-more:hover {
	color: #fff;
}

.text-body, .text-body-secondary, .breadcrumb-item {
	color: #9a9890 !important;
}

.bootscore-footer-columns {
	width: 100%;
}

/* Mobile friendly styles */
@media screen and (max-width: 768px) {
	#About .col-md-6:last-child {
		border-left: none !important;
	}
	
	#About .profile-photo {
		max-width: 225px;
	}
	
	.right-col {
		display: flex;
		flex-direction: column-reverse; /* Instantly flips the two divs on mobile */
  	}

  	.right-col .split-media {
		width: 100%;
		height: 300px; /* Gives the background image its height back */
		background-size: cover;
		background-position: center;
  }

}
