/* ============================================================
   BLKBOX Custom — style.css
   ============================================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  font-size: 16px;
}

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

/* ----- Container ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header ----- */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 24px 0 0;
  text-align: center;
}

header .logo {
  max-height: 80px;
  margin: 0 auto;
}

/* ----- Navigation ----- */
nav { margin-top: 18px; }

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
}

nav ul li a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #333;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.15s;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active { color: #000; }

nav ul li a.active { border-bottom: 2px solid #111; }

.nav-toggle {
  display: none;
  margin: 10px auto;
  background: none;
  border: 1px solid #111;
  padding: 7px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  color: #111;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #111;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

/* White filled — for use on dark/image backgrounds */
.btn.btn-white {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.btn.btn-white:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
}

/* White outline — ghost button on dark/image backgrounds */
.btn.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn.btn-outline-white:hover {
  background: #fff;
  color: #111;
}

/* Secondary — ghost on dark section backgrounds */
.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: #111;
}

/* Dark outline — ghost on light/white backgrounds */
.btn.dark-outline {
  background: transparent;
  color: #111;
  border-color: #111;
}

.btn.dark-outline:hover {
  background: #111;
  color: #fff;
}

/* ----- Pills ----- */
.pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ccc;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ----- Hero Slideshow ----- */
.hero-slider {
  position: relative;
  overflow: hidden;
}

/* Each slide is hidden by default; .active makes it flex */
.hero-slide {
  display: none;
  min-height: 540px;
  color: #fff;
  text-align: center;
  animation: heroFadeIn 0.6s ease;
}

.hero-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Slide 1 — DADFLIX (background image) */
.slide-dadflix {
  background-image: url('../img/dadflix-hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Full-slide dark overlay so text stays readable */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Slide 2 — BLKFUEL */
.slide-blkfuel {
  background-image: url('../img/blkfuel-hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: #111;
  position: relative;
}

/* Slide 3 — BLKBOX Custom (solid dark) */
.slide-blkbox {
  background: #111;
  padding: 0 24px;
}

/* Shared slide content wrapper */
.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
}

/* Eyebrow label */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ccc;
  margin-bottom: 16px;
}

/* DADFLIX logo image */
.dadflix-logo {
  max-width: 300px;
  width: 70%;
  display: block;
  margin: 0 auto 20px;
}

.blkfuel-slide-logo {
  max-width: 300px;
  width: 70%;
  display: block;
  margin: 0 auto 20px;
}

/* Slide body text */
.slide-content p {
  font-size: 1rem;
  color: #ddd;
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* BLKBOX slide headline */
.slide-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 700px;
  margin-bottom: 18px;
}

/* Slide CTA buttons row */
.slide-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Trust pills row */
.trust-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider dot indicators */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Slider prev/next arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 10;
  line-height: 1;
}

.slider-arrow:hover  { background: rgba(255, 255, 255, 0.18); }
.slider-arrow.prev   { left: 16px; }
.slider-arrow.next   { right: 16px; }

/* ----- Page Inner Hero ----- */
.page-hero {
  background: #111;
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.page-hero p {
  color: #bbb;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ----- Sections ----- */
.section { padding: 70px 24px; }

.section.bg-light { background: #f5f5f5; }

.section.bg-dark {
  background: #111;
  color: #fff;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 44px;
  font-size: 0.95rem;
}

.section.bg-dark .section-sub { color: #999; }

/* ----- Grids ----- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ----- Cards ----- */
.card {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-body p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 18px;
  flex: 1;
}

.card.dark {
  background: #1a1a1a;
  border-color: #2a2a2a;
  color: #fff;
}

.card.dark .card-body p { color: #aaa; }

/* ----- Capability Cards ----- */
.capability-card {
  background: #1a1a1a;
  color: #fff;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid #282828;
}

.capability-card .cap-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.capability-card h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.capability-card p {
  font-size: 0.83rem;
  color: #999;
}

/* ----- Serve Cards ----- */
.serve-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 30px;
}

.serve-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.serve-card p {
  font-size: 0.88rem;
  color: #555;
}

/* ----- CTA Section ----- */
.cta-section {
  background: #111;
  color: #fff;
  padding: 70px 24px;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.cta-section p {
  color: #aaa;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ----- Programs ----- */
.program-block {
  padding: 44px 0;
  border-bottom: 1px solid #e8e8e8;
}

.program-block:last-child { border-bottom: none; }

.program-block h2 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.program-block p {
  color: #555;
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

/* ----- Services ----- */
.service-block {
  padding: 44px 0;
  border-bottom: 1px solid #e8e8e8;
}

.service-block:last-child { border-bottom: none; }

.service-block h2 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.service-block p {
  color: #555;
  max-width: 680px;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.service-block ul {
  margin: 10px 0 20px 20px;
  font-size: 0.9rem;
  color: #555;
}

.service-block ul li { margin-bottom: 4px; }

/* ----- Products ----- */
.product-category { margin-bottom: 60px; }

.product-category h2 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid #111;
  padding-bottom: 10px;
  margin-bottom: 28px;
}

.product-card {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card-body { padding: 16px; }

.product-card-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-card-body p {
  font-size: 0.82rem;
  color: #666;
}

/* ----- Crafter Files ----- */
.file-notice {
  background: #f9f9f9;
  border-left: 3px solid #111;
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 0.85rem;
  color: #555;
}

.file-notice p { margin-bottom: 4px; }
.file-notice p:last-child { margin-bottom: 0; }

.file-card {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.file-card p {
  font-size: 0.83rem;
  color: #666;
  flex: 1;
}

.format-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.format-badge {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.crafter-category-card {
  background: #111;
  color: #fff;
  padding: 44px 28px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid #222;
  transition: background 0.15s;
}

.crafter-category-card:hover { background: #222; }

.crafter-category-card .cat-icon { font-size: 2.2rem; }

.crafter-category-card h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crafter-category-card p {
  font-size: 0.83rem;
  color: #aaa;
}

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ----- Quote Form ----- */
.form-wrap { max-width: 760px; margin: 0 auto; }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  color: #111;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.93rem;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #111; }

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-note { font-size: 0.8rem; color: #888; margin-top: 5px; }

.req { color: #c00; }

/* ----- Alerts ----- */
.alert {
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
}

.alert.success {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.alert.error {
  background: #fce4e4;
  border-left: 4px solid #c62828;
  color: #b71c1c;
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-block h2 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.contact-row strong {
  min-width: 70px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  padding-top: 2px;
}

.contact-row a {
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #ccc;
}

.contact-row a:hover { border-color: #111; }

/* ----- Footer ----- */
footer {
  background: #0d0d0d;
  color: #777;
  font-size: 0.83rem;
}

.footer-main {
  padding: 54px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 800;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }

.footer-col ul li a {
  text-decoration: none;
  color: #777;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #ccc; }

.footer-col p {
  color: #666;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1c1c1c;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: #555;
}

.footer-bottom a { color: #777; text-decoration: none; }

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }

/* ----- Responsive — 900px ----- */
@media (max-width: 900px) {
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .footer-main   { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 36px; }
}

/* ----- Responsive — 700px ----- */
@media (max-width: 700px) {
  .hero-slide        { min-height: 480px; }
  .slide-content h1  { font-size: 1.6rem; }
  .dadflix-logo      { max-width: 220px; }
  .blkfuel-slide-logo { max-width: 220px; }
  .slide-actions     { flex-direction: column; align-items: center; }
  .trust-pills       { flex-direction: column; align-items: center; gap: 8px; }
  .slider-arrow      { display: none; }
  .grid-3            { grid-template-columns: 1fr; }
  .grid-2            { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-main       { grid-template-columns: 1fr; gap: 30px; }
  .form-row          { grid-template-columns: 1fr; }
  nav ul             { display: none; flex-direction: column; align-items: stretch; }
  nav ul.open        { display: flex; }
  nav ul li a        { padding: 12px 20px; border-top: 1px solid #f0f0f0; text-align: left; }
  .nav-toggle        { display: block; }
}

/* ----- Responsive — 480px ----- */
@media (max-width: 480px) {
  .grid-4       { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.45rem; }
  .section      { padding: 50px 20px; }
}
