/* ==========================================================================
   LIGHT 'N' SHADE STUDIO - LUXURY CINEMATIC DESIGN SYSTEM
   Brand Colors: Obsidian Black, Charcoal, Champagne Gold, Pure Light
   ========================================================================== */

:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #121319;
  --bg-card: #181922;
  --bg-card-hover: #21222f;
  --bg-glass: rgba(18, 19, 25, 0.75);
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa8222;
  --gold-gradient: linear-gradient(135deg, #f7e7b4 0%, #d4af37 50%, #9e781e 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);
  
  --text-primary: #fcfcfd;
  --text-secondary: #c5c7d0;
  --text-muted: #8b8e9b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-hover: rgba(212, 175, 55, 0.8);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 45%);
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.font-display {
  font-family: var(--font-display);
}

/* Luxury Gold Text Gradient */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Styles */
.glass-header {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.glass-card {
  background: rgba(24, 25, 34, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gold-gradient);
  color: #0d0e12;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55);
  color: #000;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA56;
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

/* Hero Slider */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease-out;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 14, 0.4) 0%,
    rgba(10, 11, 14, 0.7) 65%,
    rgba(10, 11, 14, 0.95) 100%
  );
}

/* Video Player Styling */
.cinema-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--gold-glow);
  border: 1px solid var(--border-gold);
}

.video-glow-effect {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  filter: blur(25px);
  z-index: -1;
  opacity: 0.6;
}

/* Gallery & Masonry Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.gallery-card.tall {
  aspect-ratio: 3/4;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.25);
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.gallery-overlay-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.4) 60%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.gallery-card:hover .gallery-overlay-badge {
  transform: translateY(0);
  opacity: 1;
}

/* Category Filter Tabs */
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #0b0c10;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
}

/* Interactive Before / After Split Slider */
.comparison-slider-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  user-select: none;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.comparison-image.modified {
  width: 50%;
  border-right: 2px solid var(--gold-primary);
  overflow: hidden;
  box-shadow: 5px 0 20px rgba(0,0,0,0.4);
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.comparison-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
  border: 2px solid #fff;
  font-size: 14px;
  font-weight: bold;
}

/* Floating Action Trigger Bar */
.floating-contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.floating-btn.whatsapp {
  background: #25D366;
}

.floating-btn.phone {
  background: var(--gold-gradient);
  color: #0b0c10;
}

.floating-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 12, 0.97);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img, .lightbox-img-wrapper video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #2a2c3a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Animated Shimmer Tag */
.shimmer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Marquee Carousel for Awards/Press */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* FAQ Accordion Styling */
details.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: all var(--transition-normal);
}

details.faq-item[open] {
  border-color: var(--border-gold);
  background: rgba(24, 25, 34, 0.95);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item .faq-icon {
  transition: transform var(--transition-normal);
  color: var(--gold-primary);
}

details.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
