/*
Theme Name: TBM Media Editable
Author: TBM Media
Version: 3.1
Description: Editable classic WordPress theme for TBM Media.
*/

/* =========================================================
   TBM MEDIA THEME STYLES
   Organized + cleaned version
   Fix included: full-width header divider line
========================================================= */

/* -----------------------------
   1. Brand Variables / Reset
----------------------------- */

:root {
  --bg: #050505;
  --panel: #09090b;
  --panel2: #101013;
  --text: #f7f3ee;
  --muted: #bdb6ae;
  --line: rgba(255, 255, 255, 0.11);
  --pink: #ff2f92;
  --orange: #ff9d2f;
  --gradient: linear-gradient(90deg, var(--pink), var(--orange));
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* -----------------------------
   2. Main Site Wrapper
----------------------------- */

.site {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
}

/* -----------------------------
   3. Header / Navigation
----------------------------- */

.nav {
  height: 82px !important;
  min-height: 82px !important;
  background: #020202 !important;
  background-color: #020202 !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  overflow: hidden !important;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #020202;
  z-index: -1;
}

.logo {
  width: 125px !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

.nav-links {
  align-items: center !important;
}

.nav-right {
  align-items: center !important;
}

.social {
  width: 36px !important;
  height: 36px !important;
}

.book-btn {
  padding: 10px 18px !important;
}

/* Make sure page content starts below header */
.hero,
.page-wrap {
  position: relative;
  z-index: 1;
}

/* -----------------------------
   4. Buttons
----------------------------- */

.book-btn,
.outline-btn,
.solid-btn {
  border-radius: 7px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.book-btn {
  padding: 13px 22px;
  border: 2px solid transparent;
  background:
    linear-gradient(#050505, #050505) padding-box,
    var(--gradient) border-box;
  white-space: nowrap;
}

.solid-btn {
  padding: 15px 28px;
  background: var(--gradient);
  color: #fff;
}

.outline-btn {
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

/* -----------------------------
   5. Page Routing / Layout
----------------------------- */

.page {
  min-height: calc(100vh - 88px);
}

.page-wrap {
  padding: 64px 52px 70px;
}

.page-head {
  text-align: center;
  margin-bottom: 45px;
}

.page-head .eyebrow-static {
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.page-head h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 14px;
}

.page-head p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* -----------------------------
   6. Typography
----------------------------- */

h1,
h2,
h3 {
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.eyebrow-static {
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* -----------------------------
   7. Home Hero
----------------------------- */

.hero {
  display: grid;
  grid-template-columns: 37% 63%;
  min-height: 620px;
  background: #040404;
}

.hero-left {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98),
      rgba(0, 0, 0, 0.88) 70%,
      rgba(0, 0, 0, 0.18)
    );
  z-index: 2;
}

.eyebrow {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 15px;
}

.hero-title {
  font-size: clamp(3.3rem, 5.4vw, 5.4rem);
  font-weight: 700;
}

.script-line {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.95;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 4px 0 24px;
  transform: rotate(-2deg);
}

.hero-copy {
  max-width: 430px;
  color: #eee5dc;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    var(--hero-img) center / cover no-repeat;
  overflow: hidden;
}

.hero-image::after {
  content: "01";
  position: absolute;
  right: 27px;
  top: 48%;
  font-family: Oswald, Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.dots {
  position: absolute;
  right: 32px;
  top: 55%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dots span {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.75;
}

.dots span:first-child {
  background: var(--pink);
  opacity: 1;
}

/* -----------------------------
   8. Features Strip
----------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #030303;
}

.feature {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 25px 34px;
  border-right: 1px solid var(--line);
  align-items: center;
}

.feature:last-child {
  border-right: 0;
}

.feature svg {
  width: 42px;
  height: 42px;
  stroke: url(#stroke-grad);
  fill: none;
  stroke-width: 1.8;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 7px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* -----------------------------
   9. Home Grid / Promo
----------------------------- */

.home-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  min-height: 430px;
}

.tile {
  position: relative;
  min-height: 430px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.tile:last-child {
  border-right: 0;
}

.image-tile {
  display: flex;
  align-items: flex-end;
  padding: 36px;
  background-size: cover;
  background-position: center;
}

.image-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.84),
      rgba(0, 0, 0, 0.12)
    );
}

.tile-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.tile-title {
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 700;
}

.tile-sub {
  color: var(--muted);
  line-height: 1.5;
}

.stage {
  background-image: var(--stage-img);
  background-position: left bottom;
}

.community {
  background-image: var(--community-img);
  background-position: right bottom;
}

.promo {
  display: grid;
  place-items: center;
  background: #08080b;
  padding: 24px;
}

.promo-inner {
  width: 100%;
  max-width: 360px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#08080b, #08080b) padding-box,
    var(--gradient) border-box;
  padding: 35px 26px;
  text-align: center;
}

.promo-label {
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.promo h2 {
  font-size: 3.4rem;
  line-height: 1.05;
  margin-bottom: 18px;
}

.promo h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.promo p {
  text-transform: uppercase;
  color: #eee;
  margin-bottom: 22px;
}

.promo-ig {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.promo-ig svg {
  width: 26px;
  height: 26px;
  fill: url(#grad-fill);
}

/* -----------------------------
   10. Portfolio Page
----------------------------- */

.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 42px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.portfolio-tabs span:first-child {
  color: var(--pink);
  border-bottom: 2px solid var(--pink);
  padding-bottom: 8px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.video-card {
  position: relative;
  min-height: 190px;
  background: #111;
  border: 1px solid var(--line);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55),
      transparent
    );
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.play::after {
  content: "";
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.load-more {
  margin: 28px auto 0;
  display: flex;
  width: max-content;
}

/* -----------------------------
   11. Services / Demo Reels
----------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#09090b, #09090b) padding-box,
    var(--gradient) border-box;
  padding: 0 0 28px;
  text-align: center;
}

.service-img {
  height: 170px;
  background: var(--hero-img) center / cover no-repeat;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 13px;
}

.service-card p {
  color: var(--muted);
  padding: 0 18px;
  line-height: 1.55;
  font-size: 0.92rem;
}

.price {
  color: var(--pink);
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
  margin-top: 18px;
}

.offer-strip {
  margin-top: 50px;
  border: 1px solid var(--line);
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #070707;
}

.offer-strip h2 {
  font-size: 2.5rem;
}

.offer-strip span {
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

/* -----------------------------
   12. About Page
----------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 46px;
}

.about-text h1 {
  font-size: 4rem;
  margin-bottom: 22px;
}

.about-text p {
  color: #eee5dc;
  line-height: 1.65;
  max-width: 520px;
}

.about-photo {
  min-height: 520px;
  background: var(--about-img) center / cover no-repeat;
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 50px;
}

.stat {
  text-align: center;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-family: Oswald, Arial, sans-serif;
  font-size: 2.7rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* -----------------------------
   13. Contact Page
----------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-copy h1 {
  font-size: 4.5rem;
  margin-bottom: 26px;
}

.contact-copy p {
  color: #eee5dc;
  line-height: 1.65;
}

.form-box {
  border: 1px solid var(--line);
  padding: 30px;
  background: #08080b;
}

label {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
  padding: 14px 15px;
  color: #fff;
  margin-bottom: 18px;
}

textarea {
  height: 150px;
}

.send {
  width: 100%;
  border: 0;
  padding: 16px;
  background: var(--gradient);
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
}

/* -----------------------------
   14. Footer
----------------------------- */

footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  color: var(--muted);
  font-size: 0.85rem;
}

footer img {
  width: 110px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

/* -----------------------------
   15. Animations
----------------------------- */

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* -----------------------------
   16. Responsive
----------------------------- */

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }

  .nav-right {
    justify-content: flex-start;
  }

  .hero,
  .home-grid,
  .features,
  .services-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-left {
    position: relative;
  }

  .hero-image {
    min-height: 460px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-strip {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .page-wrap {
    padding: 45px 22px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .contact-copy h1,
  .about-text h1 {
    font-size: 3rem;
  }

  .script-line {
    font-size: 2.7rem;
  }

  .book-btn,
  .solid-btn,
  .outline-btn {
    width: 100%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
