@import url('./assets/fonts/fonts.css');

:root {
  --orange: #ff7900;
  --orange-soft: #ff9c32;
  --ink: #050505;
  --paper: #f4f1eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Topbar — sticky, not fixed-over-canvas like the 3D version, since this
   page actually scrolls in normal document flow. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  padding: 0 3.7vw;
  background: rgba(5,5,5,.28);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font: 700 12px/1 Inter, sans-serif;
}

nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); height: 100%; }
nav .nav-cluster { display: inline-flex; align-items: center; gap: 16px; height: 100%; }
nav .nav-cluster > a { height: 100%; }
nav a {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.64);
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .16em;
  transition: color .25s;
}
nav a:hover, nav a.active { color: var(--orange); }

nav a.mode-switch {
  height: 34px;
  padding: 0 13px;
  align-self: center;
  border: 1px solid rgba(255,121,0,.72);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,121,0,.18), rgba(0,0,0,.42));
  color: #fff;
  box-shadow: 0 0 22px rgba(255,121,0,.16);
}
nav a.mode-switch strong {
  color: var(--orange);
  font: 700 10px/1 Inter, sans-serif;
  letter-spacing: .14em;
}
nav a.mode-switch:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,121,0,.32), rgba(0,0,0,.48));
}

nav .nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 100%;
  color: rgba(255,255,255,.2);
  cursor: default;
  user-select: none;
  cursor: pointer;
}
nav a.nav-badge::after { display: none; }
nav .nav-badge em, nav .nav-badge span {
  font: 600 10px/1 Inter, sans-serif;
  font-style: normal;
  letter-spacing: .1em;
  color: var(--orange);
}
nav .nav-badge i {
  font-style: normal;
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}
nav .nav-badge:hover i { color: rgba(255,255,255,.56); }
nav .nav-badge b {
  font: 500 10px/1 Inter, sans-serif;
  color: rgba(255,255,255,.22);
}
nav .nav-badge[data-lang-active="sr"] i,
nav .nav-badge[data-lang-active="en"] em {
  color: var(--orange);
  font-weight: 600;
}
nav .nav-badge[data-lang-active="sr"] em,
nav .nav-badge[data-lang-active="en"] i {
  color: rgba(255,255,255,.3);
  font-weight: 500;
}

.outline-btn {
  justify-self: end;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255,121,0,.75);
  border-radius: 3px;
  background: rgba(255,255,255,.02);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
  transition: background .2s;
}
.outline-btn:hover { background: rgba(255,121,0,.12); }
.outline-btn span { color: var(--orange); font-size: 16px; margin-left: 14px; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 60px 6vw;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-content { display: flex; flex-direction: column; gap: 18px; max-width: 620px; position: relative; z-index: 1; }
.frame-corners { position: absolute; z-index: 1; inset: 26px; pointer-events: none; }
.frame-corners i { position: absolute; width: 30px; height: 30px; opacity: .4; }
.frame-corners i:nth-child(1) { left: 0; top: 0; border-left: 1px solid var(--orange); border-top: 1px solid var(--orange); }
.frame-corners i:nth-child(2) { right: 0; top: 0; border-right: 1px solid var(--orange); border-top: 1px solid var(--orange); }
.frame-corners i:nth-child(3) { right: 0; bottom: 0; border-right: 1px solid var(--orange); border-bottom: 1px solid var(--orange); }
.frame-corners i:nth-child(4) { left: 0; bottom: 0; border-left: 1px solid var(--orange); border-bottom: 1px solid var(--orange); }
.eyebrow { margin: 0; color: var(--orange); font-size: 10px; letter-spacing: .22em; font-weight: 600; }
h1 { margin: 0; font: 400 clamp(48px, 6.4vw, 84px)/1.02 "Barlow Condensed"; }
h1 span { color: var(--orange-soft); }
.intro { margin: 0; max-width: 480px; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 6px; }
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 24px;
  background: var(--orange);
  color: #100800;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  border-radius: 3px;
  transition: background .2s;
}
.primary-btn:hover { background: var(--orange-soft); }
.text-btn { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.text-btn span, .primary-btn span { color: inherit; }
.scroll-cue {
  position: absolute;
  left: 6vw;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: 9px;
  letter-spacing: .14em;
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--orange), transparent); }

/* Generic section shell */
.section { padding: 110px 6vw; max-width: 1500px; margin: 0 auto; }
.section--narrow { max-width: 760px; }
.section-header { margin-bottom: 52px; text-align: left; }
.section-header .eyebrow { margin-bottom: 10px; }
.section-header h2 { margin: 0; font: 400 44px "Barlow Condensed"; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.service-card {
  border: 1px solid rgba(255,121,0,.16);
  background: rgba(255,255,255,.015);
  padding: 22px 26px 28px;
  transition: border-color .3s, transform .3s;
}
.service-card:hover { border-color: rgba(255,121,0,.55); transform: translateY(-3px); }
.service-card .media-frame { margin-bottom: 20px; }
.service-card .media-frame img { aspect-ratio: 16 / 10; }
.service-card b {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: rgba(5,5,5,.75);
  border: 1px solid var(--orange);
  color: var(--orange);
  font: 600 12px Inter, sans-serif;
}
.service-card h3 { margin: 0 0 12px; font: 400 24px "Barlow Condensed"; }
.service-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }

/* Reusable framed image — orange L-shaped corner brackets, matching the
   panel/window look of the 3D version of the site. */
.media-frame { position: relative; overflow: hidden; border: 1px solid rgba(255,121,0,.25); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-frame:hover img { transform: scale(1.04); }
.media-frame .c { position: absolute; width: 22px; height: 22px; border-color: var(--orange); opacity: 0; transition: opacity .3s; pointer-events: none; }
.media-frame:hover .c { opacity: .9; }
.media-frame .c-tl { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.media-frame .c-tr { top: 10px; right: 10px; border-top: 2px solid; border-right: 2px solid; }
.media-frame .c-bl { bottom: 10px; left: 10px; border-bottom: 2px solid; border-left: 2px solid; }
.media-frame .c-br { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }

/* About split layout */
.split-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.split-grid .media-frame { aspect-ratio: 4 / 5; }
.split-grid .media-frame img { aspect-ratio: auto; }

/* Projects */
.project-block { margin-bottom: 64px; }
.project-block h3 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 22px;
  font: 500 16px Inter, sans-serif;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 14px;
}

.project-summary {
  max-width: 760px;
  margin: -14px 0 24px 45px;
  color: rgba(255,255,255,.58);
  font: 500 13px/1.65 Inter, sans-serif;
}

.project-block h3 span { color: var(--orange); font: 600 12px Inter, sans-serif; letter-spacing: .1em; }

/* Landscape (16:9-ish) galleries: first two images run big at two-per-row,
   the rest sit smaller at four-per-row. Portrait galleries (the fashion
   shots) skip this and stay a plain uniform grid. */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-grid img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid rgba(255,121,0,.18);
  background: #111;
  cursor: pointer;
  transition: transform .35s, border-color .35s, filter .35s;
}
.project-grid img:hover { transform: scale(1.02); border-color: rgba(255,121,0,.55); filter: brightness(1.06); }
@media (min-width: 901px) {
  .project-grid:not(.project-grid--portrait) img:nth-child(-n+2) { grid-column: span 2; }
}
.project-grid--portrait { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.project-grid--portrait img { aspect-ratio: 3 / 4; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3,3,3,.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 84vw; max-height: 82vh; object-fit: contain; border: 1px solid rgba(255,121,0,.3); background: #050505; }
.lightbox-close {
  position: absolute;
  top: 26px;
  right: 3.5vw;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,121,0,.5);
  background: rgba(0,0,0,.5);
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--orange); color: var(--orange); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,121,0,.3);
  background: rgba(0,0,0,.3);
  color: rgba(255,255,255,.55);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--orange); color: var(--orange); background: rgba(0,0,0,.55); }
.lightbox-prev { left: 2.5vw; }
.lightbox-next { right: 2.5vw; }
.lightbox-counter {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font: 500 11px Inter, sans-serif;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
}
body.lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 19px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* About */
.about-text { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.85; }

/* Contact — full-bleed photo background, same image used on the 3D site's
   contact panel, with the form floating on top like the hero. */
.contact-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 60px 6vw;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.contact-inner { position: relative; z-index: 1; max-width: 622px; width: 100%; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 45px;
  border: 1px solid rgba(255,121,0,.35);
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(14px);
}
.contact-email { color: var(--orange-soft); font-size: 12px; margin-bottom: 6px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 8px; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--paper);
  padding: 14px 15px;
  font: 13px/1.5 Inter, sans-serif;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }
.contact-form .primary-btn { align-self: flex-start; margin-top: 6px; height: 44px; padding: 0 22px; font-size: 10px; border: 0; cursor: pointer; }
.form-status { margin: 0; font-size: 8px; letter-spacing: .1em; color: var(--orange-soft); min-height: 10px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 30px 6vw 50px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.35);
  font-size: 11px;
}

@media (max-width: 900px) {
  .topbar { height: 66px; grid-template-columns: 1fr auto; padding: 0 20px; }
  nav, .topbar > .outline-btn { display: none; }
  .menu-toggle { display: grid; gap: 6px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle i { width: 22px; height: 1px; background: var(--orange); transition: transform .25s; }
  .menu-toggle.active i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .topbar.nav-open nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 66px;
    left: 0; right: 0; bottom: 0;
    height: auto;
    padding: 10px 24px 100px;
    background: rgba(4,4,4,.98);
    overflow-y: auto;
  }
  .topbar.nav-open nav a { height: auto; justify-content: flex-start; padding: 16px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .topbar.nav-open nav .nav-cluster { display: flex; flex-direction: column; align-items: stretch; width: 100%; height: auto; gap: 0; }
  .topbar.nav-open nav .nav-badge { height: auto; justify-content: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .topbar.nav-open .outline-btn { display: flex; justify-content: center; position: fixed; left: 24px; right: 24px; bottom: 24px; }

  .hero, .contact-hero { padding: 40px 6vw 90px; min-height: auto; }
  .contact-inner { max-width: 100%; }
  .section { padding: 70px 6vw; }
  .services-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-grid .media-frame { aspect-ratio: 16 / 10; order: -1; }
  .project-grid:not(.project-grid--portrait) { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}


@media (max-width: 480px) {
  .project-summary { margin-left: 0; font-size: 12px; }
  .project-block h3 { font-size: 25px; line-height: 1.08; }
  .primary-btn { min-width: 0; width: 100%; max-width: 260px; }
}
