/* ── SHARED PORTFOLIO STYLES ── */
:root {
  --bg: #0a0a0f;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --accent: #e8ff3c;
  --accent2: #3cffe8;
  --accent3: #ff3c8e;
  --text: #e0e0e0;
  --muted: rgba(255,255,255,0.4);
  --mono: 'Space Mono', monospace;
  --display: 'Bebas Neue', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── BACK NAV ── */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.top-nav .logo {
  font-family: var(--display);
  font-size: 22px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
}
.top-nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.top-nav-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.top-nav-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.top-nav-links a.active { color: var(--accent); }

/* ── PAGE HERO BAND ── */
.page-hero {
  padding: 130px 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.page-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}
.page-title {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.page-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgb(212, 212, 212);
  max-width: 600px;
}
.page-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ── SECTION ── */
.section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: all 0.22s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.22s;
  z-index: 0;
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { color: #000; border-color: var(--accent); }
.btn span, .btn i { position: relative; z-index: 1; }
.btn-accent { background: var(--accent); color: #000000; border-color: var(--accent); font-weight: 700; }
.btn-accent::before { background: #fff; }
.btn-accent:hover { color: #000000; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── FOOTER ── */
.page-footer {
  text-align: center;
  padding: 40px 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

/* LANG BUTTS */
.lang_switch{
  position: absolute;
  top:10px;
  width: 100px;
  display:flex;
  flex-direction: row;
  gap: 4px;
}

.lang_switch button {
  background: black;
  opacity: 0.75;
  border: 1px solid #555;
  border-radius: 4px;
  color: #ffffff;
  padding: 7px;
  cursor: pointer;
}

.lang_switch button.active {
  color: #ffffff;
  border-color: var(--accent);
}

.lang_switch button:hover {
  color: #ffffff;
  border-color: var(--accent2);
  background-color: #00ffbb98;
}

.video-container {
    position: relative;
    width: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.video-container:hover {
    transform: scale(1.03);
}
video {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.proj-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: rgba(232,255,60,0.5); text-transform: uppercase; margin-bottom: 12px; }
.proj-title { font-family: var(--display); font-size: clamp(26px, 3.5vw, 44px); letter-spacing: 0.04em; color: #fff; line-height: 1; margin-bottom: 16px; }
.proj-purpose { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; border-left: 2px solid rgba(193, 248, 196, 0.89); padding-left: 16px; }
.proj-section-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: rgba(232, 255, 60, 0.815); text-transform: uppercase; margin-bottom: 10px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.proj-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; padding: 4px 10px; border: 1px solid rgba(60, 255, 99, 0.414); color: var(--accent); text-transform: uppercase; }
.proj-desc { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.85); }


.proj-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent2);
  border-radius: 10px;
  transition: transform 0.3s ease;
  touch-action: manipulation;
}

.proj-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  border-radius: 10px;
  width: auto;
  height: 100%;
}
.proj-carousel:hover {
    transform: scale(1.05) ;
}

.proj-carousel-track img {
  width: auto;
  height: 100%;
  cursor: zoom-in;
  border-radius: 10px;
  object-fit: fill; /* keeps full image visible */
  flex-shrink: 0;
}

.proj-prev,
.proj-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: 1px solid white;
  padding: 45px 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
  opacity: 0.7;
}

.proj-prev:hover,
.proj-next:hover {
  background: var(--accent);
  color: rgba(0,0,0,0.8); 
}

.proj-prev { left: 15px; }
.proj-next { right: 15px; }

.proj-img-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
}

/* Lightbox */
.proj-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
  inset: 0;
}

.proj-lightbox img {
  max-width: 90%;
  max-height: 90%;
  cursor: zoom-out;
}








/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .top-nav { padding: 14px 20px; }
  .top-nav-links { gap: 4px; }
  .top-nav-links a { font-size: 9px; padding: 5px 10px; }
  .page-hero { padding: 110px 20px 40px; }
  .section { padding: 60px 20px; }
  .proj-carousel-track { max-height: 350px;}
}