/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ZAKARIA YAHIA PORTFOLIO
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Syne:wght@700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #050508;
  --bg-secondary: #0c0d14;
  --bg-card: #12131e;
  --accent-gold: #d4af37;
  --accent-amber: #ff9f1c;
  --accent-glow: rgba(212, 175, 55, 0.15);
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0ab;
  --text-muted: #646470;
  
  /* Borders */
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-hover: rgba(255, 255, 255, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Shadows */
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1b1c2b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Common Text Classes */
.serif-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.syne-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 100px 5% 80px;
}

@media(max-width: 768px) {
  .section-padding {
    padding: 70px 4% 50px;
  }
}

/* Spotlights & Background Overlays */
.bg-glow-spot {
  position: absolute;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(5, 5, 8, 0) 70%);
  top: 10%;
  right: -10%;
  z-index: 0;
  pointer-events: none;
}

.bg-glow-spot-2 {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.03) 0%, rgba(5, 5, 8, 0) 70%);
  bottom: 10%;
  left: -20%;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.header-navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(5, 5, 8, 0.9);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.2rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-booking-btn {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-gold);
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.nav-booking-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  z-index: -1;
  transition: var(--transition-smooth);
}

.nav-booking-btn:hover {
  color: var(--bg-primary);
  box-shadow: var(--shadow-accent);
}

.nav-booking-btn:hover::before {
  left: 0;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
    transition: var(--transition-smooth);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-booking-btn {
    width: 80%;
    text-align: center;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}

.hero-bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 0.45;
  animation: kenBurns 15s ease-in-out infinite;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -0.5%); }
  100% { transform: scale(1) translate(0, 0); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 0%, rgba(5,5,8,0.95) 90%),
              linear-gradient(to bottom, rgba(5,5,8,0.3) 0%, rgba(5,5,8,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  transform: translateY(20px);
  opacity: 0;
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 3rem;
  letter-spacing: 0.5px;
}

.hero-cta-btn {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 1rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,255,255,0.1);
  transition: var(--transition-smooth);
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
  background: var(--accent-gold);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator i {
  animation: bounce 2s infinite;
  color: var(--accent-gold);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   ABOUT & STATS SECTION
   ========================================================================== */
.about-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-content-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-intro-txt {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.4;
  font-weight: 300;
  color: var(--text-primary);
}

.about-bio {
  font-weight: 300;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.05rem;
}

.lang-switch {
  display: flex;
  gap: 0.8rem;
}

.lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  font-weight: 600;
}

.about-arabic-text {
  direction: rtl;
  font-family: sans-serif;
  line-height: 1.8;
  display: none;
}

/* Stats Cards */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-family: 'Syne', sans-serif;
  color: var(--accent-gold);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  display: block;
}

/* Portrait Block */
.about-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.portrait-glow-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.portrait-image-container {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  background: #111;
  position: relative;
}

.portrait-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.portrait-glow-frame:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-accent);
}

.portrait-glow-frame:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-portrait-wrapper {
    order: -1;
  }
}

/* ==========================================================================
   AWARDS TIMELINE
   ========================================================================== */
.awards-section {
  position: relative;
  z-index: 2;
}

.awards-timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
  padding-left: 3rem;
}

.awards-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--border-glass);
}

.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent-gold), var(--accent-gold-glow));
  box-shadow: 0 0 10px var(--accent-gold-glow);
  z-index: 1;
  transform-origin: top;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateX(-20px);
}

.timeline-badge {
  position: absolute;
  left: -3rem;
  top: 0.2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-gold);
  box-shadow: var(--shadow-accent);
  transform: translateX(-50%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-badge {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--accent-gold);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--border-glass-hover);
  transform: translateX(10px);
  box-shadow: var(--shadow-glow);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.timeline-title {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.timeline-year {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.timeline-org {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
}

.timeline-desc {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.95rem;
}

/* ==========================================================================
   INTERACTIVE GALLERY GRID
   ========================================================================== */
.gallery-section {
  position: relative;
  z-index: 2;
}

/* Filters Layout */
.gallery-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.filter-categories {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  font-weight: 600;
}

/* Governorate Sub Filters */
.filter-sub-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.filter-sub-wrapper.active {
  max-height: 100px;
}

.filter-governorates {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.5rem 0;
  border-top: 1px dashed rgba(255,255,255,0.06);
}

.sub-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sub-filter-btn:hover {
  color: var(--text-secondary);
  border-color: var(--border-glass-hover);
}

.sub-filter-btn.active {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  font-weight: 500;
}

/* Masonry Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}

.photo-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  /* 3D tilt setup */
  perspective: 1000px;
}

.photo-card.span-w2 {
  grid-column: span 2;
}

.photo-card.span-h2 {
  grid-row: span 2;
}

.photo-card.span-large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover .photo-img {
  transform: scale(1.04);
}

/* Photo Hover Overlay Details */
.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.3) 50%, rgba(5, 5, 8, 0.1) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  transform: translateZ(30px);
}

.photo-title {
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-primary);
}

.photo-location {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.card-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: overlay;
  transition: background 0.15s ease-out;
  border-radius: 8px;
}

.mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

/* Video Graphics Overlay Play badge */
.video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(40px);
  width: 4rem;
  height: 4rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

.photo-card:hover .video-badge {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 0 0 25px var(--accent-gold);
  transform: translate(-50%, -50%) translateZ(50px) scale(1.1);
}

@media(max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 200px;
  }
  .photo-card.span-w2, .photo-card.span-large {
    grid-column: span 1;
  }
}

@media(max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .photo-card.span-h2 {
    grid-row: span 1;
  }
}

/* ==========================================================================
   COLOR GRADING INTERACTIVE SLIDER (BTS)
   ========================================================================== */
.grading-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.grading-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grading-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.grading-desc {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

.grading-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.grading-spec-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
}

.grading-spec-row i {
  color: var(--accent-gold);
  width: 1.5rem;
  text-align: center;
}

/* The Compare Slider Component */
.slider-widget-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glow);
  user-select: none;
  -webkit-user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Graded Image - Base */
.slider-img.graded {
  z-index: 1;
}

/* RAW Image - Overlayed on Top with clipping */
.slider-img.raw {
  z-index: 2;
  width: 50%; /* Changed dynamically via JS clip-path */
  filter: saturate(0.2) contrast(0.7) brightness(1.1); /* Simulate RAW profile */
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-img.raw::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  z-index: 3;
}

/* Badges for status */
.slider-label {
  position: absolute;
  top: 1rem;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 5;
  pointer-events: none;
}

.slider-label.label-raw {
  left: 1rem;
  color: var(--text-secondary);
}

.slider-label.label-graded {
  right: 1rem;
  color: var(--accent-gold);
}

/* Drag Handle */
.slider-drag-handle {
  position: absolute;
  top: 50%;
  left: 50%; /* Adjusted dynamically by JS */
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  background: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  z-index: 10;
  cursor: ew-resize;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(0,0,0,0.5), 0 0 10px var(--accent-glow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.slider-drag-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

@media(max-width: 992px) {
  .grading-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   BEHIND THE SCENES GALLERY
   ========================================================================== */
.bts-section {
  position: relative;
  z-index: 2;
}

.bts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bts-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bts-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.bts-media-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.bts-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bts-card:hover .bts-media-box img {
  transform: scale(1.05);
}

.bts-info-box {
  padding: 1.5rem;
}

.bts-card-title {
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.bts-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .bts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   CONTACT ME SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  z-index: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

/* Contact Cards Left */
.contact-info-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-desc {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.05rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.contact-channel-item:hover {
  border-color: var(--accent-gold);
  transform: translateX(5px);
  box-shadow: var(--shadow-glow);
}

.channel-icon {
  width: 2.8rem;
  height: 2.8rem;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.contact-channel-item:hover .channel-icon {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.channel-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

/* Contact Form Right */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-glow);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.form-field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(5, 5, 8, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-glow);
}

select.form-input option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.form-submit-btn {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border: none;
  width: 100%;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: var(--transition-smooth);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

@media(max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media(max-width: 576px) {
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  background: #040406;
  padding: 3rem 5% 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-logo-sub {
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.footer-social-btn {
  width: 2.6rem;
  height: 2.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-social-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 1.5rem;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: rgba(3, 3, 5, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-accent);
}

.lightbox-nav-btn.prev-btn {
  left: 2rem;
}

.lightbox-nav-btn.next-btn {
  right: 2rem;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  max-height: 85%;
  align-items: center;
}

.lightbox-media-wrapper {
  position: relative;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-video {
  width: 100%;
  max-width: 800px;
  max-height: 70vh;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-details {
  width: 100%;
  max-width: 800px;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lightbox-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.lightbox-location {
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox EXIF metadata styling removed */

@media(max-width: 768px) {
  /* Center Section Headers on Mobile */
  .section-header {
    text-align: center !important;
    margin-bottom: 2.5rem;
  }

  /* About Section Centering */
  .about-content-left {
    text-align: center;
    align-items: center;
  }
  .lang-switch {
    justify-content: center;
  }
  .about-bio {
    align-items: center;
  }

  /* Stack stats container vertically on all mobile/tablet viewports */
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.5rem;
  }

  /* Color Grading Centering */
  .grading-info {
    text-align: center;
    align-items: center;
  }
  .grading-specs-list {
    align-items: center;
    width: 100%;
  }
  .grading-spec-row {
    justify-content: center;
    text-align: left;
    width: 100%;
    max-width: 450px;
  }

  /* Contact Centering */
  .contact-info-left {
    text-align: center;
    align-items: center;
  }
  .contact-channels {
    align-items: center;
    width: 100%;
  }
  .contact-channel-item {
    width: 100%;
    max-width: 420px;
  }

  /* Lightbox Navigation & Details */
  .lightbox-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .lightbox-nav-btn.prev-btn {
    left: 0.5rem;
  }
  .lightbox-nav-btn.next-btn {
    right: 0.5rem;
  }
  .lightbox-details {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
  
  /* Responsive Section Padding */
  .section-padding {
    padding: 60px 5% 50px;
  }

  /* Responsive Spotlight Size */
  .mouse-spotlight {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0) 70%);
  }

  /* BTS Grid Tablet & Mobile */
  .bts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Tablet BTS Layout */
@media (min-width: 576px) and (max-width: 992px) {
  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 480px) {
  /* Prevent filter buttons from breaking layout */
  .filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   PREMIUM SCROLL EFFECTS & 3D PARALLAX BOKEH ELEMENTS
   ========================================================================== */

/* Reading progress bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold), 0 0 5px var(--accent-gold);
  transition: width 0.1s ease-out;
}

/* Floating Bokeh Elements for 3D depth parallax */
.hero-bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
}
.bokeh-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0) 70%);
  top: 15%;
  left: 10%;
}
.bokeh-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0) 70%);
  bottom: 12%;
  right: 15%;
}
.bokeh-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  top: 45%;
  right: 35%;
}

/* Text Splitting Typography Styles */
.word-wrapper {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  margin-right: 0.28em; /* Add space between words */
}
.word-inner {
  display: inline-block;
  transform: translateY(105%);
  will-change: transform;
}
