/* ========================================
   Fusion Studio - Blur.com Exact Match Style
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #000;
  --text: #fff;
  --accent-orange: #ff6600;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hover efekt za manje linkove kategorija */
.sub-category-bar a:hover {
  color: var(--accent-orange) !important;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 50px 36px 0 36px;
  pointer-events: none;
}

.header > * {
  pointer-events: auto;
}

/* Left: + / X button */
.menu-toggle {
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 310;
  pointer-events: auto;
}

.plus {
  position: relative;
  width: 26px;
  height: 26px;
  display: block;
}

.bar {
  position: absolute;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.bar-v {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.menu-toggle.is-open .bar-h {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.is-open .bar-v {
  transform: translateX(-50%) rotate(45deg);
}

/* Header Right (Fusion logo) */
.header-right {
  display: flex;
  align-items: flex-start;
  margin-top: 70px;
}

.header-fusion-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.header-fusion-logo:hover {
  opacity: 1;
}

.header-fusion-logo img {
  height: 16px;
  width: auto;
  transform: rotate(90deg);
  display: block;
}

/* ========== Desna vertikala (Socials) ========== */
.right-socials {
  position: fixed;
  top: 50%;
  right: 36px;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 1;
}

.social-link img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 6px;
}

/* ========== Menu (Blur.com exact style) ========== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 200;
  background: rgba(18, 20, 24, 0.97);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 140px 0 0 70px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.35s ease,
              visibility 0.35s ease;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.menu-link {
  font-family: var(--font);
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.menu-link:hover {
  color: var(--accent-orange);
}

/* ========== Projects / Hero Styling ========== */
.projects {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.project {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-visual {
  position: absolute;
  inset: 0;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-fallback {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  z-index: -1;
}

.contact-hero {
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10vw;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.contact-content {
  max-width: 900px;
  z-index: 2;
}

.contact-tag {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}

.contact-heading {
  font-family: var(--font);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.contact-grid {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.contact-block h3 {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-email-link {
  font-family: var(--font);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s, color 0.3s;
}

.contact-email-link:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.location-text {
  font-family: var(--font);
  font-size: 1rem;
  color: #ccc;
  line-height: 1.4;
}

.location-text .country {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .header {
    align-items: flex-start;
    padding: 28px 20px 0 20px;
  }

  .right-socials {
    right: 20px;
    gap: 10px;
  }

  .menu {
    padding: 115px 24px 40px 28px;
    overflow-y: auto;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .plus {
    width: 24px;
    height: 24px;
  }

  .header-right {
    align-items: flex-start;
    margin-top: 60px;
  }

  .header-fusion-logo {
    width: 14px;
    height: 14px;
  }

  .header-fusion-logo img {
    height: 14px;
  }

  .social-link {
    width: 24px;
    height: 24px;
  }

  .social-link img {
    width: 24px;
    height: 24px;
  }

  .menu-link {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .contact-hero {
    padding: 120px 24px 60px 24px;
    align-items: flex-start;
    overflow-y: auto;
    height: 100vh;
    min-height: 100vh;
  }
  
  .contact-grid {
    gap: 36px;
    flex-direction: column;
    margin-bottom: 60px;
  }
  
  .contact-heading {
    margin-top: 24px;
    margin-bottom: 36px;
  }
}