/* ═══════════════════════════════════════════════════
   CHARCOAL CREATIVES — style.css
   CUSTOMISE: Change CSS variables below to adjust
   colours, fonts, and spacing site-wide.
═══════════════════════════════════════════════════ */

:root {
  /* CUSTOMISE: Brand colours */
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --card-bg: #2a2a2a;
  --card-hover: #3a3a3a;
  --mid: #555555;
  --light-grey: #aaaaaa;
  --white: #ffffff;
  --accent: #ffffff;

  /* CUSTOMISE: Typography */
  --font-main: "Barlow Semi Condensed", sans-serif;

  /* CUSTOMISE: Spacing & radius */
  --radius-card: 20px;
  --radius-btn: 50px;
  --section-pad: 80px 24px;
  --max-width: 860px;
}

/* ─── RESET ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ─── SHARED UTILITIES ───────────────────────────── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad);
}

.section-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--white);
}

.card-rounded {
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn-pill {
  display: inline-block;
  background: var(--card-bg);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.15s ease;
  text-align: center;
}
.btn-pill:hover {
  background: var(--card-hover);
}
.btn-pill:active {
  transform: scale(0.97);
}

.btn-sm {
  font-size: 0.75rem;
  padding: 8px 18px;
}

.btn-submit {
  font-size: 0.9rem;
  padding: 14px 40px;
  margin-top: 20px;
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #3a3a3a 0%, var(--black) 70%);
  padding: 60px 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
}

.hero-logo {
  margin-bottom: 8px;
}

.logo-img {
  width: clamp(660px, 135vw, 1260px);
  height: auto;
  margin: 0 auto;
  /* Invert to white on black hero */
  filter: brightness(0) invert(1);
}

.hero-headline {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.headline-accent {
  /* CUSTOMISE: accent colour for "ELEVATED." */
  color: var(--white);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.hero-sub strong {
  color: var(--white);
  font-weight: 800;
}

/* ══════════════════════════════════════════════════
   WHAT WE DO
══════════════════════════════════════════════════ */
#what-we-do {
  background: var(--white);
  color: var(--black);
}

#what-we-do .section-title {
  color: var(--black);
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  counter-reset: none;
  max-width: 600px;
  margin: 0 auto;
}

.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}
.roadmap-step:last-child {
  border-bottom: none;
}

/* Bullet dot */
.roadmap-step::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
  margin-top: 6px;
}

.step-left {
  display: flex;
  flex-direction: column;
  min-width: 110px;
}

.step-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.35);
  line-height: 1;
  margin-bottom: 2px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--black);
}

.step-desc {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.5;
  padding-top: 4px;
}

/* ══════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════ */
#portfolio {
  background: var(--black);
}

.portfolio-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.portfolio-header .section-title {
  margin-bottom: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Video cards */
.portfolio-video {
  background: var(--card-bg);
  aspect-ratio: 9/16;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.portfolio-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
}

.video-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Middle column */
.portfolio-middle {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

/* Brands card */
.brands-card {
  background: var(--card-bg);
  padding: 18px 14px 14px;
  text-align: center;
}

.brands-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 14px;
}

.brands-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.carousel-arrow {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
  font-family: var(--font-main);
}
.carousel-arrow:hover {
  opacity: 1;
}

.brand-slide {
  flex: 1;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-item {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.brand-item.active {
  display: flex;
}

.brand-item img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Reviews card */
.reviews-card {
  background: var(--card-bg);
  padding: 18px 16px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-item {
  display: none;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.review-item.active {
  display: flex;
}

.review-text {
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.review-author {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

/* ══════════════════════════════════════════════════
   PACKAGES
══════════════════════════════════════════════════ */
#packages {
  background: var(--black);
}

.packages-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.packages-header .section-title {
  margin-bottom: 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 660px;
  margin: 0 auto;
}

.package-card:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 10px);
  margin: 0 auto;
}

@media (max-width: 480px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .package-card:last-child {
    width: 100%;
    grid-column: 1;
  }
}

.package-card {
  background: var(--card-bg);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.package-badge {
  display: inline-block;
  background: var(--mid);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 18px;
  border-radius: var(--radius-btn);
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.package-features li {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.4;
}
.package-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
#contact {
  background: radial-gradient(
    ellipse at 50% 100%,
    #2a2a2a 0%,
    var(--black) 65%
  );
}

#contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
}

.form-input {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-card);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 14px 20px;
  outline: none;
  width: 100%;
  transition: background 0.2s;
  appearance: none;
}
.form-input:hover {
  background: var(--card-hover);
}
.form-input:focus {
  background: var(--card-hover);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}
.form-input option {
  background: var(--dark);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  border-radius: var(--radius-card);
}

/* reCAPTCHA centering */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.form-alt-email {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}
.form-alt-email a:hover {
  color: var(--white);
}

.form-message {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-height: 24px;
  margin-top: 8px;
}
.form-message.success {
  color: #6fcf97;
}
.form-message.error {
  color: #eb5757;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-video {
    aspect-ratio: 16/9;
  }

  .portfolio-video iframe {
    position: relative;
    height: 100%;
    inset: auto;
  }

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

  .step-left {
    min-width: 90px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 56px 18px;
  }
}
