/* ============================================
   DESIGN SYSTEM - Portfolio Website
   ============================================ */

/* CSS Variables */
:root {
  /* Colors - Hyper-Liquid Glass (iOS 26 Level) */
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-card-solid: #0a0a0a;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.3);

  /* Refractive Accents */
  --accent-primary: #ffffff;
  --accent-secondary: #00d2ff;
  --accent-gradient: linear-gradient(135deg, #ffffff 0%, #00d2ff 100%);
  --accent-glow: rgba(255, 255, 255, 0.2);
  --glass-border: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.02) 60%, rgba(255, 255, 255, 0.2) 100%);

  /* Typography - Clean & Editorial */
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 8rem;

  /* Organic Curvature */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 48px;
  --radius-full: 9999px;

  /* Spring Physics & Deep Blur */
  --glass-blur: 40px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.8s ease;
  --transition-spring: all 0.8s cubic-bezier(0.15, 0.85, 0.35, 1.1);
}

/* Lightweight Film Grain - Pushed Behind Content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}



/* Scroll Progress / Depth Gauge */
.scroll-progress-container {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  z-index: 100;
  overflow: hidden;
}

.scroll-progress-bar {
  width: 100%;
  height: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 15px var(--accent-primary);
  border-radius: 10px;
  transition: height 0.1s ease-out;
}

/* Custom Context Menu */
.context-menu {
  position: fixed;
  display: none;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 10000;
  min-width: 200px;
  overflow: hidden;
  padding: 8px 0;
  animation: contextMenuFade 0.2s ease-out;
}

@keyframes contextMenuFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.context-menu-header {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.context-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.context-menu-item:hover {
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-primary);
  padding-left: 20px;
}

.context-menu-item .icon {
  font-size: 1.1rem;
}

.context-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0;
}

.context-menu-item.close-menu {
  color: var(--text-muted);
}

.context-menu-item.close-menu:hover {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Revert to standard for layout stability */
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: scroll !important;
  /* Force scrollability for immersive spacer */
}

/* ============================================
   WEBGL 3D CANVAS
   ============================================ */

#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Immersive Fog Overlay */
.fog-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Room Container */
.rooms-container {
  height: 400vh;
  /* Determines total scroll depth - adjusted for comfortable transition speed */
  position: relative;
}

.room-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: perspective(1000px) translate3d(0, 0, -100px);
  will-change: opacity, transform;
  /* HWD Acceleration */
  z-index: 5;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.room-section.active {
  opacity: 1;
  transform: perspective(1000px) translate3d(0, 0, 0);
}

/* Ensure only content and interactive elements catch pointers */
.room-section.active .room-content {
  pointer-events: all;
}

.room-section.past {
  opacity: 0;
  transform: perspective(1000px) translate3d(0, 0, 100px) scale(1.2);
}

.room-content {
  max-width: 1400px;
  width: 100%;
  padding: 0 var(--space-lg);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

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

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

.section-title {
  font-size: 1.25rem;
  /* Corrected: Consistent title size */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent-primary);
}

.section-title::before {
  content: '';
  width: 12px;
  height: 2px;
  background: var(--accent-primary);
  flex-shrink: 0;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Cards - Hyper-Realistic iOS Glass */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: var(--transition-spring);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  will-change: transform, box-shadow;
}

/* Specular Border Highlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Liquid Follow Flare */
.card::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100%);
  left: var(--mouse-x, -100%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle closest-side,
      rgba(255, 255, 255, 0.12),
      transparent);
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  transform: translateY(-16px) scale(1.03);
  background: var(--bg-card-hover);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.card:hover::after {
  opacity: 1;
}

/* ============================================
   HERO SECTION - New Inspiration Style
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: transparent;
}

.hero-new-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2xl);
  width: 100%;
}

.hero-info-side {
  flex: 1;
  max-width: 650px;
  text-align: left;
}

.hero-greeting {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.hero-name-alt {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero-name-alt .accent-dot {
  color: var(--accent-primary);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

/* Stats Bar - The Lime Green/Mint Bar */
.stats-bar {
  background: var(--accent-gradient);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-2xl);
  width: fit-content;
  margin-bottom: var(--space-xl);
  box-shadow: 0 20px 40px rgba(74, 222, 128, 0.2);
}

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

.stat-value {
  display: flex;
  align-items: baseline;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-primary);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg-primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  text-transform: capitalize;
  line-height: 1.2;
  margin-top: 4px;
}

.hero-image-side {
  flex: 0 0 450px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-img-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.hero-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-pill {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 14px 28px;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  z-index: 20;
}

.status-pill:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 0 20px var(--accent-primary);
}

/* Hero Responsive */
@media (max-width: 1100px) {
  .hero-new-layout {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-info-side {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-side {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .stats-bar {
    justify-content: center;
    gap: var(--space-xl);
  }
}

@media (max-width: 600px) {
  .stats-bar {
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .stat-num {
    font-size: 1.5rem;
  }
}

/* ============================================
   MAIN CONTENT GRID
   ============================================ */

.content-wrapper {
  padding: 0;
  /* Handled by room-section */
  background: transparent;
}

.content-grid {
  display: grid;
  grid-template-columns: 320px 1fr 280px;
  gap: var(--space-lg);
  align-items: start;
}

/* Left Column */
.left-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Creative DNA Card */
.creative-dna {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.stat-item {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.stat-number {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.creative-bio {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Portfolio Link Card */
.portfolio-link {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.portfolio-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
}

.portfolio-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.portfolio-icon svg {
  width: 28px;
  height: 28px;
}

.portfolio-link-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.portfolio-link-text p {
  font-size: 0.8rem;
  color: var(--accent-primary);
}

/* About Gallery */
.about-gallery {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.about-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
}

.about-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.about-img:hover {
  transform: scale(1.05);
}

/* Center Column - Journey */
.center-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.journey-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-md);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-fast);
  padding-bottom: var(--space-xs);
}

.timeline-item:hover {
  border-left-color: var(--accent-primary);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 2px;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
}

.timeline-role {
  font-size: 1rem;
  /* Increased from 0.8rem */
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 4px 0;
}

.timeline-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Right Column - Clients */
.right-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.clients-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.client-logo {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.client-logo:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.client-logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Responsive rules moved to bottom */

/* ============================================
   PORTFOLIO GALLERY - Premium Card Layout
   ============================================ */

.portfolio-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.85) 0%, rgba(17, 17, 17, 0.9) 100%);
  backdrop-filter: blur(5px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card-solid);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Show full image - no cropping */
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}

/* Premium hover effects */
.portfolio-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(74, 222, 128, 0.3),
    0 0 30px rgba(74, 222, 128, 0.15);
}

.portfolio-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Overlay with gradient */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.6) 30%,
      transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  transform: translateY(10px);
  transition: transform 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transform: translateY(10px);
  transition: transform 0.3s ease 0.15s;
}

.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

.portfolio-tag {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 20px;
  margin-top: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(10px);
  transition: transform 0.3s ease 0.2s;
}

.portfolio-item:hover .portfolio-tag {
  transform: translateY(0);
}

/* View icon on hover */
.portfolio-item::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.portfolio-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-info {
  text-align: center;
  margin-top: var(--space-md);
  color: var(--text-secondary);
}

.lightbox-info h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Portfolio Responsive */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: var(--space-md);
  }

  .portfolio-overlay h3,
  .portfolio-overlay p,
  .portfolio-tag {
    transform: translateY(0);
  }

  .portfolio-item::after {
    display: none;
  }

  .portfolio-item:hover {
    transform: none;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: var(--space-sm);
  }

  .lightbox-next {
    right: var(--space-sm);
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(74, 222, 128, 0.2);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
}

.contact-content {
  text-align: center;
}

.contact-cta {
  margin-bottom: var(--space-xl);
}

.contact-cta h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-sm);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.contact-item:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade In Up Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Animation */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-item.visible {
  animation: staggerFadeIn 0.5s ease forwards;
}

@keyframes staggerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse Glow */
.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 15px var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 30px var(--accent-glow), 0 0 50px var(--accent-glow);
  }
}

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

.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-primary);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-outline.expand {
  width: 60px;
  height: 60px;
  border-color: var(--accent-secondary);
}

/* Hide custom cursor on mobile/touch */
@media (max-width: 768px),
(hover: none) {

  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero-name {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   UTILITIES
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   ADDITIONAL HERO ELEMENTS
   ============================================ */

.hero-location {
  font-size: 1.2rem;
  /* Increased for lansia */
  color: var(--text-secondary);
  /* Balanced contrast */
  margin-top: var(--space-xs);
  font-weight: 500;
}

.tagline-box {
  margin-bottom: var(--space-lg);
}

.tagline {
  font-size: 1.3rem;
  /* Larger */
  color: var(--text-primary);
  /* Max contrast */
  font-weight: 600;
  line-height: 1.6;
  border-left: 4px solid var(--accent-primary);
  padding-left: var(--space-md);
  text-align: left;
  /* Left align for easier reading */
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.service-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-text h4 {
  font-size: 1.2rem;
  /* Increased for legibility */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-text p {
  font-size: 1rem;
  /* Increased from 0.8rem */
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SECTION SUBTITLE
   ============================================ */

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: -var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* ============================================
   CONTACT BUTTONS
   ============================================ */

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.contact-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-btn.whatsapp {
  background: #25D366;
  color: #ffffff;
}

.contact-btn.whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.contact-btn.telegram {
  background: #0088cc;
  color: #ffffff;
}

.contact-btn.telegram:hover {
  background: #006699;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.contact-info {
  margin-bottom: var(--space-lg);
}

.contact-info .contact-item {
  background: transparent;
  border: none;
}

.contact-info .contact-item:hover {
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
  .hero-new-layout {
    gap: var(--space-xl);
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .right-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .hero-new-layout {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-info-side {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-side {
    flex: none;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .room-section {
    align-items: flex-start;
    /* Better for scrollable content on mobile */
    padding: var(--space-2xl) 0;
  }

  .room-content {
    padding: 0 var(--space-md);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .left-column,
  .center-column,
  .right-column {
    grid-column: 1;
  }

  .stats-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-md);
    width: 100%;
  }

  .hero-img-container {
    max-width: 320px;
  }

  .tagline {
    font-size: 1.1rem;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--accent-primary);
    padding-top: var(--space-sm);
    padding-left: 0;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-btn {
    justify-content: center;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-name-alt {
    font-size: 2.8rem;
  }

  .stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Keep horizontal on small screens */
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-plus {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .stat-item {
    align-items: center;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}