/* ══════════════════════════════════════════════════════════════
   TBC ENTERPRISES — tbcenterprises.com
   Custom CSS — supplements Tailwind CDN
   All Tailwind utility classes remain in HTML class attributes.
   This file contains ONLY custom/component CSS.
══════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Tailwind color tokens as CSS vars)
────────────────────────────────────────────────────────────── */
:root {
  --red:    #B91C1C;
  --red-dk: #991B1B;
  --gold:   #FFE503;
  --black:  #0A0A0A;
  --dark2:  #141414;
  --dark3:  #1C1C1C;
}


/* ──────────────────────────────────────────────────────────────
   BASE / RESET
────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: unset !important; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  text-wrap: balance;
}

p, li, blockquote { text-wrap: pretty; }


/* ──────────────────────────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────────────────────────── */
#main-nav {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#main-nav.scrolled {
  background: rgba(10,10,10,0.97) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.45);
}


/* ──────────────────────────────────────────────────────────────
   MOBILE MENU
────────────────────────────────────────────────────────────── */
#mob-menu { display: none; }
#mob-menu.open { display: block; }


/* ──────────────────────────────────────────────────────────────
   HERO — Homepage full-height hero
────────────────────────────────────────────────────────────── */
.hero-bg {
  background:
    linear-gradient(160deg, rgba(10,10,10,0.88) 0%, rgba(139,0,0,0.55) 60%, rgba(10,10,10,0.92) 100%),
    url('/wp-content/uploads/AdobeStock_159002374.jpeg') center/cover no-repeat fixed;
}

h1 span {
  color: #FFE503;
}

/* Inner-page hero (me-literacy, books, artist-directory, contact) */
.page-hero {
  background:
    linear-gradient(160deg, rgba(10,10,10,0.92) 0%, rgba(139,0,0,0.60) 55%, rgba(10,10,10,0.95) 100%),
    url('/wp-content/uploads/AdobeStock_159002374.jpeg') center/cover no-repeat fixed;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
}

/* Privacy/Terms hero bar */
.hero-bar {
  padding: 3.5rem 2rem;
  text-align: center;
}
.hero-bar h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.hero-bar p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}


/* ──────────────────────────────────────────────────────────────
   SECTIONS / BACKGROUNDS
────────────────────────────────────────────────────────────── */

/* Brain image background (The Next Two Literacies section) */
.bg-brain {
  background: url('/wp-content/uploads/yellow-black-brain.jpg') center/cover no-repeat;
  position: relative;
}

/* Podcast image background (Conversations Worth Having section) */
.bg-podcast {
  background: url('/wp-content/uploads/podcast.jpeg') center/cover no-repeat;
  position: relative;
}

/* Artist section dark gradient background */
.bg-artist {
  background: linear-gradient(160deg, #0A0A0A 0%, #1a0a0a 60%, #111 100%);
}

/* Dark overlay for bg-image sections */
.section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 0;
}

/* Brings content above the overlay */
.rel-above {
  position: relative;
  z-index: 1;
}


/* ──────────────────────────────────────────────────────────────
   VIDEO WRAPPER
────────────────────────────────────────────────────────────── */
.vid-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.vid-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}


/* ──────────────────────────────────────────────────────────────
   BOOK COVER
────────────────────────────────────────────────────────────── */
.book-cover{
    position: sticky; top: 100px; align-self: start;
}

.book-cover-wrap {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 1px solid rgba(255,229,3,0.6);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}


/* ──────────────────────────────────────────────────────────────
   CAROUSEL
────────────────────────────────────────────────────────────── */
.carousel-section-wrap { position: relative; }

.carousel-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.t-card {
  flex-shrink: 0;
  width: 320px;
}

/* Carousel nav buttons */
.car-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,229,3,0.15);
  border: 1.5px solid rgba(255,229,3,0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
}
.car-nav-btn:hover {
  background: rgba(255,229,3,0.3);
  border-color: rgba(255,229,3,0.8);
}
.car-nav-btn svg { width: 18px; height: 18px; stroke: #FFE503; }
#car-prev { left: 1rem; }
#car-next { right: 1rem; }


/* ──────────────────────────────────────────────────────────────
   ARTIST DIRECTORY — Homepage category tiles
────────────────────────────────────────────────────────────── */
.artist-category-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid #FFE503;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.artist-category-tile:hover {
  background: rgba(255,229,3,0.08);
  border-color: rgba(255,229,3,0.5);
}
.artist-tile-icon {
  width: 48px; height: 48px;
  background: #1C1C1C;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.artist-tile-icon svg { width: 24px; height: 24px; stroke: #FFE503; }

/* Directory page — filter buttons */
.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.filter-btn:hover { border-color: #FFE503; color: #FFE503; }
.filter-btn.active { background: #FFE503; border-color: #FFE503; color: #0A0A0A; }

/* Directory page — artist cards */
.artist-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid #FFE503;
  border-radius: 10px;
  padding: 1.75rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.artist-card:hover {
  background: rgba(255,229,3,0.05);
  border-color: rgba(255,229,3,0.4);
  transform: translateY(-3px);
}
.artist-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,229,3,0.3);
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.discipline-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(185,28,28,0.2);
  color: #FFE503;
  margin-bottom: 0.75rem;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Category panels — hidden by default, shown by JS */
.category-section { display: none; }
.category-section.active { display: block; }


/* ──────────────────────────────────────────────────────────────
   ME LITERACY PAGE
────────────────────────────────────────────────────────────── */
.seven-q-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #FFE503;
  border-radius: 8px;
}
.seven-q-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: #FFE503;
  flex-shrink: 0;
  width: 2.5rem;
}

.soft-skill-tag {
  display: inline-block;
  background: rgba(185,28,28,0.15);
  border: 1px solid rgba(185,28,28,0.35);
  color: #fff;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 0.2rem;
}


/* ──────────────────────────────────────────────────────────────
   BOOKS PAGE
────────────────────────────────────────────────────────────── */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid #FFE503;
  border-radius: 10px;
  padding: 1.5rem;
}

.coming-soon-badge {
  display: inline-block;
  background: #FFE503;
  color: #0A0A0A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
}


/* ──────────────────────────────────────────────────────────────
   CONTACT — V2 diagonal section (homepage + contact page)
────────────────────────────────────────────────────────────── */
.contact-section-v2 {
  background: #0A0A0A;
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.contact-section-v2::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 70%;
  background: #B91C1C;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.contact-inner-v2 {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-left-v2 h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.contact-left-v2 p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

/* Contact form card */
.contact-form-v2 {
  background: #111;
  border-radius: 10px;
  padding: 2.5rem;
}
.contact-form-v2 .fg { margin-bottom: 1.25rem; }
.contact-form-v2 label {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.contact-form-v2 label span { color: #FFE503; }
.contact-form-v2 input,
.contact-form-v2 textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #fff;
  transition: border-color 0.2s;
}
.contact-form-v2 input::placeholder,
.contact-form-v2 textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-form-v2 input:focus,
.contact-form-v2 textarea:focus { outline: none; border-color: #FFE503; }
.contact-form-v2 textarea { resize: none; }
.contact-form-v2 button {
  width: 100%;
  background: #FFE503;
  color: #0A0A0A;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.contact-form-v2 button:hover { background: #fff200; }

/* Contact page — info tiles */
.info-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid #FFE503;
  border-radius: 8px;
}
.info-tile-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: rgba(185,28,28,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}


/* ──────────────────────────────────────────────────────────────
   FORMS — Generic focus state
────────────────────────────────────────────────────────────── */
.form-field:focus { outline: none; border-color: #FFE503; }


/* ──────────────────────────────────────────────────────────────
   PRIVACY / TERMS — Standalone page styles
────────────────────────────────────────────────────────────── */
.site-header {
  background: #0A0A0A;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header a { text-decoration: none; }

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.05em;
}
.logo span { color: #FFE503; }

.back-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.back-link:hover { color: #FFE503; }

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.content h2 {
  font-size: 1.25rem;
  color: #111;
  margin: 2.5rem 0 0.75rem;
}
.content p { color: #444; margin-bottom: 1rem; }
.content ul { color: #444; padding-left: 1.5rem; margin-bottom: 1rem; }
.content ul li { margin-bottom: 0.4rem; }
.content a { color: #B91C1C; }
.content a:hover { text-decoration: underline; }

/* Copyright small text (privacy/terms footer) */
.copy {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}
.copy a { color: inherit; text-decoration: none; }
.copy a:hover { color: rgba(255,255,255,0.55); }


/* ──────────────────────────────────────────────────────────────
   UTILITIES
────────────────────────────────────────────────────────────── */
/* Gold bar divider */
.divider {
  width: 56px;
  height: 4px;
  background: #FFE503;
  border-radius: 2px;
}

/* Privacy/terms divider (slightly narrower) */
.content .divider {
  width: 48px;
  height: 3px;
  margin: 0 0 2.5rem;
}

/* Gold left-border accent for blockquotes */
.accent-left {
  border-left: 4px solid #FFE503;
  padding-left: 1.25rem;
}

/* Small copyright text */
.copy-sm { font-size: 13px; }


/* ──────────────────────────────────────────────────────────────
   RESPONSIVE / MEDIA QUERIES
────────────────────────────────────────────────────────────── */

/* Contact section — stack on mobile */
@media (max-width: 900px) {
  .contact-section-v2::after { display: none; }
  .contact-inner-v2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .book-cover{
    position: relative;
    display: block;
    top: 0;
  }
}


.gform-theme--foundation .gform_fields{
    row-gap: 0 !important;
}
/* ==========================================================================
   Gravity Forms Global Override: TBC Enterprises Dark Theme
   ========================================================================== */

/* 1. Hide GF's default "(Required)" text and replace with a yellow asterisk */
.gform_wrapper.gform-theme .gfield_required_text {
    display: none !important;
}
.gform_wrapper.gform-theme .gfield_required::before {
    content: " *" !important;
    color: #FFE503 !important; /* TBC Yellow */
    font-size: 1.1em !important;
}

/* 2. Field Labels */
.gform_wrapper.gform-theme .gfield_label {
    color: #A3A3A3 !important; /* Light gray from image */
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* 3. Inputs & Textareas */
.gform_wrapper.gform-theme input[type="text"],
.gform_wrapper.gform-theme input[type="email"],
.gform_wrapper.gform-theme input[type="tel"],
.gform_wrapper.gform-theme input[type="number"],
.gform_wrapper.gform-theme textarea {
    background-color: #1A1A1A !important; /* Dark gray background */
    border: 1px solid #333333 !important; /* Subtle inner border */
    color: #FFFFFF !important;
    border-radius: 6px !important;
    padding: 16px !important;
    width: 100% !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    transition: border-color 0.2s ease !important;
}

/* Placeholder Text Color */
.gform_wrapper.gform-theme input::placeholder,
.gform_wrapper.gform-theme textarea::placeholder {
    color: #666666 !important;
}

/* Input Focus State */
.gform_wrapper.gform-theme input:focus,
.gform_wrapper.gform-theme textarea:focus {
    outline: none !important;
    border-color: #FFE503 !important; /* Highlights yellow on click */
}

/* 4. Spacing between Form Groups */
.gform_wrapper.gform-theme .gfield {
    margin-bottom: 24px !important;
    padding: 0 !important;
}

/* 5. The Submit Button */
.gform_wrapper.gform-theme .gform_footer {
    padding: 0 !important;
    margin-top: 32px !important;
}

.gform_wrapper.gform-theme .gform_button[type="submit"] {
    background-color: #FFE503 !important;
    color: #000000 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    padding: 18px 24px !important;
    border: none !important;
    border-radius: 6px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

/* Button Hover State */
.gform_wrapper.gform-theme .gform_button[type="submit"]:hover {
    background-color: #e6ce00 !important; /* Slightly darker yellow on hover */
}