/* ==========================================================================
   SOBUJ FILMS — CINEMATIC DARK LUXURY CORE DESIGN SYSTEM
   Official Production House Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,400;1,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Cinematic Dark Luxury Palette */
  --bg-primary: #090909;
  --bg-secondary: #111111;
  --bg-surface: #181818;
  --bg-surface-elevated: #222222;
  --bg-surface-translucent: rgba(24, 24, 24, 0.75);
  --bg-overlay: rgba(9, 9, 9, 0.88);

  /* Cinematic Red Accents */
  --red-cinematic: #C51624;
  --red-deep: #850D19;
  --red-glow: rgba(197, 22, 36, 0.35);
  --red-subtle: rgba(197, 22, 36, 0.12);

  /* Typography */
  --text-primary: #F5F2EF;
  --text-secondary: #A6A2A0;
  --text-muted: #777777;
  --text-accent: #E5E1DC;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-red: rgba(197, 22, 36, 0.45);

  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevations */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-red: 0 8px 30px -6px rgba(197, 22, 36, 0.35);
  --shadow-elevated: 0 20px 40px -15px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   RESET & BASE STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* FILM GRAIN TEXTURE */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* SELECTION */
::selection {
  background-color: var(--red-cinematic);
  color: #FFFFFF;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #282828;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-cinematic);
}

/* ACCESSIBILITY: SKIP LINK */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--red-cinematic);
  color: #fff;
  padding: 10px 18px;
  z-index: 10001;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border-radius: 4px;
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus-visible {
  top: 15px;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.font-editorial {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* SECTION TAG / EYEBROW */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-cinematic);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--red-cinematic);
}

/* SECTION HEADING BLOCK */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.text-center .section-tag::before {
  display: none;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0;
}
.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn-cinematic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-cinematic-primary {
  background-color: var(--red-cinematic);
  color: #FFFFFF;
  border-color: var(--red-cinematic);
  box-shadow: 0 4px 20px rgba(197, 22, 36, 0.3);
}
.btn-cinematic-primary:hover {
  background-color: var(--red-deep);
  border-color: var(--red-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 22, 36, 0.45);
}

.btn-cinematic-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn-cinematic-outline:hover {
  border-color: var(--red-cinematic);
  color: #FFFFFF;
  background-color: var(--red-subtle);
  transform: translateY(-2px);
}

.btn-cinematic-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.btn-cinematic-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.cinematic-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: #090909;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cinematic-header.scrolled {
  height: 72px;
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}
.cinematic-header.scrolled .brand-logo-img {
  height: 40px;
}
.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
}

/* NAV LINKS */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item a {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-cinematic);
  transition: width var(--transition-smooth);
}
.nav-item a:hover {
  color: var(--text-primary);
}
.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}
.nav-item.active a {
  color: #FFFFFF;
  font-weight: 600;
}

/* HEADER ACTION */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* MOBILE TOGGLE BUTTON */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  z-index: 1002;
  transition: var(--transition-fast);
}
.nav-toggle-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-smooth);
  border-radius: 1px;
}
.nav-toggle-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--red-cinematic);
}
.nav-toggle-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--red-cinematic);
}

/* MOBILE MENU DRAWER */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 380px);
  height: 100vh;
  background: #0d0d0d;
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-block;
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.mobile-nav-links a:hover,
.mobile-nav-links .active a {
  color: var(--red-cinematic);
  transform: translateX(6px);
}

.mobile-nav-footer {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}
.mobile-nav-contact {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.mobile-nav-contact a {
  color: var(--text-primary);
  display: block;
  margin-top: 6px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.55s; }

/* ==========================================================================
   CUSTOM CURSOR (DESKTOP ONLY)
   ========================================================================== */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--red-cinematic);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, background-color 0.2s ease;
  }
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(197, 22, 36, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  }
  .cursor-hover .cursor-ring {
    width: 58px;
    height: 58px;
    border-color: var(--red-cinematic);
    background-color: rgba(197, 22, 36, 0.08);
  }
  .cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(1.6);
  }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING BADGE
   ========================================================================== */
.whatsapp-cinematic {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 990;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.whatsapp-cinematic:hover {
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   FOOTER (CINEMATIC MULTI-COLUMN)
   ========================================================================== */
.cinematic-footer {
  background-color: #060606;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 35px;
  position: relative;
  overflow: hidden;
}
.cinematic-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: radial-gradient(circle, var(--red-cinematic) 0%, transparent 80%);
  opacity: 0.4;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .brand-logo-img {
  height: 48px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social-links {
  display: flex;
  gap: 12px;
}
.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.footer-social-btn:hover {
  background: var(--red-cinematic);
  color: #FFFFFF;
  border-color: var(--red-cinematic);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--red-cinematic);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-list a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-links-list a:hover {
  color: var(--red-cinematic);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.footer-contact-item i {
  color: var(--red-cinematic);
  margin-top: 4px;
  font-size: 1rem;
}
.footer-contact-item a {
  color: var(--text-secondary);
}
.footer-contact-item a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-secondary);
}
.footer-bottom a:hover {
  color: var(--red-cinematic);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   MODAL DIALOGS (CINEMATIC)
   ========================================================================== */
.cinematic-modal .modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  color: var(--text-primary);
}
.cinematic-modal .modal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 30px;
}
.cinematic-modal .modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cinematic-modal .modal-body {
  padding: 30px;
}
.cinematic-form-group {
  margin-bottom: 18px;
}
.cinematic-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.cinematic-input, .cinematic-select, .cinematic-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.cinematic-input:focus, .cinematic-select:focus, .cinematic-textarea:focus {
  outline: none;
  border-color: var(--red-cinematic);
  box-shadow: 0 0 0 2px rgba(197, 22, 36, 0.2);
}
.cinematic-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }
  .nav-toggle-btn {
    display: flex;
  }
  .header-actions .btn-cinematic {
    display: none;
  }
}

@media (max-width: 600px) {
  .cinematic-header {
    height: 74px;
  }
  .header-container {
    padding: 0 18px;
  }
  .brand-logo-img {
    height: 40px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .whatsapp-cinematic {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-fade-up, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

