@font-face {
  font-family: 'Orbitron';
  src: url('fonts/Orbitron-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0c;
  --surface:  #060614;
  --blue:     #4261c4;
  --blue-dim: #2a3d7a;
  --text:     #e0e4ee;
  --muted:    #5f6169;
  --font:     'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('ak_stage_blur.jpg') center/cover no-repeat;
  opacity: 0;
  animation: fadeIn 1.6s 0.5s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.55) 60%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}


.tagline {
  margin-top: 1rem;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 0.5s ease forwards;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
  opacity: 0;
  animation: fadeIn 1s 0.7s ease forwards;
}

.cta:hover {
  background: var(--blue);
  color: #000;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 0;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  color: #fff;
}

h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--blue);
  margin-top: 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ===== ABOUT / SERVICES ===== */
#about { background: var(--bg); }

#about > .container > p {
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service {
  background: var(--bg);
  border: 1px solid #1e2030;
  border-radius: 4px;
  padding: 1.8rem;
  transition: border-color 0.2s;
}

.service:hover { border-color: var(--blue-dim); }

.service .icon {
  display: block;
  color: var(--blue);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service p { color: var(--muted); font-size: 0.92rem; }

/* ===== DESIGNER ===== */
#designer { background: var(--bg); }

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

.designer-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.designer-img {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 270px;
  width: 100%;
}

.photo-credit {
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.photo-credit:hover {
  opacity: 1;
  color: var(--blue);
}

.designer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.designer-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

@media (max-width: 700px) {
  .designer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== PORTFOLIO ===== */
#portfolio { background: var(--bg); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/9;
  background: #111;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.85);
}

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

.portfolio-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0,10,30,0.85) 0%, rgba(0,10,30,0.3) 50%, transparent 100%);
  transition: background 0.25s ease;
}

.portfolio-item:hover .portfolio-hover,
.portfolio-item.touch-active .portfolio-hover {
  background: linear-gradient(to top, rgba(0,10,30,0.92) 0%, rgba(0,10,30,0.6) 55%, rgba(0,0,0,0.25) 100%);
}

.portfolio-hover-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.portfolio-hover-desc {
  font-size: 0.82rem;
  color: rgba(200, 215, 255, 0.85);
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.portfolio-item:hover .portfolio-hover-desc,
.portfolio-item.touch-active .portfolio-hover-desc {
  max-height: 5rem;
  margin-top: 0.35rem;
}

/* ===== CONTACT ===== */
#contact { background: linear-gradient(to bottom, var(--bg), var(--surface) 4rem); }

.contact-details {
  margin-top: 1rem;
}

.contact-link {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.01em;
}

.contact-link:hover { color: #fff; }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#lightbox.active { display: flex; }

.lb-img-wrap {
  cursor: zoom-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 80vw;
}

#lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 3px;
}

#lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.lb-credit {
  margin-left: 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
}
.lb-credit:hover { opacity: 1; color: var(--blue); }

.lb-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.4rem;
}
.lb-close:hover { color: #fff; }

.lb-prev, .lb-next {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 3.5rem;
  cursor: pointer;
  padding: 1rem;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}
.lb-prev:hover, .lb-next:hover { color: #fff; }

.portfolio-item { cursor: zoom-in; }

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .services { grid-template-columns: 1fr; }
}
