/* ===========================
   GOLUBMEDIA / ABOUT PAGE
   SAMOSTALNI CSS
=========================== */

/* ---- VARS ---- */
:root {
  --header-h: 66px;
  --primary-color: #00ffff;
  --secondary-color: #ffcc00;
  --bg-dark: #020405;
  --text-main: #e0f7ff;
}

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

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

/* ---- LAYOUT BODY ---- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #ddd;
}


/* samo about stranica dobija HUD pozadinu */
body.about {
  background-color: #000;
  background-image: url("assets/bg-about.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* hard dark overlay + scanlines */
body.about::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 180, 255, 0.12), transparent 55%),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 255, 255, 0.06) 0,
      rgba(0, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 3px
    ),
    rgba(0, 0, 0, 0.97);
}

body.about::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
    rgba(0, 255, 255, 0.16),
    transparent 55%
  );
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

/* main gura footer na dno */
main {
  flex: 1;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 40px;
}

/* =========================================
   NAVBAR (GLOBAL)
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.navbar {
  background: linear-gradient(90deg, #020909 0%, #021416 50%, #020909 100%);
  border-bottom: 1px solid rgba(0, 255, 255, 0.35);
  box-shadow:
    0 0 18px rgba(0, 255, 255, 0.28),
    0 12px 40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* mali “SYSTEM ONLINE” status desno dole */
.navbar::after {
  content: "SYSTEM ONLINE · LATENCY < 20ms";
  position: absolute;
  right: 26px;
  bottom: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 255, 255, 0.6);
  pointer-events: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  position: relative;
}

.nav-links a {
  position: relative;
  padding-inline: 10px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cfe;
}

/* underline efekt */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0ff, transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* burger meni */
#nav-toggle {
  display: none;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-color);
  margin: 5px 0;
}

/* mobile nav */
@media (max-width: 600px) {
  .navbar {
    padding: 14px 18px;
  }

  .burger {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 18px;
    top: calc(var(--header-h) + 4px);
    flex-direction: column;
    background: #0b0b0b;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    padding: 10px 14px;
    display: none;
  }

  #nav-toggle:checked ~ .nav-links {
    display: flex;
  }
}


/* ===========================
   SCROLL REVEAL
=========================== */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(10px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    filter 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ===========================
   ABOUT MAIN BLOCK
=========================== */

.about-section {
  max-width: 960px;
  margin: 32px auto 0;
  padding: 0 32px;
}

.about-container h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary-color);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.7);
  margin-bottom: 18px;
}

.about-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d9ffff;
  margin-bottom: 16px;
}

.about-container p {
  line-height: 1.8;
  color: #c4e9f5;
  margin-bottom: 14px;
}

.about-highlight {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.55);
  background: rgba(3, 8, 10, 0.96);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.96),
    0 0 22px rgba(0, 255, 255, 0.4);
}

.about-highlight h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.about-highlight ul {
  list-style: none;
  color: #e0fbff;
}

.about-highlight li + li {
  margin-top: 6px;
}

.about-highlight span {
  color: var(--secondary-color);
  font-weight: 600;
}

/* ===========================
   EXTRAS GRID
=========================== */

.about-extras {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 32px 16px; /* manji padding dole */
}


.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.extra-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.45);
  background: rgba(3, 6, 8, 0.96);
  color: #dffbff;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.96),
    0 0 22px rgba(0, 255, 255, 0.4);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.extra-card h3 {
  color: #f5feff;
  margin-bottom: 8px;
}

.extra-card p {
  line-height: 1.8;
  color: #c4e9f5;
}

.extra-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.98),
    0 0 26px rgba(0, 255, 255, 0.6);
}

/* stack card specifično */
.stack-card ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.stack-card li {
  margin-bottom: 4px;
}

.stack-note {
  font-size: 0.9rem;
  color: #9fd9ff;
}

/* ===========================
   CTA
=========================== */

.about-cta {
  text-align: center;
  margin-top: 20px;
}

.about-cta h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.about-cta .btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.7);
  color: #000;
  background: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 16px rgba(0, 255, 255, 0.9),
    0 0 32px rgba(0, 255, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.about-cta .btn:hover {
  transform: translateY(-2px);
  background: #0af;
}

/* ===========================
   FOOTER
=========================== */

footer {
  border-top: 1px solid rgba(0, 255, 255, 0.35);
  background: #010101ee;
  box-shadow: 0 -12px 26px rgba(0, 0, 0, 0.95);
  padding: 28px 24px 16px;
  color: #bbb;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer-left,
.footer-center,
.footer-right {
  min-width: 220px;
  flex: 1;
}

.footer-left h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}

.footer-center h4,
.footer-right h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.footer-center ul {
  list-style: none;
}

.footer-center li + li {
  margin-top: 6px;
}

.footer-center a,
.social-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-center a:hover,
.social-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 18px;
  text-align: center;
  font-size: 0.86rem;
  color: #777;
}

/* ===========================
   AUDIT BUBBLE
=========================== */

.audit-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #003033;
  box-shadow:
    0 0 16px rgba(0, 255, 255, 0.9),
    0 0 36px rgba(0, 255, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.audit-bubble:hover {
  transform: translateY(-2px);
  background: #0af;
}

/* ===========================
   OPS WIDGET – GOLUBMEDIA OPS
=========================== */

.ops-widget {
  position: fixed;
  left: 24px;
  bottom: 26px;
  z-index: 60;
  width: 230px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.55);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 255, 0.18), transparent 60%),
    rgba(2, 10, 12, 0.96);
  box-shadow:
    0 0 22px rgba(0, 255, 255, 0.65),
    0 14px 32px rgba(0, 0, 0, 0.98);
  font-family: "Fira Code", "Consolas", monospace;
  font-size: 0.8rem;
  color: #cfffff;
}

.ops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ops-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ops-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 12px #00ff88;
}

.ops-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: #aefcff;
}

.ops-toggle {
  border: none;
  background: transparent;
  color: #aefcff;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0 4px;
}

.ops-body {
  border-top: 1px solid rgba(0, 255, 255, 0.35);
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ops-row {
  display: flex;
  justify-content: space-between;
}

.ops-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7fffe0;
}

.ops-value {
  font-weight: 600;
}

.ops-value span {
  font-weight: 400;
}

/* collapsed varijanta ako je nekad budemo koristili */
.ops-widget.ops-collapsed .ops-body {
  display: none;
}

@media (max-width: 820px) {
  .ops-widget {
    display: none;
  }
}


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

@media (max-width: 1024px) {
  .extras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .navbar {
    padding-inline: 18px;
  }

  .about-section {
    padding-inline: 20px;
  }

  .about-extras {
    padding-inline: 20px;
  }

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

  footer {
    padding-inline: 18px;
  }

  .footer-container {
    flex-direction: column;
  }

  .audit-bubble {
    right: 50%;
    transform: translateX(50%);
    bottom: 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .about-container h1 {
    font-size: 1.8rem;
    letter-spacing: 0.16em;
  }
}
