/* ============================================================
   CubLion Entertainment — Shared Stylesheet
   ============================================================ */

/* ---------- RESET & VARIABLES ---------- */
:root {
  --navy: #232E4C;
  --navy-dark: #1B2440;
  --navy-light: #344264;
  --gold: #C6A56A;
  --gold-light: #E0C48F;
  --gold-dark: #A8884F;
  --black: #0B0F16;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

p, li, h1, h2, h3, h4, a, span, div, label, summary {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- SKIP NAV (accessibility) ---------- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

/* ---------- UTILITY ---------- */
.gold {
  background: linear-gradient(135deg, #C6A56A 0%, #E0C48F 50%, #C6A56A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-backdrop {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}

.nav-insignia {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.nav-insignia:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(198,165,106,0.35));
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.85; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(11, 15, 22, 0.97);
  backdrop-filter: blur(30px);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
}
.mobile-nav-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198,165,106,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mobile-nav-close:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(198,165,106,0.48);
  transform: scale(1.04);
}
.mobile-nav-close:focus-visible {
  outline: 2px solid rgba(198,165,106,0.65);
  outline-offset: 3px;
}
.mobile-nav a {
  color: var(--gold);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 0.8; }

/* ---------- HERO (index) ---------- */
.hero {
  text-align: center;
  padding: 180px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-logo {
  width: 800px;
  max-width: 88vw;
  height: auto;
  margin: 0 auto 40px;
  display: block;
  animation: fadeSlideUp 1s var(--ease) both;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  margin: 0 0 20px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  animation: fadeSlideUp 1s 0.15s var(--ease) both;
}

.hero .subhead {
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
  opacity: 0.9;
  animation: fadeSlideUp 1s 0.3s var(--ease) both;
}

.hero .cta-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 1s 0.45s var(--ease) both;
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  text-align: center;
  padding: 170px 20px 60px;
  position: relative;
}

.page-hero::before {
  content: none;
}

.page-hero .center-lion {
  height: 110px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
  animation: fadeSlideUp 0.8s var(--ease) both;
}

.page-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  margin: 0 0 16px;
  animation: fadeSlideUp 0.8s 0.12s var(--ease) both;
}

.page-hero .lede {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.8;
  animation: fadeSlideUp 0.8s 0.24s var(--ease) both;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), opacity 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  box-shadow: 0 4px 20px rgba(198,165,106,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198,165,106,0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid rgba(198,165,106,0.4);
  box-shadow: 0 0 0 0 rgba(198,165,106,0);
}
.btn-ghost:hover {
  background: rgba(198,165,106,0.08);
  border-color: rgba(198,165,106,0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198,165,106,0.15);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section--white {
  background: var(--white);
  color: var(--navy);
}

.section--gray {
  background: var(--gray-50);
  color: var(--navy);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--darker {
  background: var(--navy-dark);
  color: var(--white);
}

.kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.section h2 {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.section .section-desc {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.88;
}

/* ---------- CARDS ---------- */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  text-align: left;
}

.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
}

/* Light cards */
.section--white .card,
.section--gray .card {
  background: var(--white);
  border: 1px solid rgba(35,46,76,0.08);
  box-shadow: 0 4px 20px rgba(35,46,76,0.06);
}
.section--white .card:hover,
.section--gray .card:hover {
  box-shadow: 0 16px 40px rgba(35,46,76,0.12);
}

/* Dark cards */
.section--dark .card,
.section--darker .card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.section--dark .card:hover,
.section--darker .card:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(198,165,106,0.15), rgba(198,165,106,0.05));
  border: 1px solid rgba(198,165,106,0.2);
}

.section--white .card-icon,
.section--gray .card-icon {
  background: linear-gradient(135deg, rgba(35,46,76,0.06), rgba(35,46,76,0.02));
  border-color: rgba(35,46,76,0.1);
}

.card h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.88;
}

/* ---------- STATS ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  font-weight: 600;
}

/* ---------- STEP CARDS ---------- */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  text-align: left;
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

details {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

details[open] {
  background: rgba(255,255,255,0.08);
  border-color: rgba(198,165,106,0.25);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 14px 0 0;
  opacity: 0.88;
  line-height: 1.85;
  font-size: 15px;
}

/* ---------- FORMS ---------- */
.form-wrap {
  max-width: 600px;
  margin: 36px auto 0;
  text-align: left;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}

.field {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field::placeholder {
  color: rgba(255,255,255,0.35);
}

.field:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(198,165,106,0.15);
}

textarea.field {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 14px;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.7;
  margin: 12px 0 0;
  opacity: 0.7;
}

.footer-brand .footer-lion {
  height: 44px;
  width: auto;
  opacity: 0.8;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: var(--gold);
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.5;
  font-family: 'Inter', sans-serif;
}

/* ---------- CONTENT PAGES (our-story) ---------- */
.content-main {
  background: var(--white);
  color: var(--navy);
  padding: 80px 20px 100px;
}

.content-main h2 {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  margin: 40px 0 16px;
  letter-spacing: 0.02em;
}

.content-main p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 18px;
  color: var(--navy);
  opacity: 0.92;
}

.photo-section {
  margin: 40px 0 50px;
  text-align: center;
}

.photo-section img {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.photo-caption {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.65;
  font-style: italic;
}

.callout-box {
  border: 1px solid rgba(35,46,76,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  background: var(--gray-50);
  margin: 32px 0 16px;
}

.callout-box strong {
  display: block;
  margin-bottom: 12px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.callout-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.callout-list li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.9;
  font-size: 15px;
}

.callout-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.signature {
  margin-top: 64px;
  text-align: right;
}

.signature-close {
  font-size: 15px;
  opacity: 0.85;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.signature-name {
  font-family: 'Allura', cursive;
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 160px 16px 70px; }
  .hero h1 { font-size: 28px; }
  .hero .subhead { font-size: 15px; }
  .hero-logo { width: 600px; }

  .page-hero { padding: 150px 16px 50px; }
  .page-hero h1 { font-size: 36px; }

  .section { padding: 70px 16px; }
  .section h2 { font-size: 28px; }

  .stat-number { font-size: 32px; }

  .content-main { padding: 50px 16px 70px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero-logo { width: 90vw; }
  .page-hero h1 { font-size: 30px; }
  .section h2 { font-size: 24px; }
  .stats-row { gap: 16px; }
  .stat-number { font-size: 28px; }
  .btn { padding: 14px 28px; font-size: 14px; }
}
