/* Blue Ladder, faqe njëfaqëshe informative. Tema: blu e errët e markës. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #060d24;
  --navy-900: #0a1330;
  --navy-800: #101d46;
  --blue-600: #1f3aa6;
  --blue-500: #2c4fc4;
  --blue-300: #7d96e8;
  --yellow: #ffc400;
  --text: #eef1fb;
  --text-dim: #a9b4d6;
  --line: rgba(125, 150, 232, 0.18);
  --radius: 14px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Manrope", "Segoe UI", system-ui, sans-serif;
  /* Shkalla z: 1 përmbajtje, 10 nav, 20 menu mobile */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

section[id] { scroll-margin-top: 84px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 14px;
}

.accent-dot { color: var(--yellow); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 13, 36, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  color: var(--navy-950);
  background: var(--yellow);
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-links a.nav-cta:hover {
  box-shadow: 0 6px 22px rgba(255, 196, 0, 0.3);
  transform: translateY(-1px);
}
.nav-links a.nav-cta:active { transform: translateY(1px) scale(0.98); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 52% at 72% 46%, rgba(44, 79, 196, 0.28), transparent 72%),
    linear-gradient(180deg, #060d24 0%, #081026 100%);
}
@media (max-width: 768px) {
  .hero {
    background:
      radial-gradient(ellipse 90% 35% at 50% 28%, rgba(44, 79, 196, 0.26), transparent 75%),
      linear-gradient(180deg, #060d24 0%, #081026 100%);
  }
  #hero-canvas { opacity: 0.85; }
  .hero-content { padding-top: 38dvh; }
  .hero-title, .hero-sub { text-shadow: 0 2px 18px rgba(6, 13, 36, 0.85); }
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px 48px;
  width: 100%;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 44ch;
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  pointer-events: none;
}
.hero-scroll svg { color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll svg { animation: scroll-bounce 2s ease-in-out infinite; }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy-950);
}
.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(255, 196, 0, 0.35);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(1px) scale(0.98); }

/* ============ STATS ============ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-900);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ============ RRETH NESH ============ */
.about { padding: 130px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about-media {
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about-body h2 { max-width: 16ch; }
.about-body > p { margin-top: 22px; color: var(--text-dim); max-width: 60ch; }
.about-pillars { list-style: none; margin-top: 48px; }
.about-pillars li {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
}
.about-pillars h3 { font-size: 1.15rem; color: var(--yellow); }
.about-pillars p { color: var(--text-dim); font-size: 0.98rem; }

/* ============ SHËRBIMET ============ */
.services { padding: 40px 0 130px; }
.services h2 { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 22px;
}
.service {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.service-large { grid-row: span 2; min-height: 660px; }
.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-body {
  position: relative;
  z-index: 1;
  padding: 30px;
  width: 100%;
  background: linear-gradient(to top, rgba(6, 13, 36, 0.92) 30%, rgba(6, 13, 36, 0.55) 70%, transparent);
}
.service h3 { font-size: 1.5rem; }
.service p { margin-top: 10px; color: var(--text-dim); font-size: 0.97rem; max-width: 48ch; }

/* ============ PROJEKTET ============ */
.projects { padding: 0 0 40px; }
.projects-head { padding-top: 40px; margin-bottom: 56px; }
.projects-head p { margin-top: 16px; color: var(--text-dim); max-width: 52ch; }
.projects-wrap { overflow: hidden; }
@media (min-width: 769px) {
  .projects-wrap {
    min-height: 100dvh;
    display: flex;
    align-items: center;
  }
  .project-card { min-height: min(540px, 66vh); }
}
.projects-track {
  display: flex;
  gap: 22px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2 + 24px));
  width: max-content;
}
.project-card {
  width: min(430px, 82vw);
  min-height: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--blue-600) 0%, var(--navy-800) 70%);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.project-card:nth-child(even) {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 80%);
}
.project-card-img { padding: 0; }
.project-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-img .project-info {
  position: relative;
  z-index: 1;
  padding: 34px;
  background: linear-gradient(to top, rgba(6, 13, 36, 0.94) 40%, transparent);
}
.project-info h3 { font-size: 1.55rem; max-width: 16ch; }
.project-type { margin-top: 12px; color: var(--text-dim); font-size: 0.97rem; }
.project-client { margin-top: 6px; color: var(--blue-300); font-size: 0.92rem; font-weight: 600; }
.project-status {
  position: absolute;
  top: 26px;
  right: 26px;
  background: var(--yellow);
  color: var(--navy-950);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============ PARTNERËT ============ */
.partners {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
  margin-top: 90px;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ INSTAGRAM ============ */
.instagram { padding: 130px 0; }
.ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: opacity 0.2s ease;
}
.ig-handle:hover { opacity: 0.8; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ig-card {
  display: flex;
  flex-direction: column;
  background: #0d1736;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ig-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.ig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}
.ig-id { display: flex; flex-direction: column; line-height: 1.25; }
.ig-user { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.ig-name { font-size: 0.74rem; color: var(--text-dim); }
.ig-open {
  margin-left: auto;
  color: var(--text-dim);
  display: inline-flex;
  transition: color 0.2s ease;
}
.ig-open:hover { color: var(--yellow); }
.ig-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.ig-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ig-card:hover .ig-media img { transform: scale(1.04); }
.ig-card-body { padding: 12px 14px 16px; }
.ig-actions {
  display: flex;
  gap: 14px;
  color: var(--text);
  margin-bottom: 10px;
}
.ig-caption {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ig-caption strong { color: var(--text); font-weight: 700; margin-right: 4px; }
.ig-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ============ KONTAKT ============ */
.contact {
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  padding: 130px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact-intro h2 { max-width: 14ch; }
.contact-intro > p:last-child { margin-top: 20px; color: var(--text-dim); max-width: 44ch; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 6px; }
.contact-list svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.contact-value {
  display: block;
  margin-top: 3px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
a.contact-value:hover { color: var(--yellow); }

/* ============ FOOTER ============ */
.footer { padding: 36px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer img { height: 32px; width: auto; }
.footer p { color: var(--text-dim); font-size: 0.88rem; }
.footer a { color: var(--text-dim); transition: color 0.2s ease; }
.footer a:hover { color: var(--text); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1.1rem; width: 100%; }
  .nav-links a.nav-cta { text-align: center; margin-top: 10px; }

  .about, .services, .instagram, .contact { padding: 80px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { position: static; }
  .about-pillars li { grid-template-columns: 1fr; gap: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-large { grid-row: auto; min-height: 420px; }

  /* Në mobile projektet rrjedhin vertikalisht, pa scroll horizontal */
  .projects-track {
    flex-direction: column;
    width: 100%;
    padding: 0 24px;
  }
  .project-card { width: 100%; min-height: 380px; }
}

@media (max-width: 520px) {
  .ig-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .marquee-track span[aria-hidden] { display: none; }
  .ig-post img, .btn, .nav-links a.nav-cta { transition: none; }
}
