/* ═══════════════════════════════════════════════
   GrafikDesign — Premium Studio Theme
   Deep Black · Creative · Modern · Slanted
═══════════════════════════════════════════════ */

:root {
  --bg:           #000000;
  --text:         #ffffff;
  --accent-pink:  #e91e8c;
  --accent-purple:#8b00ff;
  --accent-blue:  #00f3ff;
  --accent-turquoise: #00ffcc;
  --accent-yellow: #fefe33;
  --glass:        rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --pattern-opacity: 0.05;
  --transition:   0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.neon-blue {
  color: var(--accent-blue);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
}

.neon-turquoise {
  color: var(--accent-turquoise);
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.5), 0 0 20px rgba(0, 255, 204, 0.3);
}

.neon-yellow {
  color: var(--accent-yellow);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(254, 254, 51, 0.5), 0 0 20px rgba(254, 254, 51, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  scroll-behavior: smooth; 
  background: var(--bg);
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  cursor: default;
}

/* Subtle Fixed Grid Pattern Background */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(233, 30, 140, 0.15) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.4;
}

/* ── Typography ── */
h1, h2, h3 { font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }

.section-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(to right, #fff, var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Navbar ── */
.nav-studio {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}
.logo { 
  display: flex;
  align-items: center;
}
.logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.6));
}
.header-back-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: none;
}
.header-back-btn:hover {
  color: #00ffff;
  border-color: #00ffff;
  background: rgba(0,255,255,0.05);
  transform: translateX(-50%);
}
.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu a {
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
/* ── Language Switcher ── */
.lang-switcher {
  display: flex; gap: 1rem; align-items: center; margin-left: 2rem;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.lang-btn { opacity: 0.5; transition: opacity 0.3s; }
.lang-btn.active { opacity: 1; color: var(--accent-blue); }
.lang-btn:hover { opacity: 1; }

/* ── HERO SCROLL-DRIVEN SEQUENCE ── */
.hero-v2 {
  height: 800vh; /* Increased scroll distance for smoother sequence (240 frames) */
  position: relative;
  background: #000;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  pointer-events: none;
}

.hero-overlay h1 {
  font-size: clamp(3rem, 12vw, 8rem);
  text-shadow: 0 0 30px rgba(0,0,0,1);
}

.hero-overlay p {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 700px;
  margin: 1rem auto 0;
  text-shadow: 0 0 20px rgba(0,0,0,1);
}

/* Scroll hint */
.scroll-down-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
  animation: float-hint 3s ease-in-out infinite;
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-pink);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel-anim 2s ease-out infinite;
}

@keyframes scroll-wheel-anim {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes float-hint {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* ── SECTION: Image Parade (Animated Scroll) ── */
.image-parade-container {
  height: 300vh; /* For vertical scroll mapping */
  position: relative;
}
.parade-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #000;
}
.parade-track {
  display: flex; gap: 4rem;
  padding: 0 10vw;
  transform: translateX(0);
  transition: transform 0.1s linear;
}
.parade-item {
  flex-shrink: 0;
  width: clamp(300px, 40vw, 600px);
  height: clamp(400px, 60vh, 800px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  transition: transform 0.8s var(--transition);
}
.parade-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: filter 0.5s ease;
}
.parade-item:hover img { filter: grayscale(0); }

/* ── SECTION: Three Tiled Points ── */
.tiles-section {
  padding: 10rem 2rem;
  max-width: 1300px; margin: 0 auto;
}
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.tile-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 2rem; border-radius: 24px;
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.tile-card:hover { 
  background: rgba(233,30,140,0.05); 
  border-color: var(--accent-pink);
  transform: translateY(-10px);
}
.tile-img {
  width: 100%; height: 250px;
  border-radius: 16px; margin-bottom: 1.5rem;
  background: #111; overflow: hidden;
}
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--accent-pink); }
.tile-card p { font-size: 0.95rem; color: #ffffff; }

/* ── SECTION: Design Info ── */
.design-info-section {
  padding: 10rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.design-info-container {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 5rem 4rem;
  border-radius: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.design-info-container h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-align: left;
}

.design-info-container h3 {
  font-size: 1.4rem;
  color: var(--accent-pink);
  margin-bottom: 3rem;
  font-weight: 500;
  opacity: 0.9;
}

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

.info-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ffffff;
  max-width: 900px;
}

.info-content strong {
  color: var(--text);
  font-weight: 700;
}

.services-list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--glass-border);
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-list li {
  font-size: 1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
}

@media (max-width: 768px) {
  .design-info-container { padding: 3rem 2rem; }
  .services-list-wrapper { grid-template-columns: 1fr; }
}

/* ── Animations ── */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── Liquid Cursor ── */
.cursor-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  filter: url(#liquid-goo);
}
.cursor-dot {
  position: absolute;
  width: 20px; height: 20px;
  background: var(--accent-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot.main {
  width: 30px; height: 30px;
  box-shadow: 0 0 20px var(--accent-blue);
}

/* ── Responsive Design ── */

@media (max-width: 1200px) {
  .nav-studio { padding: 1rem 2rem; }
  .hero-overlay h1 { font-size: clamp(3rem, 10vw, 6rem); }
}

@media (max-width: 992px) {
  .nav-studio { padding: 1rem; }
  .header-back-btn { 
    position: static; 
    transform: none; 
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    margin: 0 1rem;
  }
  .header-back-btn:hover { transform: scale(1.02); }
  .nav-menu { display: none; } 
  
  .tiles-grid { grid-template-columns: 1fr; }
  .tile-card { padding: 1.5rem; }
  
  .slanted-wrapper { width: 140%; margin-left: -20%; }
}

@media (max-width: 768px) {
  .logo-img { height: 35px; }
  .hero-overlay h1 { font-size: 2.8rem; }
  .hero-overlay p { font-size: 1rem; }
  
  .slanted-section { padding: 8rem 0; }
  .slider-item { width: 280px; height: 400px; }
  .slider-controls { display: none; } 
  
  .footer-links { flex-direction: column; gap: 1rem; }
}

@media (hover: none) and (pointer: coarse) {
  .cursor-container { display: none; }
  body { cursor: auto; }
}
