/* ============================================================
   Supertanker Studios — Main Stylesheet
   ============================================================ */

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

:root {
  --color-bg:        #0d0d0d;
  --color-surface:   #1a1a1a;
  --color-card:      #222222;
  --color-border:    #333333;
  --color-gold:      #c9a84c;
  --color-gold-lt:   #e8c96e;
  --color-red:       #cc2222;
  --color-text:      #e8e8e8;
  --color-muted:     #999999;
  --color-white:     #ffffff;
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Lato', Arial, sans-serif;
  --radius:          6px;
  --shadow:          0 4px 24px rgba(0,0,0,0.6);
  --transition:      0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-lt); }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  line-height: 1.25;
}

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--dark { background: var(--color-surface); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.divider {
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.75rem auto 2rem;
  border: none;
}

/* ---------- Age Gate Overlay ---------- */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.age-gate__box {
  background: var(--color-surface);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.age-gate__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.age-gate__logo img {
  height: 60px;
  width: auto;
  display: block;
}

.age-gate__tagline {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.age-gate__warning-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.age-gate__title {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.age-gate__body {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.age-gate__body strong { color: var(--color-text); }

.age-gate__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn--gold {
  background: var(--color-gold);
  color: #000;
  border-color: var(--color-gold);
}
.btn--gold:hover { background: var(--color-gold-lt); border-color: var(--color-gold-lt); color: #000; }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover { border-color: var(--color-muted); color: var(--color-white); }

.btn--red {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.btn--red:hover { background: #aa1111; }

.btn--full { width: 100%; }

.age-gate__legal {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.age-gate__legal a { font-size: 0.75rem; }

/* ---------- Navigation ---------- */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Fallback text (shown if SVG fails to load) */
.nav__logo span { display: none; }

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav__links a:hover { color: var(--color-gold); }

.nav__cta {
  background: var(--color-gold);
  color: #000 !important;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius);
}
.nav__cta:hover { background: var(--color-gold-lt) !important; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 40%, #0d0d0d 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}

.hero__content { position: relative; z-index: 1; max-width: 800px; }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.3rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero__title em {
  font-style: normal;
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--color-gold);
  padding: 1.5rem 0;
}

.stats-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stat {
  text-align: center;
  color: #000;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

/* ---------- Model Cards (Placeholder) ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.model-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.15);
}

.model-card__img {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #2a1a1a, #1a1a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.model-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%);
}

.model-card__img-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.7);
  color: var(--color-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.model-card__body { padding: 1rem 1.25rem 1.25rem; }

.model-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.model-card__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.model-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  font-size: 0.72rem;
  background: rgba(201,168,76,0.12);
  color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: border-color var(--transition);
}

.feature-card:hover { border-color: var(--color-gold); }

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card__body { color: var(--color-muted); font-size: 0.9rem; }

/* ---------- Requirements Section ---------- */
.req-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.req-list li {
  background: var(--color-card);
  border-left: 3px solid var(--color-gold);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
}

.req-list li::before {
  content: '✓ ';
  color: var(--color-gold);
  font-weight: 700;
}

/* ---------- Process Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 48px;
  margin: 0 auto 1rem;
}

.step__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step__body { font-size: 0.85rem; color: var(--color-muted); }

/* ---------- Contact Form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.contact-info p { color: var(--color-muted); font-size: 0.95rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-detail__icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-detail__text { color: var(--color-muted); }
.contact-detail__text strong { color: var(--color-text); display: block; }

/* ---------- Form Lightbox Wrapper ---------- */
.form-lightbox {
  background: linear-gradient(160deg, #2a2010 0%, #1e1a0e 40%, #1a1a14 100%);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 10px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(201,168,76,0.15);
  position: relative;
}

.form-lightbox::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(ellipse at top center, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ---------- Form Groups & Labels ---------- */
.form-group { margin-bottom: 1.35rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-lt);
  margin-bottom: 0.45rem;
}

/* ---------- Form Inputs ---------- */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 248, 220, 0.12);   /* warm cream tint — visible on dark bg */
  border: 1.5px solid rgba(201, 168, 76, 0.6);
  border-radius: var(--radius);
  color: #f5f0e0;                           /* warm white text */
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(201, 168, 76, 0.35);
  font-style: italic;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(201, 168, 76, 0.85);
  background: rgba(255, 248, 220, 0.16);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background: rgba(255, 248, 220, 0.20);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

/* Select arrow */
.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 d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #1e1a0e;
  color: #f5f0e0;
}

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

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

/* ---------- Checkboxes ---------- */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.87rem;
  color: #c8b880;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--color-gold);
  cursor: pointer;
  border: 1.5px solid var(--color-gold);
  border-radius: 3px;
}

#form-success, #form-error {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

#form-success { background: rgba(40,160,80,0.15); border: 1px solid #28a050; color: #5ddd8a; }
#form-error   { background: rgba(200,40,40,0.15); border: 1px solid #c82828; color: #ff7070; }

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  display: block;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-content p, .legal-content li {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li { margin-bottom: 0.4rem; }

.legal-content address {
  font-style: normal;
  background: var(--color-card);
  border-left: 3px solid var(--color-gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
footer {
  background: #080808;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.footer__brand-desc {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: var(--color-muted);
  font-size: 0.85rem;
}
.footer__links a:hover { color: var(--color-gold); }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 700px;
}

.footer__compliance {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__compliance a {
  font-size: 0.75rem;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.footer__compliance a:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding: 1rem 1.5rem; gap: 1rem; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .age-gate__buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-bar__inner { flex-direction: column; }
}
