/* ============================================================
   BUBBEL MEDIA — Main Stylesheet
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --cream: #f7f5f2;
  --ink: #0f0f0f;
  --ink-mid: #3a3a3a;
  --ink-light: #5a5a5a;
  --ink-xlight: #aaaaaa;
  --accent: #d44f1e;
  --border: #e5e2de;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAVIGATION ── */
#site-navigation {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s;
}
#site-navigation.scrolled { border-color: rgba(255,255,255,0.12); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

.nav-menu-wrap { display: flex; align-items: center; gap: 2.5rem; }

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.nav-menu a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.lang-toggle {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  letter-spacing: 0.04em;
}
.nav-btn {
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-btn:hover { background: #b83e12; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #111;
  margin-top: 68px;
}
.hero-video-wrap {
  position: absolute; inset: 0;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  pointer-events: none;
}
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-fallback-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 14vw, 9rem);
  font-weight: 400;
  color: rgba(255,255,255,0.055);
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 0.88;
  user-select: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(15,15,15,0.15) 0%,
    rgba(15,15,15,0.08) 45%,
    rgba(15,15,15,0.72) 100%);
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.hero-tagline { text-align: right; color: rgba(255,255,255,0.85); }
.hero-tagline p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  max-width: 400px;
}
.hero-tagline small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
}

/* ── SHARED ── */
.sec-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 1.5rem;
}
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 0.5rem;
}
.tlink:hover { color: var(--accent); border-color: var(--accent); }
.tlink svg { width: 13px; transition: transform 0.2s; }
.tlink:hover svg { transform: translateX(3px); }

/* ── INTRO ── */
.intro-section {
  padding: 6rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-bottom: 1px solid var(--border);
  max-width: 860px;
}
.intro-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.intro-body p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 1.1rem;
}

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  padding: 5rem 3rem;
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: filter 0.3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:nth-child(1) { background: #f2ede8; }
.stat-cell:nth-child(2) { background: #ece8f2; }
.stat-cell:nth-child(3) { background: #e8f2ed; }
.stat-cell:hover { filter: brightness(0.97); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.stat-number sup { font-size: 0.45em; vertical-align: super; }
.stat-lbl { font-size: 0.83rem; font-weight: 500; margin-bottom: 0.35rem; }
.stat-desc { font-size: 0.78rem; color: var(--ink-light); line-height: 1.55; max-width: 200px; }

/* ── PRODUCTIONS ── */
.productions-section { padding: 6rem 0 4rem; border-bottom: 1px solid var(--border); }
.prod-header {
  padding: 0 3rem 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.prod-header-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.prod-header-right {
  font-size: 0.88rem;
  color: var(--ink-light);
  max-width: 320px;
  text-align: right;
  line-height: 1.65;
}
.prod-scroll {
  display: flex;
  gap: 1.25rem;
  padding: 0 3rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}
.prod-scroll::-webkit-scrollbar { display: none; }
.prod-scroll:active { cursor: grabbing; }
.prod-card {
  flex: 0 0 280px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3;
  transition: transform 0.35s ease;
  display: block;
}
.prod-card:hover { transform: translateY(-8px); }
.prod-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.prod-card:hover .prod-card-bg { transform: scale(1.05); }
.prod-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.1) 55%);
}
.prod-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.prod-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  transition: background 0.2s, transform 0.2s;
}
.prod-card:hover .prod-play { background: var(--accent); transform: scale(1.1); }
.prod-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
}
.prod-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
}
.prod-footer { padding: 2rem 3rem 0; }
.drag-hint {
  font-size: 0.73rem;
  color: var(--ink-xlight);
  padding: 0.75rem 3rem 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.drag-hint::before { content: '← '; }
.drag-hint::after { content: ' →'; }

/* ── PARTNERS MARQUEE ── */
.partners-section {
  padding: 4rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  background: var(--ink);
}
.marquee-wrap {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: bm-marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.partner {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink-xlight);
  flex-shrink: 0;
  cursor: default;
  transition: color 0.25s;
}
.partner:hover { color: var(--white); }
.msep { color: var(--border); font-size: 0.9rem; flex-shrink: 0; }

@keyframes bm-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about-section { border-bottom: 1px solid var(--border); }
.about-left {
  padding: 6rem 3rem;
  max-width: 860px;
}
.about-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.about-left h2 em { font-style: italic; color: var(--accent); }
.about-left p {
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

/* ── SERVICES ── */
.services-section { padding: 6rem 3rem; border-bottom: 1px solid var(--border); }
.services-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.svc-tag {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-mid);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.65rem 1.35rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.svc-tag:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.svc-tag.active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.svc-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}
.svc-detail.open { grid-template-rows: 1fr; margin-top: 2rem; }
.svc-detail-inner {
  overflow: hidden;
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0 2.5rem;
  transition: padding 0.4s ease;
}
.svc-detail.open .svc-detail-inner { padding: 2.5rem; }
.svc-detail-close {
  position: absolute;
  top: 1.1rem; right: 1.25rem;
  background: none; border: none;
  font-size: 0.85rem;
  color: var(--ink-xlight);
  cursor: pointer;
  transition: color 0.2s;
}
.svc-detail-close:hover { color: var(--ink); }
.svc-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.svc-detail-desc {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--ink-light);
  max-width: 620px;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--ink);
  color: var(--white);
  padding: 7rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.ctt-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
.contact-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.contact-section h2 em { font-style: italic; opacity: 0.45; }
.contact-section > div > p {
  font-size: 0.93rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}
.clink {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.clink:first-of-type { border-top: 1px solid rgba(255,255,255,0.08); }
.clink:hover { color: var(--white); }
.cdot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.cform { display: flex; flex-direction: column; gap: 1.15rem; }
.cfield { display: flex; flex-direction: column; gap: 0.38rem; }
.cfield label {
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
}
.cfield input,
.cfield textarea,
.cfield select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--white);
  padding: 0.82rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  font-weight: 300;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  width: 100%;
}
.cfield select option { background: #1a1a1a; }
.cfield input::placeholder,
.cfield textarea::placeholder { color: rgba(255,255,255,0.18); }
.cfield input:focus,
.cfield textarea:focus,
.cfield select:focus { border-color: rgba(255,255,255,0.3); }
.cfield textarea { min-height: 108px; resize: vertical; }
.sbtn {
  background: var(--white);
  color: var(--ink);
  border: none;
  padding: 0.88rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.sbtn:hover { background: var(--accent); color: var(--white); }
.sbtn:active { transform: scale(0.97); }
.form-success {
  display: none;
  background: rgba(42,122,74,0.15);
  border: 1px solid rgba(42,122,74,0.4);
  color: #7de0a8;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
}
.form-success.visible { display: block; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3.5rem 3rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.foot-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  display: block;
  margin-bottom: 1.5rem;
}
.foot-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.foot-social { display: flex; gap: 1rem; }
.foot-social a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  transition: color 0.2s;
}
.foot-social a:hover { color: var(--white); }
.foot-col-title {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.foot-links { display: flex; flex-direction: column; gap: 0.5rem; }
.foot-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--white); }
.foot-bottom {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.22);
}
.foot-bottom a { color: rgba(255,255,255,0.22); }
.foot-bottom a:hover { color: rgba(255,255,255,0.5); }
.foot-bottom-right { display: flex; gap: 1.5rem; }

/* ── SCROLL REVEAL ── */
.fu { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fu.in { opacity: 1; transform: translateY(0); }
.fu.d1 { transition-delay: 0.1s; }
.fu.d2 { transition-delay: 0.2s; }
.fu.d3 { transition-delay: 0.3s; }

/* ── ADMIN BAR OFFSET ── */
.admin-bar #site-navigation { top: 32px; }
.admin-bar .hero { margin-top: calc(68px + 32px); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #site-navigation { padding: 0 1.5rem; }
  .nav-menu-wrap { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu-wrap.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(15,15,15,0.98);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-menu { flex-direction: column; gap: 1.25rem; }
  .nav-menu a { font-size: 1rem; }

  .hero-content { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero-tagline { text-align: left; }

  .intro-section { padding: 4rem 1.5rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 1.5rem; }
  .stat-cell:last-child { border-bottom: none; }

  .prod-header { flex-direction: column; padding: 0 1.5rem 2rem; }
  .prod-header-right { text-align: left; max-width: 100%; }
  .prod-scroll { padding: 0 1.5rem; }
  .prod-footer { padding: 1.5rem 1.5rem 0; }
  .drag-hint { padding: 0.75rem 1.5rem 0; }

  .partners-section { padding: 3rem 1.5rem; }

  .about-left { padding: 4rem 1.5rem; }

  .services-section { padding: 4rem 1.5rem; }

  .contact-section { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }

  .site-footer { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem 2rem; }
  .foot-bottom { flex-direction: column; gap: 0.75rem; padding: 1rem 1.5rem; }
}

@media (max-width: 500px) {
  .site-footer { grid-template-columns: 1fr; }
  .prod-card { flex: 0 0 240px; }
  .hero { margin-top: 68px; }
}
