:root {
  --primary: #1a1a1a;
  --accent: #2493e1;
  --danger: hsl(0, 0%, 7%);
  --gray-bg: #f8f8f8;
  --white: #fff;
  --border: #ececec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--gray-bg);
  color: var(--primary);
  letter-spacing: 0.01em;
}

/* Navbar */
.navbar {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
}
.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 72px;
  justify-content: space-between;
}
.nav-logo img { height: 50px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--primary); font-weight: 600; font-size: 1.13rem;
  position: relative; transition: color 0.2s;
}
.nav-links a.active, .nav-links a:hover { color: var(--accent); }
.nav-links a.active::after, .nav-links a:hover::after {
  content: ''; display: block; margin: 2px auto 0; width: 22px; height: 2.5px;
  background: linear-gradient(90deg, var(--danger), var(--accent)); border-radius: 2px;
}

/* Hero Section */
.hero {
  width: 100%;
  background: var(--white);
  padding: 78px 0 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.rainbow-title, .rainbow-word, .rainbow-contact, .rainbow-models, .rainbow-about {
  background: linear-gradient(90deg, #ee3045, #f9c846, #7cc65a, #2493e1, #a259c6, #f76e2a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent; font-weight: 800; letter-spacing: 2px;
}
.hero-logo { width: 180px; height: auto; margin-bottom: 28px; }
.hero-content h1 { font-size: 2.8rem; font-weight: 700; color: var(--danger); margin: 0 0 18px; letter-spacing: 0.05em; }
.hero-subtitle { font-size: 1.25rem; color: var(--primary); margin: 0 0 32px; font-weight: 500; }
.hero-socials { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.hero-icon {
  color: #000; background: #fff; border-radius: 50%; font-size: 1.8rem;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 2px 8px #ececec; transition: background .2s, color .2s;
}
.hero-icon:hover { background: #2493e1; color: #fff; }
.hero-cta {
  display: inline-block; background: linear-gradient(90deg, var(--danger), var(--accent));
  color: var(--white); padding: 15px 38px; border-radius: 30px; font-size: 1.1rem;
  text-decoration: none; font-weight: 600; transition: filter .18s, background .25s; box-shadow: 0 2px 12px #e0e0e0;
}
.hero-cta:hover { filter: brightness(0.95); }

/* Home Feature Section */
.home-feature {
  max-width: 700px; background: var(--white); margin: 50px auto 36px; text-align: center;
  padding: 38px 18px 34px; border-radius: 14px; box-shadow: 0 2px 14px #ececec;
}
.home-feature h2 { font-size: 2.1rem; color: var(--accent); margin-bottom: 12px; }
.home-feature p { color: #444; margin-bottom: 24px; font-size: 1.1rem; }
.feature-link {
  color: var(--danger); font-weight: 600; text-decoration: none; font-size: 1rem;
  border-bottom: 2px solid var(--danger); padding-bottom: 2px; transition: border-color .2s, color .2s;
}
.feature-link:hover { color: var(--accent); border-color: var(--accent); }

/* Models (generic bits kept for reuse) */
.models-hero { text-align: center; margin: 60px 0 28px; }
.models-hero h1 { font-size: 2.2rem; color: var(--danger); font-weight: 700; margin-bottom: 8px; }
.models-hero p { color: #444; font-size: 1.1rem; }
.models-gallery { max-width: 1200px; margin: 0 auto 60px; padding: 0 18px; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.model-card { background: var(--white); border-radius: 18px; box-shadow: 0 2px 12px #e0e0e0; overflow: hidden; text-align: center; transition: transform .18s; }
.model-card:hover { transform: translateY(-7px) scale(1.03); box-shadow: 0 6px 30px #ddd; }
.model-card img { width: 100%; height: 350px; object-fit: cover; }
.model-name { padding: 16px 0; font-weight: 600; font-size: 1.1rem; color: var(--accent); }

/* === Light gallery overrides (no black bg) === */
.viewer, .modal, .gallery-overlay { background: rgba(255,255,255,0.85) !important; backdrop-filter: blur(4px); }
.stage, .viewer-wrap, .gallery, .carousel, .slide, .image-stage {
  background: var(--white) !important; box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.viewer img, .gallery img { background: #fff !important; }
.thumbs-row { background: rgba(255,255,255,0.9); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-arrow { background: var(--white); border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* About */
.about-hero {
  max-width: 700px; margin: 70px auto 50px; background: var(--white); border-radius: 14px;
  box-shadow: 0 2px 14px #ececec; padding: 38px 24px;
}
.about-hero h1 { color: var(--danger); font-size: 2.2rem; margin-bottom: 18px; }
.about-hero p { color: #444; font-size: 1.1rem; margin: 18px 0; }

/* Contact */
.contact-hero {
  max-width: 600px; margin: 70px auto 50px; background: var(--white); border-radius: 14px;
  box-shadow: 0 2px 14px #ececec; padding: 38px 24px; text-align: center;
}
.contact-hero h1 { color: var(--danger); font-size: 2.1rem; margin-bottom: 18px; }
.contact-hero p { color: #444; margin-bottom: 24px; font-size: 1.08rem; }

/* Footer */
footer {
  background: var(--white); color: #888; text-align: center; padding: 24px 0;
  font-size: 1rem; border-top: 1px solid var(--border); margin-top: 60px;
}

/* Responsive */
@media (max-width: 700px) {
  .nav-content { flex-direction: column; height: auto; padding: 0 10px; }
  .nav-links { gap: 16px; }
  .hero-content h1, .about-hero h1, .models-hero h1, .contact-hero h1 { font-size: 1.4rem; }
  .models-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-hero, .contact-hero, .home-feature { padding: 18px 8px; margin: 38px 7px; }
}

/* Background collage */
.with-bg::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url('images/Talent collage.jpg'); background-size: 100%; background-position: center;
  background-repeat: no-repeat; opacity: 0.3; z-index: -1; pointer-events: none;
}

/* FINAL hard overrides for dark overlays in any viewer/lightbox */
#modelOverlay, .model-overlay, .modal-overlay, .modal-backdrop, .viewer, .viewer-backdrop, .viewer-wrap,
.viewer-stage, .lightbox, .lightbox__container, .lightbox__overlay, .lightbox__slide,
.fancybox__container, .fancybox__backdrop, .fancybox__carousel, .fancybox__slide {
  background: rgba(255,255,255,0.92) !important; backdrop-filter: blur(4px);
}
#modelOverlay .stage, #modelOverlay .image-stage, .viewer-stage, .viewer-wrap, .lightbox__slide, .fancybox__slide {
  background: #fff !important; box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
#modelOverlay .nav-arrow, .viewer .nav-arrow, .lightbox .nav, .fancybox__nav {
  background: #fff !important; border: 1px solid var(--border) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
#modelOverlay .thumbs-row, .viewer .thumbs, .lightbox .thumbnails, .fancybox__thumbs {
  background: rgba(255,255,255,0.95) !important; border: 1px solid var(--border) !important; border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
#modelOverlay img, .viewer img, .lightbox img, .fancybox__slide img { background: #fff !important; }
body.modal-open, body.viewer-open, body.fancybox-active { background: #fff !important; }

/* =========================
   BTS CINEMATIC VIDEO BANNER (portrait-safe, no cropping)
   ========================= */
.bts-hero{
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 420px;
  max-height: 780px;
  overflow: hidden;
  background: #f5f5f5;
  border-bottom: 1px solid var(--border);
}
/* Blurred background fill */
.bts-video-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.05);
  transform: scale(1.08);
  opacity: .55;
  z-index: 1;
}
/* Foreground portrait video shown fully */
.bts-frame{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
}
.bts-video-portrait{
  height: 100%;
  width: auto;
  max-width: 42vw;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  background: transparent;
}
/* Soft overlay so text reads while faces remain visible */
.bts-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.08) 35%,
    rgba(255,255,255,0.00) 60%,
    rgba(255,255,255,0.28) 100%
  );
  z-index: 3; pointer-events: none;
}
.bts-content{
  position: relative; z-index: 4; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; padding: 40px 16px 46px; color: #111;
}
.bts-content h1{ margin: 0 0 8px; font-size: 2.4rem; font-weight: 800; letter-spacing: .5px; }
.bts-content p{ margin: 0; font-size: 1.08rem; color: #333; }

@media (max-width: 1200px){ .bts-video-portrait{ max-width: 52vw; } }
@media (max-width: 900px){
  .bts-hero{ height: 60vh; min-height: 380px; }
  .bts-video-portrait{ max-width: 70vw; }
  .bts-content h1{ font-size: 2rem; }
  .bts-content p{ font-size: 1rem; }
}
@media (max-width: 600px){
  .bts-hero{ height: 56vh; min-height: 340px; }
  .bts-video-portrait{ max-width: 86vw; }
}
