/* ===========================================
   style.css — Kemal Mešić Portfolio
   =========================================== */

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

:root {
  --bg:              hsl(220, 15%, 8%);
  --fg:              hsl(210, 20%, 92%);
  --primary:         hsl(255, 85%, 63%);
  --primary-fg:      hsl(0, 0%, 100%);
  --secondary:       hsl(220, 14%, 16%);
  --muted:           hsl(215, 15%, 55%);
  --accent:          hsl(185, 90%, 55%);
  --border:          hsl(220, 14%, 18%);
  --glass-bg:        hsla(220, 14%, 12%, 0.8);
  --glass-border:    hsla(220, 14%, 22%, 0.5);
  --gradient-primary: linear-gradient(135deg, hsl(255, 85%, 63%), hsl(185, 90%, 55%));
  --gradient-card:   linear-gradient(145deg, hsl(220, 14%, 13%), hsl(220, 14%, 9%));
  --shadow-glow:     0 0 40px -10px hsla(255, 85%, 63%, 0.3);
  --nav-height:      72px;
  --transition:      0.2s ease;
}

::selection { background: hsla(255, 85%, 63%, 0.3); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: hsl(220, 14%, 22%); border-radius: 3px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Utility ---------- */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}


/* ===========================================
                    NAVBAR
   =========================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 0;           /* py-4 = 16px */
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;

  /* Animacija ulaska odozgo */
  transform: translateY(-100%);
  animation: navSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes navSlideIn {
  to { transform: translateY(0); }
}

/* Glass efekat nakon scrolla */
.navbar.scrolled {
  padding: 0.5rem 0;         /* py-2 = 8px */
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

/* Inner flex container */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Horizontalni padding: px-6 = 24px (mobile default) */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---- Logo ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;              /* gap-3 = 12px */
  text-decoration: none;
  flex-shrink: 0;
}

.nav-avatar-wrap {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.nav-avatar {
  width: 2.25rem;            /* w-9 = 36px */
  height: 2.25rem;           /* h-9 = 36px */
  border-radius: 50%;        /* rounded-full */
  object-fit: cover;
  display: block;
  outline: 2px solid hsla(255, 85%, 63%, 0.4);  /* ring-2 ring-primary/40 */
  outline-offset: 2px;
}

/* Fallback kad nema slike — prikaže inicijale */
.nav-avatar-fallback {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  outline: 2px solid hsla(255, 85%, 63%, 0.4);
  outline-offset: 2px;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.nav-logo-text {
  font-size: 1.125rem;       /* text-lg */
  font-weight: 700;          /* font-bold */
  letter-spacing: -0.02em;  /* tracking-tight */
  line-height: 1;
}

.nav-logo-dot {
  color: var(--fg);
}

/* ---- Desktop nav — vidljivo na md+, sakriveno na mobile ---- */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;                 /* gap-8 = 32px */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;                 /* gap-8 = 32px */
}

.nav-link {
  font-size: 0.875rem;       /* text-sm */
  font-weight: 500;          /* font-medium */
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--fg); }

/* Language switcher — desktop */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;       /* text-sm */
  font-weight: 500;
  color: var(--muted);
  padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
  border-radius: 0.5rem;     /* rounded-lg */
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  font-family: 'Inter', sans-serif;
}
.nav-lang:hover {
  border-color: hsla(255, 85%, 63%, 0.4);
  color: var(--fg);
}

/* CTA gumb — desktop */
.nav-cta {
  font-size: 0.875rem;       /* text-sm */
  font-weight: 600;          /* font-semibold */
  padding: 0.5rem 1.25rem;   /* py-2 px-5 */
  border-radius: 0.5rem;     /* rounded-lg */
  background: var(--primary);
  color: var(--primary-fg);
  text-decoration: none;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.9; }

/* ---- Mobile controls — sakriveno na desktop, vidljivo na mobile ---- */
.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: 0.75rem;              /* gap-3 = 12px */
}

/* Language switcher — mobile (manji) */
.nav-lang-mobile {
  font-size: 0.75rem;        /* text-xs */
  padding: 0.375rem 0.625rem; /* py-1.5 px-2.5 */
  gap: 0.25rem;
}
.nav-lang-mobile svg { width: 12px; height: 12px; }

/* Hamburger/X gumb */
.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Prikaži samo hamburger ikonu, sakrij X */
.icon-hamburger { display: block; }
.icon-close     { display: none; }

/* Kad je meni otvoren — zamijeni ikone */
.navbar.menu-open .icon-hamburger { display: none; }
.navbar.menu-open .icon-close     { display: block; }

/* ---- Mobile menu panel ---- */
.nav-mobile-menu {
  /* Skriveno po defaultu */
  display: none;
  flex-direction: column;
  gap: 0.75rem;              /* gap-3 */
  margin-top: 0.5rem;        /* mt-2 */
  margin-left: 1rem;         /* mx-4 */
  margin-right: 1rem;
  border-radius: 0.75rem;    /* rounded-xl */
  padding: 1rem;             /* p-4 */

  /* Animacija */
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Otvoreno stanje */
.nav-mobile-menu.open {
  display: flex;
  opacity: 1;
}

.nav-mobile-link {
  font-size: 0.875rem;       /* text-sm */
  font-weight: 500;          /* font-medium */
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0;         /* py-2 */
  transition: color var(--transition);
  border-bottom: 1px solid hsla(220, 14%, 22%, 0.4);
}
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover { color: var(--fg); }

.nav-mobile-cta {
  display: block;
  text-align: center;
  font-size: 0.875rem;       /* text-sm */
  font-weight: 600;          /* font-semibold */
  padding: 0.625rem 1.25rem; /* py-2.5 px-5 */
  border-radius: 0.5rem;     /* rounded-lg */
  background: var(--primary);
  color: var(--primary-fg);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: opacity var(--transition);
}
.nav-mobile-cta:hover { opacity: 0.9; }


/* ===========================================
                HERO SECTION
   =========================================== */

/* ---------- Sekcija ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ---------- Dot pattern pozadina ---------- */
.hero-dot-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(hsl(215 15% 55% / 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}

/* ---------- Glow efekti ---------- */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: heroGlowPulse 3s ease-in-out infinite;
}
.hero-glow-1 {
  width: 384px; height: 384px;   /* w-96 h-96 */
  background: hsl(255 85% 63% / 0.1);
  filter: blur(120px);
  top: 25%; left: 25%;
}
.hero-glow-2 {
  width: 320px; height: 320px;   /* w-80 h-80 */
  background: hsl(185 90% 55% / 0.1);
  filter: blur(100px);
  bottom: 25%; right: 25%;
  animation-delay: 1.5s;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ---------- Glavni kontejner ---------- */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;   /* mobilno: col */
  align-items: center;
  gap: 2rem;                /* gap-8 = 32px */

  /* Padding mobilno: pt-24 pb-16, horizontalno px-8 */
  padding-top: 96px;
  padding-bottom: 64px;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---------- Tekstualni blok ---------- */
.hero-text {
  order: 2;                 /* mobilno: dole (ispod slike) */
  text-align: center;
  width: 100%;

  /* Animacija: opacity 0→1, y 40→0 */
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 0.8s ease-out 0s forwards;
}

/* Tag */
.hero-tag {
  font-size: 0.75rem;       /* text-xs */
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(185 90% 55%);  /* accent */
  margin-bottom: 1rem;      /* mb-4 */

  opacity: 0;
  transform: translateX(-20px);
  animation: heroTagSlide 0.6s ease-out 0.2s forwards;
}

/* H1 */
.hero-heading {
  font-size: 2.25rem;       /* text-4xl = 36px */
  font-weight: 900;         /* font-black */
  line-height: 0.95;        /* leading-[0.95] */
  letter-spacing: -0.025em; /* tracking-tight */
  margin-bottom: 1rem;      /* mb-4 */

  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease-out 0.3s forwards;
}

/* Podnaslov */
.hero-sub {
  font-size: 1rem;           /* text-base */
  color: hsl(215 15% 55%);   /* muted */
  max-width: 32rem;          /* max-w-lg */
  line-height: 1.65;
  margin-bottom: 2rem;       /* mb-8 */
  margin-left: auto;
  margin-right: auto;

  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 0.5s forwards;
}

/* Dugmad wrapper */
.hero-buttons {
  display: flex;
  flex-direction: column;    /* mobilno: col */
  gap: 0.75rem;              /* gap-3 */
  justify-content: center;
  align-items: stretch;

  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s ease-out 0.7s forwards;
}

/* Primarno dugme */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;   /* py-3 px-6 */
  border-radius: 0.75rem;    /* rounded-xl */
  background: hsl(255 85% 63%);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;       /* text-sm */
  text-decoration: none;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.hero-btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 30px -5px hsl(255 85% 63% / 0.5);
}

/* Sekundarno dugme */
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(220 14% 18%);
  color: hsl(210 20% 92%);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}
.hero-btn-secondary:hover {
  border-color: hsl(255 85% 63% / 0.4);
}

/* ---------- Slika ---------- */
.hero-image-wrap {
  order: 1;                  /* mobilno: gore */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  opacity: 0;
  transform: scale(0.9);
  animation: heroImgIn 0.8s ease-out 0.5s forwards;
}

/* Blur glow iza slike */
.hero-img-glow {
  position: absolute;
  inset: 3rem;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    hsl(255 85% 63% / 0.15),
    hsl(185 90% 55% / 0.15)
  );
  filter: blur(64px);        /* blur-3xl */
  pointer-events: none;
}

/* Slika */
.hero-img {
  position: relative;
  z-index: 1;
  width: 208px;              /* w-52 mobilno */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px hsl(255 85% 63% / 0.2));
}

/* ---------- Scroll indikator ---------- */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;            /* bottom-6 */
  left: 50%;
  transform: translateX(-50%);
  color: hsl(215 15% 55%);
  text-decoration: none;
  transition: color 0.2s ease;
  z-index: 10;

  opacity: 0;
  animation: heroFadeIn 0.6s ease-out 1.2s forwards, heroFloat 6s ease-in-out 1.8s infinite;
}
.hero-scroll:hover { color: hsl(210 20% 92%); }
.hero-scroll svg { display: block; }

/* ---------- Keyframes ---------- */
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroTagSlide {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroImgIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}
@keyframes heroFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

/* ===================== ABOUT — style.css ===================== */

.about-section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

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

.about-header {
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(255 85% 63%);
  margin-bottom: 0.75rem;
}

.about-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(210 20% 92%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Shared bento card */
.bento-card {
  background: linear-gradient(145deg, hsl(220 14% 13%), hsl(220 14% 9%));
  border: 1px solid hsl(220 14% 18%);
  border-radius: 1rem;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.bento-card:hover {
  border-color: hsl(255 85% 63% / 0.4);
  box-shadow: 0 0 40px -10px hsl(255 85% 63% / 0.3);
  transform: translateY(-2px);
}

/* Bio kartica */
.bio-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.bio-corner-glow {
  position: absolute;
  top: -2rem; right: -2rem;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: hsl(255 85% 63% / 0.1);
  filter: blur(3rem);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.bio-card:hover .bio-corner-glow { opacity: 1; }

.bio-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bio-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(210 20% 92%);
  margin-bottom: 0.25rem;
}

.bio-role {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: hsl(255 85% 63%);
}

.bio-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: hsl(215 15% 55%);
  background: hsl(220 14% 16% / 0.6);
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}
.bio-location svg { color: hsl(185 90% 55%); flex-shrink: 0; }

.bio-text {
  font-size: 1rem;
  color: hsl(215 15% 55%);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.bio-highlight {
  color: hsl(185 90% 55%);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.bio-highlight:hover { opacity: 0.8; }

/* Education + Work grid */
.bio-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(220 14% 18% / 0.5);
}

.bio-info-card {
  background: hsl(220 14% 11%);
  border: 1px solid hsl(220 14% 18%);
  border-radius: 0.75rem;
  padding: 1rem;
}

.bio-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bio-info-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-info-icon--edu {
  background: hsl(185 90% 55% / 0.12);
  color: hsl(185 90% 55%);
}

.bio-info-icon--work {
  background: hsl(255 85% 63% / 0.12);
  color: hsl(255 85% 63%);
}

.bio-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(215 15% 55%);
}

.bio-info-card:nth-child(1) .bio-info-label { color: hsl(185 90% 55%); }
.bio-info-card:nth-child(2) .bio-info-label { color: hsl(255 85% 63%); }

.bio-info-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(210 20% 92%);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.bio-info-sub {
  font-size: 0.75rem;
  color: hsl(215 15% 55%);
  line-height: 1.4;
}

/* Skills kartica */
.skills-card { padding: 2rem; }

.skills-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skills-bar {
  width: 0.375rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom, hsl(255 85% 63%), hsl(185 90% 55%));
  flex-shrink: 0;
}

.skills-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(210 20% 92%);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(255 85% 63%);
  margin-bottom: 0.375rem;
}

.skill-items {
  font-size: 0.875rem;
  color: hsl(215 15% 55%);
}
/* ===========================================
   SCROLL REVEAL
   =========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ===========================================
   MOUSE GRADIENT
   =========================================== */
#mouse-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===================== PROJECTS — style.css ===================== */

.projects-section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

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

.projects-header {
  margin-bottom: 4rem;
}

.projects-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(210 20% 92%);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Kartica — cijela je link */
.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, hsl(220 14% 13%), hsl(220 14% 9%));
  border: 1px solid hsl(220 14% 18%);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow   0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform    0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  border-color: hsl(255 85% 63% / 0.4);
  box-shadow: 0 0 40px -10px hsl(255 85% 63% / 0.3);
  transform: translateY(-2px);
}

/* Gornji dio — slika + overlay zajedno */
.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: hsl(220 14% 12%);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.7s ease-out;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* Overlay — apsolutno pozicioniran UNUTAR .project-thumb */
.project-overlay {
  position: absolute;
  inset: 0;
  background: hsl(220 15% 8% / 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card:hover .project-overlay {
  opacity: 1;
  pointer-events: auto;
}

.project-overlay-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(210 20% 92%);
  text-align: center;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  background: hsl(255 85% 63% / 0.1);
  color: hsl(255 85% 63%);
  border: 1px solid hsl(255 85% 63% / 0.2);
}

.project-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(185 90% 55%);
  margin-top: 0.25rem;
}

/* Donji dio — tekst */
.project-info {
  padding: 1.5rem;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(210 20% 92%);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.project-card:hover .project-name {
  color: hsl(255 85% 63%);
}

.project-desc {
  font-size: 0.875rem;
  color: hsl(215 15% 55%);
  line-height: 1.625;
}

/* Touch aktivno stanje (mobilni) */
.project-card.touch-active .project-overlay { opacity: 1; pointer-events: auto; }
.project-card.touch-active .project-img    { transform: scale(1.05); }
.project-card.touch-active .project-name   { color: hsl(255 85% 63%); }

/* ===================== CONTACT ===================== */

.contact-section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

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

.contact-header {
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(210 20% 92%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Lijeva kolona */
/* .contact-info {} */

.contact-intro {
  font-size: 1.125rem;
  color: hsl(215 15% 55%);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: hsl(210 20% 92%);
  transition: color 0.2s;
}
.contact-link:hover { color: hsl(255 85% 63%); }

.contact-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(255 85% 63% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(255 85% 63%);
  flex-shrink: 0;
  transition: background 0.2s;
}
.contact-link:hover .contact-icon-box {
  background: hsl(255 85% 63% / 0.2);
}

.contact-link-label {
  font-size: 0.75rem;
  color: hsl(215 15% 55%);
  margin-bottom: 0.125rem;
}

.contact-link-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
}

.social-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(220 14% 16%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(215 15% 55%);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover {
  background: hsl(255 85% 63% / 0.1);
  color: hsl(255 85% 63%);
}

/* Desna kolona — forma */
.contact-form-card {
  padding: 2rem;
  border-radius: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(215 15% 55%);
  margin-bottom: 0.375rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: hsl(220 14% 16%);
  border: 1px solid hsl(220 14% 18%);
  color: hsl(210 20% 92%);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: hsl(215 15% 45%);
}
.form-input:focus,
.form-textarea:focus {
  border-color: hsl(255 85% 63% / 0.5);
  box-shadow: 0 0 0 3px hsl(255 85% 63% / 0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  background: hsl(255 85% 63%);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.9; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

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

.footer {
  border-top: 1px solid hsl(220 14% 18%);
  padding: 2rem 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.875rem;
  color: hsl(215 15% 55%);
}

.footer-built {
  font-weight: 500;
}

/* ===================== WHATSAPP ===================== */

.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.whatsapp-btn:hover {
  background: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}