/* ==========================================================================
   GEN-Z LUXURY PORTFOLIO DESIGN SYSTEM & CSS TOKENS
   Style Direction: Apple × Nike × Awwwards × Creative Studio
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0A0A0A;
  --bg-secondary: #121212;
  --bg-tertiary: #1A1A1A;
  --accent: #B8FF00; /* Acid Green */
  --accent-glow: rgba(184, 255, 0, 0.35);
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #444444;
  
  /* Glassmorphism */
  --glass-bg: rgba(18, 18, 18, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: rgba(255, 255, 255, 0.02);
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Syne', sans-serif;
  
  /* Speeds / Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Dynamic Customizer Hooks */
  --cursor-color: #B8FF00;
  --cursor-size: 8px;
  --cursor-ring-size: 40px;
  --cursor-glow-intensity: 0.6;
  --float-speed-multiplier: 1;
  --badge-speed-multiplier: 1;
  --services-hover-speed: 0.4s;
  --services-flood-color: #B8FF00;
  --testimonial-transition-speed: 0.6s;
  --marquee-speed-duration: 20s;
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

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

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==========================================================================
   BACKGROUND ENGINE (CANVAS + OVERLAYS)
   ========================================================================== */

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #151515 0%, #0A0A0A 100%);
}

#noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 PreservingAspectRatio='xMidYMid slice'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 1;
  transition: opacity 0.3s ease;
}

#grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   MAGNETIC CUSTOM CURSOR
   ========================================================================== */

#custom-cursor-dot {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background-color: var(--cursor-color);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#custom-cursor-ring {
  width: var(--cursor-ring-size);
  height: var(--cursor-ring-size);
  border: 1px solid var(--cursor-color);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  /* Smooth trailing effect using JS updates, but box shadow provides the luxury glow */
  box-shadow: 0 0 calc(var(--cursor-glow-intensity) * 20px) rgba(184, 255, 0, calc(var(--cursor-glow-intensity) * 0.4));
  transition: 
    width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
    height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
    border-color 0.3s, 
    background-color 0.3s,
    box-shadow 0.3s;
}

/* Cursor States on Hover */
body.cursor-hover #custom-cursor-dot {
  width: 4px;
  height: 4px;
  background-color: #000000;
}

body.cursor-hover #custom-cursor-ring {
  width: 65px;
  height: 65px;
  background-color: rgba(184, 255, 0, 0.95);
  border-color: rgba(184, 255, 0, 0.95);
  mix-blend-mode: difference;
  box-shadow: 0 0 30px rgba(184, 255, 0, 0.8);
}

body.cursor-dark-hover #custom-cursor-ring {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
  body.custom-cursor-enabled, 
  body.custom-cursor-enabled a, 
  body.custom-cursor-enabled button,
  body.custom-cursor-enabled input,
  body.custom-cursor-enabled select,
  body.custom-cursor-enabled textarea {
    cursor: none;
  }
}
@media (max-width: 1023px) {
  #custom-cursor-dot, #custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  letter-spacing: 2px;
  transition: var(--transition-fast);
  padding: 8px 0;
  position: relative;
}

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

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: #000000;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-fast);
  z-index: 1;
}

.btn-primary span {
  position: relative;
  z-index: 2;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  transition: var(--transition-fast);
  z-index: 1;
}

.btn-primary:hover {
  color: var(--text-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover::before {
  top: 0;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Nav Styles */
.mobile-menu-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-trigger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   SCROLL REVEAL SYSTEM
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal[data-reveal="fade-up"] {
  transform: translateY(50px);
}

.scroll-reveal[data-reveal="fade-down"] {
  transform: translateY(-50px);
}

.scroll-reveal[data-reveal="fade-right"] {
  transform: translateX(-50px);
}

.scroll-reveal[data-reveal="fade-left"] {
  transform: translateX(50px);
}

.scroll-reveal[data-reveal="scale"] {
  transform: scale(0.9);
}

.scroll-reveal[data-reveal="blur"] {
  filter: blur(10px);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}

/* ==========================================================================
   HERO SECTION (NON-RECTANGULAR SPLIT COMPOSITION)
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.hero-split-left {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10%;
  z-index: 2;
}

.hero-content-wrapper {
  max-width: 600px;
}

.hero-fade-in {
  animation: heroFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.accent-text,
.accent_text,
.ACCENT_TEXT,
.ACCENT-TEXT {
  color: var(--accent);
}

.text-glow,
.text_glow,
.TEXT_GLOW,
.TEXT-GLOW {
  text-shadow: 0 0 20px rgba(184, 255, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-split-right {
  width: 50%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Non-rectangular diagonal mask */
.diagonal-mask {
  width: 120%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -20%;
  clip-path: polygon(var(--wipe-val, 15%) 0, 100% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(var(--wipe-val, 15%) 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

.cinematic-bg-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.cinematic-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% top;
  transform: scale(1.05);
  animation: slowZoom 30s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  0% { transform: scale(1.05) translate(0px, 0px); }
  100% { transform: scale(1.15) translate(-10px, -10px); }
}

.cinematic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.4) 30%, transparent 100%);
}

/* Anti-Gravity Floating tags */
.floating-tags-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.floating-tag {
  position: absolute;
  pointer-events: auto;
  will-change: transform;
  text-decoration: none;
  cursor: pointer;
}

.floating-tag span {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.floating-tag:hover span {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Floating positions */
.floating-tag:nth-child(1) { top: 25%; left: 35%; }
.floating-tag:nth-child(2) { top: 60%; left: 25%; }
.floating-tag:nth-child(3) { top: 18%; left: 65%; }
.floating-tag:nth-child(4) { top: 75%; left: 55%; }
.floating-tag:nth-child(5) { top: 45%; left: 75%; }

/* Depth indicator adjustments */
.depth-1 span { scale: 0.9; opacity: 0.6; filter: blur(1px); }
.depth-2 span { scale: 1.1; opacity: 0.9; }
.depth-3 span { scale: 1.3; font-weight: 700; border-color: rgba(255,255,255,0.25); }

/* ==========================================================================
   INFINITE MARQUEE TICKER
   ========================================================================== */

.marquee-section {
  width: 100%;
  overflow: hidden;
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px 0;
  position: relative;
  z-index: 10;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  animation: marquee var(--marquee-speed-duration) linear infinite;
  padding-left: 0;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 65px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: var(--transition-fast);
}

.marquee-track span:hover {
  color: var(--text-primary);
  -webkit-text-stroke-color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.marquee-track span.dot {
  color: var(--accent);
  -webkit-text-stroke: none;
  font-size: clamp(24px, 4vw, 48px);
}

.speed-reverse .marquee-track {
  animation-direction: reverse;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.spacer-bottom {
  margin-bottom: 80px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  padding: 120px 0;
  position: relative;
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  width: 100%;
}

.profile-card {
  position: relative;
  width: 100%;
  aspect-ratio: 0.82;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: var(--transition-smooth);
}

.profile-card:hover .profile-img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.glass-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* Rotating Circular Badge */
.rotating-badge-wrapper {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background-color: #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.rotating-badge-wrapper:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}

.rotating-badge-svg {
  width: 100%;
  height: 100%;
  animation: rotateBadge 16s linear infinite;
  transform-origin: center;
}

.rotating-badge-text {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.8px;
  fill: var(--text-primary);
  text-transform: uppercase;
}

.badge-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes rotateBadge {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: -1.5px;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 700px;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--glass-glow) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  background: rgba(25px, 25px, 25px, 0.6);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(184, 255, 0, 0.15);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* ==========================================================================
   PORTFOLIO SECTION (PREMIUM MASONRY GRID & LIGHTBOX)
   ========================================================================== */

.portfolio-section {
  padding: 100px 0;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.portfolio-filters {
  display: flex;
  gap: 15px;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Masonry Grid Layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 30px;
  grid-auto-flow: dense;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item.size-tall {
  grid-column: span 2;
  grid-row: span 4;
}

.portfolio-item.size-wide {
  grid-column: span 4;
  grid-row: span 3;
}

.portfolio-item.size-medium {
  grid-column: span 2;
  grid-row: span 3;
}

/* Portfolio Media & Interactive States */
.portfolio-media-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Blur & overlay transitions */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  opacity: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 30px;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.portfolio-info {
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
}

.portfolio-arrow, .portfolio-play-icon {
  font-size: 24px;
  color: #000000;
  background-color: var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
}

.portfolio-play-icon {
  font-size: 14px;
  padding-left: 2px;
}

/* Hover Reveals Triggered individually */
.portfolio-item:hover .portfolio-media,
.portfolio-item.in-focus .portfolio-media {
  transform: scale(1.08);
  filter: blur(2px) brightness(0.75);
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item.in-focus .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-info,
.portfolio-item.in-focus .portfolio-info,
.portfolio-item:hover .portfolio-arrow,
.portfolio-item.in-focus .portfolio-arrow,
.portfolio-item:hover .portfolio-play-icon,
.portfolio-item.in-focus .portfolio-play-icon {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-arrow:hover {
  background-color: #FFFFFF;
}

/* Custom CSS filters for categories */
.portfolio-item.filtered-out {
  opacity: 0.08;
  pointer-events: none;
  transform: scale(0.96);
}

/* Lightbox overlay styling */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 50px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 45px;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 100000;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Hidden by default, shown dynamically for galleries */
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 100000;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-content {
  max-width: 80%;
  max-height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img, .lightbox-content video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-details {
  margin-top: 25px;
  text-align: center;
}

.lightbox-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-top: 5px;
}

/* ==========================================================================
   SERVICES SECTION (ACID GREEN FLOOD ANIMATION WIDGET)
   ========================================================================== */

.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  height: 380px;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  padding: 40px 30px;
  transform-style: preserve-3d;
  perspective: 1000px;
  transform: translate3d(0, 0, 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

/* Underlay fill vector */
.service-flood-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--services-flood-color);
  z-index: 1;
  transition: transform var(--services-hover-speed) cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Defaults: Upward fill */
  top: 0;
  left: 0;
  transform: scaleY(0);
  transform-origin: bottom;
}

.service-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--services-hover-speed);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: color var(--services-hover-speed), transform var(--services-hover-speed);
}

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 60px;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: color var(--services-hover-speed);
}

.service-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 15px;
  transition: color var(--services-hover-speed);
}

.service-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--services-hover-speed);
}

.service-link span {
  transition: transform 0.3s;
}

/* Service Card Hover States & Focus States */
.service-card:hover .service-flood-bg,
.service-card.in-focus .service-flood-bg {
  transform: scaleY(1) scaleX(1); /* Combined to work with both scales */
}

.service-card:hover,
.service-card.in-focus {
  transform: translateY(-8px) scale(1.02) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(184,255,0,0.12);
}

.service-card:hover .service-num,
.service-card.in-focus .service-num,
.service-card:hover .service-title,
.service-card.in-focus .service-title,
.service-card:hover .service-desc,
.service-card.in-focus .service-desc,
.service-card:hover .service-link,
.service-card.in-focus .service-link {
  color: #000000;
}

.service-card:hover .service-icon svg,
.service-card.in-focus .service-icon svg {
  color: #000000;
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-link span,
.service-card.in-focus .service-link span {
  transform: translateX(5px);
}

/* Directions mapping classes (Changed by Settings) */
.flood-dir-down .service-flood-bg {
  transform: scaleY(0);
  transform-origin: top;
}
.flood-dir-right .service-flood-bg {
  transform: scaleX(0);
  transform-origin: left;
}
.flood-dir-left .service-flood-bg {
  transform: scaleX(0);
  transform-origin: right;
}

/* ==========================================================================
   TESTIMONIALS SLIDER SECTION
   ========================================================================== */

.testimonials-section {
  padding: 100px 0;
  position: relative;
}

.testimonials-slider-container {
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonials-slider {
  display: flex;
  width: 300%; /* Spans 3 columns dynamically */
  gap: 30px;
  cursor: grab;
  transition: transform var(--testimonial-transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonials-slider:active {
  cursor: grabbing;
}

.testimonial-slide {
  width: calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px;
  border-radius: 16px;
  min-height: 320px;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 40px;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--accent);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6);
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.client-role {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation Buttons */
.slider-nav {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  justify-content: flex-end;
}

.slider-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-section {
  padding: 120px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5.5fr 6.5fr;
  gap: 80px;
  align-items: center;
}

.contact-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 20px;
  margin-bottom: 50px;
  max-width: 450px;
}

/* Integrations items */
.contact-integrations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 25px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
  width: fit-content;
}

.integration-item:hover {
  border-color: var(--accent);
  background-color: rgba(25px, 25px, 25px, 0.4);
}

.integration-icon {
  font-size: 20px;
  color: var(--accent);
}

.integration-text {
  display: flex;
  flex-direction: column;
}

.integration-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.integration-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

/* Modern Form Elements */
.contact-form-block {
  padding: 50px;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group textarea {
  resize: none;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select option {
  background-color: #121212;
  color: #ffffff;
}

/* Floating logic on focus */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-22px);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: transparent;
}

.form-submit-btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.footer-meta span {
  color: var(--accent);
  font-weight: 700;
}



/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1440px) {
  .header-container, .section-container {
    padding: 0 40px;
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
  }
  .portfolio-item.size-tall {
    grid-column: span 2;
    grid-row: span 3;
  }
  .portfolio-item.size-wide {
    grid-column: span 4;
    grid-row: span 2;
  }
  .portfolio-item.size-medium {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 1023px) {
  .nav-links, .header-action {
    display: none;
  }
  .mobile-menu-trigger {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-section {
    flex-direction: column;
  }
  .hero-split-left {
    width: 100%;
    height: 60%;
    padding: 120px 40px 40px;
  }
  .hero-split-right {
    width: 100%;
    height: 40%;
  }
  .diagonal-mask {
    width: 100%;
    left: 0;
    clip-path: polygon(0 var(--wipe-val, 15%), 100% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 var(--wipe-val, 15%), 100% 0, 100% 100%, 0% 100%);
  }
  .floating-tags-container {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
  }
  .floating-tag:nth-child(1) { top: 62%; left: 8%; }
  .floating-tag:nth-child(2) { top: 75%; left: 55%; }
  .floating-tag:nth-child(3) { top: 60%; left: 58%; }
  .floating-tag:nth-child(4) { top: 86%; left: 12%; }
  .floating-tag:nth-child(5) { top: 70%; left: 10%; }
  .floating-tag span {
    padding: 6px 14px;
    font-size: 10px;
    filter: none !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    opacity: 0.95 !important;
  }
  .depth-1 span { scale: 0.95; filter: none !important; opacity: 0.85 !important; }
  .depth-2 span { scale: 1.0; filter: none !important; opacity: 0.95 !important; }
  .depth-3 span { scale: 1.05; filter: none !important; opacity: 1.0 !important; border-color: rgba(184, 255, 0, 0.45) !important; }
  .rotating-badge-wrapper {
    bottom: -20px;
    right: 20px;
  }
}

@media (max-width: 767px) {
  .header-container, .section-container {
    padding: 0 24px;
  }
  .section-title {
    font-size: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    height: auto;
    min-height: 360px;
    padding: 35px 25px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, auto);
  }
  .portfolio-item.size-tall, .portfolio-item.size-wide, .portfolio-item.size-medium {
    grid-column: span 1;
    grid-row: span 1;
  }
  .testimonial-slide {
    width: 100%;
    padding: 30px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-form-block {
    padding: 30px;
  }
}

/* ==========================================================================
   PREMIUM MOBILE-SPECIFIC LAYOUT & INTERACTIONS
   ========================================================================== */

/* Fullscreen Glass mobile menu with radial light & staggered slide-up */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 6, 6, 0.96);
  background-image: radial-gradient(circle at 50% 30%, rgba(184, 255, 0, 0.08) 0%, transparent 60%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
  position: relative;
  display: inline-block;
}

/* Staggered entrance delay on active state */
.mobile-nav-overlay.active .mobile-nav-link,
.mobile-nav-overlay.active .mobile-nav-links li .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-overlay.active .mobile-nav-link:nth-child(1),
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(1) .mobile-nav-link { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2),
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(2) .mobile-nav-link { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3),
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(3) .mobile-nav-link { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4),
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(4) .mobile-nav-link { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5),
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(5) .mobile-nav-link { transition-delay: 0.5s; }

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent-glow);
}

/* 3D Mobile scroll-reveal animations for portfolio cards */
@media (max-width: 767px) {
  .portfolio-item {
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: translate3d(0, 40px, -50px) rotateX(8deg);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
  }
  
  .portfolio-item.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }

  .portfolio-item.js-tilt {
    transition: opacity 0.8s !important;
  }

  .service-card.js-tilt {
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s !important;
  }
}

/* Mobile Quick Actions sheet drawer */
.mobile-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 999;
  transform: translateY(calc(100% - 60px)); /* Peak drawer handle visible */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.mobile-sheet.active {
  transform: translateY(0);
}

.sheet-handle-area {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sheet-handle {
  width: 45px;
  height: 5px;
  background-color: var(--text-muted);
  border-radius: 100px;
  transition: background-color 0.3s;
}

.mobile-sheet.active .sheet-handle {
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.sheet-header {
  padding: 0 35px 20px;
  text-align: center;
}

.sheet-header h5 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.sheet-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 30px 45px;
}

.sheet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.sheet-btn:active, .sheet-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.sheet-btn.highlight {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #000000;
  box-shadow: 0 10px 25px rgba(184, 255, 0, 0.25);
}

.sheet-btn.highlight:active {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

/* Hide drawer on larger screens */
@media (min-width: 768px) {
  .mobile-sheet {
    display: none !important;
  }
}

/* ==========================================================================
   GALLERY PAGE CUSTOM STYLES
   ========================================================================== */

.gallery-page .main-header {
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.gallery-hero-section {
  padding-top: 180px; /* Pushes content below the fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.gallery-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 5vw;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.gallery-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .gallery-hero-section {
    padding-top: 140px;
    padding-bottom: 40px;
  }
  
  .gallery-title {
    font-size: 8vw;
  }
  
  .gallery-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .gallery-hero-section {
    padding-top: 120px;
    padding-bottom: 30px;
  }
  
  .gallery-title {
    font-size: 10vw;
    letter-spacing: -1px;
    margin-bottom: 15px;
  }
  
  .gallery-subtitle {
    font-size: 13px;
  }
}








