/* =========================================================
   TIGERBLOOD – FINAL style.css (Hero-media layer fix)
   - Desktop OK
   - Mobile hamburger OK (Chrome + Samsung Internet)
   - Video/overlay never steal taps
   ========================================================= */

/* GLOBAL */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #000;
  color: #fff;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;

  /* fallback image under video */
  background: url("images/background.png") center center no-repeat;
  background-size: cover;
}

/* ✅ NEW: wrapper layer for video + overlay */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;

  /* CRITICAL: do not steal clicks/taps */
  pointer-events: none;
}

/* video on top of background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RED TIGER GLOW OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255,0,0,0.35), rgba(0,0,0,0.9));
}

/* =========================
   NAV – BULLETPROOF (desktop + mobile)
   ========================= */
.nav{
  position:absolute;
  top:0; left:0; right:0;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:20px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  z-index:9999;
}

.logo{
  font-size:24px;
  font-weight:900;
  letter-spacing:1px;
  color:#ff0000;
  white-space:nowrap;
}
.logo span{ color:#fff; }

/* desktop menu */
#nav-menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:28px;
  margin:0;
  padding:0;
}

#nav-menu a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
  transition:.25s;
  white-space:nowrap;
}
#nav-menu a:hover{ color:#ff0000; }

/* hamburger button */
.hamburger{
  display:none;
  width:48px;
  height:44px;
  padding:10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  appearance:none;
  -webkit-appearance:none;
  outline:none;
  z-index:10000;
}
.hamburger span{
  display:block;
  width:100%;
  height:3px;
  background:#fff;
  border-radius:2px;
  margin:6px 0;
  transition:transform .25s ease, opacity .25s ease;
}

/* X state */
.hamburger.is-open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; }
.hamburger.is-open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* ===== MOBILE ===== */
@media (max-width:768px){
  .nav{
    padding:14px 18px;
    max-width:none;
  }

  .hamburger{ display:block; }

  /* make menu a FIXED panel so it ALWAYS appears on top */
  #nav-menu{
    display:none; /* hidden by default */
    position:fixed;
    top:64px;              /* below top area */
    left:14px;
    right:14px;

    flex-direction:column;
    gap:0;

    background:rgba(0,0,0,.96);
    border:1px solid rgba(255,255,255,.10);
    border-radius:14px;

    padding:0;
    margin:0;

    z-index:10001;
  }

  #nav-menu.open{ display:flex; }

  #nav-menu li{ list-style:none; }

  #nav-menu li + li{
    border-top:1px solid rgba(255,255,255,.08);
  }

  #nav-menu a{
    display:block;
    padding:16px;
    font-size:16px;
  }
}

/* =========================================================
   HERO TEXT
   ========================================================= */
.hero-content {
  position: absolute;
  bottom: 18%;
  left: 10%;
  z-index: 10; /* above hero-media */
}

.hero-content h1 {
  font-size: 70px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 22px;
  margin-top: 10px;
  color: #ff3c3c;
}

/* Mobile hero */
@media (max-width: 768px) {
  body { font-size: 14px; }

  .hero-content {
    left: 8%;
    right: 8%;
    bottom: 16%;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content p { font-size: 16px; }

  .cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  padding: 14px 26px;
  border-radius: 4px;
  text-decoration: none;
  margin-right: 10px;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}

.primary { background: #ff0000; color: #fff; }
.primary:hover { background: #fff; color: #000; }

.secondary {
  border: 2px solid #ff0000;
  color: #fff;
  background: transparent;
}
.secondary:hover { background: #ff0000; }

@media (max-width: 768px) {
  .btn {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products {
  padding: 120px;
  background: url("images/background.png") center top no-repeat;
  background-size: cover;
}

.products h2 {
  text-align: center;
  font-size: 40px;
  letter-spacing: 1px;
  margin-bottom: 70px;
  color: #ff0000;
}

.product-card {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.product-card img { width: 350px; }

.product-info h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 18px;
  color: #ddd;
}

.product-info ul { margin-top: 15px; }
.product-info li { margin-bottom: 8px; }

.product-btn {
  display: inline-block;
  margin-top: 20px;
  background: #ff0000;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
}
.product-btn:hover { background: #fff; color: #000; }

/* Products mobile */
@media (max-width: 768px) {
  .products { padding: 60px 18px; }
  .products h2 { font-size: 28px; margin-bottom: 40px; }

  .product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .product-card img {
    width: 100%;
    max-width: 320px;
  }

  .product-info h3 { font-size: 24px; }
  .product-info p { font-size: 15px; }
}

/* =========================================================
   ORDER MODAL
   ========================================================= */
.order-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.order-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.order-modal__dialog {
  background: #050509;
  color: #f5f5f5;
  padding: 2rem 2.25rem;
  max-width: 480px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.order-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.order-modal__close:hover { color: #fff; }

.order-modal h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.order-modal__subtitle {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: #999;
}

.order-modal .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

.order-modal .form-row label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  color: #aaa;
}

.order-modal .form-row input {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 12, 0.9);
  color: #f5f5f5;
  font-size: 0.9rem;
  outline: none;
}

.order-modal .form-row input:focus {
  border-color: #ff4b4b;
  box-shadow: 0 0 0 1px rgba(255, 75, 75, 0.6);
}

.order-modal .form-row--inline {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.order-modal .form-row--inline > div { flex: 1; }

.order-modal__price { text-align: right; }

.order-modal__price-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.1rem;
}

.order-modal__price-value {
  font-size: 1rem;
  font-weight: 600;
}

.order-modal__submit {
  width: 100%;
  margin-top: 0.8rem;
}

.order-modal__note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #888;
  text-align: center;
}

body.no-scroll { overflow: hidden; }

@media (max-width: 600px) {
  .order-modal__dialog {
    padding: 1.5rem 1.4rem;
    max-width: 420px;
  }
  .order-modal h3 { font-size: 1.05rem; }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  text-align: center;
  padding: 30px;
  background: #000;
  color: #888;
}

/* =========================================================
   RESEARCH SECTIONS
   ========================================================= */
.section { padding: 4rem 1.5rem; }

.section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 720px;
  font-size: 0.95rem;
  color: #c2c2c2;
  margin-bottom: 1.5rem;
}

.research-intro,
.research-studies {
  background: radial-gradient(circle at top, rgba(255,0,0,0.22), #050509);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.research-card {
  background: rgba(5,5,10,0.95);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.research-card h3 {
  margin-top: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-card p,
.research-card li {
  font-size: 0.9rem;
  color: #d5d5d5;
}

.studies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.study-item {
  background: rgba(5,5,10,0.95);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.study-item h3 { margin-top: 0; font-size: 1rem; }

.study-meta {
  font-size: 0.8rem;
  color: #9a9a9a;
  margin-bottom: 0.4rem;
}

.study-links a {
  font-size: 0.85rem;
  color: #ff4b4b;
  text-decoration: none;
}
.study-links a:hover { text-decoration: underline; }

.research-coach {
  background: radial-gradient(circle at top, rgba(255,75,75,0.28), rgba(5,5,10,1));
}

.research-coach p {
  max-width: 720px;
  font-size: 0.95rem;
  color: #e1e1e1;
}


/* CONTACT */
.contact {
  background: radial-gradient(circle at top, rgba(255,0,0,0.18), #050509);
}

.contact-card {
  margin-top: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(5,5,10,0.95);
  max-width: 720px;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #a9a9a9;
  margin-bottom: 0.35rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ff4b4b;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #bdbdbd;
}
