/* =============================================
   BUBA INterijeri — Modern Website
   ============================================= */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --red-deepest: #070000;
  --red-darkest: #100000;
  --red-dark: #3A0000;
  --red-mid: #6E0000;
  --red-primary: #9E0000;
  --red-vivid: #C40000;

  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #888888;

  --bg-white: #FFFFFF;
  --bg-light: #FAF8F7;
  --bg-gray: #F2EFEE;
  --border: #E5E0DE;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.11);
  --shadow-red: 0 6px 24px rgba(156, 0, 0, 0.35);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);

  --logo-pattern: url('../images/buba_logo.png');
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background var(--transition), opacity var(--transition), transform var(--transition);
}

ul {
  list-style: none;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-white {
  background: var(--bg-white);
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin-bottom: 12px;
}

.section-header-light .section-tag {
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-header-light .section-title {
  color: #fff;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--red-vivid);
  margin: 0 auto;
  border-radius: 2px;
}

.divider-light {
  background: rgba(255, 255, 255, 0.45);
}

.section-desc,
.section-desc-dark {
  font-size: 1.05rem;
  max-width: 540px;
  margin: 18px auto 0;
  line-height: 1.8;
}

.section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.section-desc-dark {
  color: var(--text-muted);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red-vivid);
  color: #fff;
  border-color: var(--red-vivid);
}

.btn-primary:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}


.btn-white {
  background: #fff;
  color: var(--red-mid);
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-full {
  width: 100%;
}

/* ---------- NAVIGATION ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 13px 0;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#navbar.scrolled {
  background: var(--red-darkest);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(196, 0, 0, 0.85);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 1.75em;
  width: auto;
  margin-right: 0.5em;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(11%) sepia(97%) saturate(7480%) hue-rotate(2deg) brightness(88%) contrast(113%);
  opacity: 0;
  transition: opacity var(--transition);
}

#navbar.scrolled .nav-logo-img {
  opacity: 1;
}

.logo-buba,
.logo-in {
  color: var(--red-vivid);
}

.logo-buba {
  font-weight: 800;
}

.logo-terijeri {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.logo-dizajn {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 3px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: #fff;
}

.nav-cta {
  background: var(--red-vivid) !important;
  color: #fff !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--red-primary) !important;
}

.nav-li-gold {
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid rgba(229, 175, 91, 0.3);
}

.nav-cta-gold {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 600 !important;
}

.nav-cta-gold:hover {
  background: #e5af5b !important;
  color: #0c0904 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(140deg,
      var(--red-deepest) 0%,
      var(--red-darkest) 15%,
      var(--red-dark) 38%,
      var(--red-mid) 62%,
      var(--red-primary) 80%,
      var(--red-vivid) 100%);
}

.hero-pattern {
  position: absolute;
  inset: -50%;
  background-image: var(--logo-pattern);
  background-repeat: repeat;
  background-size: 55px;
  opacity: 0.09;
  mix-blend-mode: screen;
  transform: rotate(30deg);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(196, 0, 0, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 15% 85%, rgba(19, 0, 0, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 130px 28px 140px;
  max-width: 820px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  line-height: 1;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.hero-title-sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #fff;
  margin: 26px 0 14px;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  color: rgba(255, 255, 255, 0.4);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  user-select: none;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
  animation: linePulse 2.2s ease-in-out infinite;
}

@keyframes linePulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.65;
    transform: scaleY(1.08);
  }
}

/* ---------- ABOUT / O NAMA ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.about-subtitle {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-text {
  display: flex;
  flex-direction: column;
}

.about-text .lead {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.85;
  border-left: 3px solid var(--red-vivid);
  padding-left: 20px;
}

.about-text p {
  color: var(--text-body);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--red-vivid);
  font-weight: 700;
}

/* Features grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-content: start;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--red-dark), var(--red-vivid));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(156, 0, 0, 0.3);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-body h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.features-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 8px;
}

/* ---------- SERVICES ---------- */
.section-dark-red {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg,
      var(--red-deepest) 0%,
      var(--red-darkest) 15%,
      var(--red-dark) 40%,
      var(--red-mid) 68%,
      var(--red-primary) 85%,
      var(--red-vivid) 100%);
  padding: 96px 0;
}

.section-dark-red::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: var(--logo-pattern);
  background-repeat: repeat;
  background-size: 55px;
  opacity: 0.09;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: rotate(30deg);
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  display: block;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 28px 24px 24px;
  color: #fff;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.service-card-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.service-card-wide .service-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.service-card:hover .service-icon {
  color: rgba(255, 255, 255, 0.9);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.service-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ---------- GALLERY ---------- */

.gal-section {
  padding-top: 120px;
}

/* ── Category cards view ── */
.gal-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.gal-cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--bg-gray);
}

.gal-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gal-cat-card:hover img {
  transform: scale(1.07);
}

.gal-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 0, 0, 0.85) 0%,
      rgba(10, 0, 0, 0.3) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--transition);
}

.gal-cat-card:hover .gal-cat-overlay {
  background: linear-gradient(to top,
      rgba(122, 0, 0, 0.88) 0%,
      rgba(122, 0, 0, 0.35) 50%,
      transparent 100%);
}

.gal-cat-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.gal-cat-count {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gal-cat-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}

.gal-cat-arrow svg {
  width: 18px;
  height: 18px;
}

.gal-cat-card:hover .gal-cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Images view ── */
.gal-images-view {
  transition: opacity 0.35s var(--ease);
}

.gal-hidden {
  display: none !important;
}

.gal-images-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.gal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px 9px 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--red-vivid);
  background: transparent;
  border: 1.5px solid var(--red-vivid);
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.gal-back-btn:hover {
  background: var(--red-vivid);
  color: #fff;
}

.gal-back-btn svg {
  width: 16px;
  height: 16px;
}

#galCatTitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  flex: 1;
}

.gal-images-count {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Image grid ── */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.gal-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.gal-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(122, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

/* Gallery footer */
.gallery-footer {
  text-align: center;
}

.gallery-footer p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ---------- LIGHTBOX ---------- */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 0, 0, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightbox.open {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lbImg {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
  user-select: none;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-close svg {
  width: 20px;
  height: 20px;
}

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}

.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lb-arrow svg {
  width: 24px;
  height: 24px;
}

.lb-prev {
  left: 20px;
}

.lb-next {
  right: 20px;
}

.lb-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

#lbLabel {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

#lbCounter {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: linear-gradient(135deg,
      var(--red-deepest) 0%,
      var(--red-darkest) 18%,
      var(--red-dark) 42%,
      var(--red-mid) 65%,
      var(--red-primary) 82%,
      var(--red-vivid) 100%);
}

.cta-pattern {
  position: absolute;
  inset: -50%;
  background-image: var(--logo-pattern);
  background-repeat: repeat;
  background-size: 55px;
  opacity: 0.09;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: rotate(30deg);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.cta-sub {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 32px !important;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-sub {
  color: var(--red-vivid);
  font-style: italic;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-vivid);
}

.contact-ico svg {
  width: 18px;
  height: 18px;
}

.contact-detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-detail p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-detail a {
  color: var(--text-body);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--red-vivid);
}

.working-hours {
  background: var(--bg-light);
  border-left: 3px solid var(--red-vivid);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
}

.working-hours h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin-bottom: 8px;
}

.working-hours p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 3px;
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.req {
  color: var(--red-vivid);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-vivid);
  box-shadow: 0 0 0 3px rgba(196, 0, 0, 0.1);
}

.field-error {
  border-color: var(--red-vivid) !important;
  box-shadow: 0 0 0 3px rgba(196, 0, 0, 0.15) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: right;
}

/* Form success state */
.btn.success {
  background: #2a7a2a !important;
  border-color: #2a7a2a !important;
  pointer-events: none;
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--red-deepest);
}

.footer-main {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.footer-logo .logo-dizajn {
  color: rgba(255, 255, 255, 0.35);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 6px;
}

.footer-addr {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
  font-style: italic;
}

/* Continuation column — aligns list with sibling column that has a heading */
.footer-col-cont ul {
  margin-top: calc(1em + 18px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--red-vivid);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  box-shadow: var(--shadow-red);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--red-primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- 1100px --- */
@media (max-width: 1100px) {
  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
}

/* --- 1024px --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* --- 960px --- */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-wide {
    grid-column: span 2;
  }

  .section {
    padding: 72px 0;
  }

  /* Nav */
  #navbar {
    background: rgba(19, 0, 0, 0.97);
    backdrop-filter: blur(12px);
    padding: 13px 0;
  }

  .nav-toggle {
    display: flex;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--red-darkest);
    flex-direction: column;
    align-items: stretch;
    padding: 6px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
  }

  .nav-links.open {
    display: flex;
    animation: menuSlideDown 0.22s ease;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    padding: 14px 4px;
    width: 100%;
    letter-spacing: 0.06em;
  }

  /* Action buttons — contained, centered, not full-width */
  .nav-links li:has(.nav-cta),
  .nav-li-gold {
    border-bottom: none;
    display: flex;
    justify-content: center;
    padding: 6px 0;
  }

  .nav-cta {
    margin-left: 0 !important;
    width: auto;
    padding: 11px 36px !important;
    border-radius: 3px;
  }

  .nav-li-gold {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 2px;
  }

  .nav-cta-gold {
    width: auto;
    border: 1px solid rgba(229, 175, 91, 0.45) !important;
    border-radius: 3px;
    padding: 11px 36px !important;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .gal-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lb-arrow {
    display: none;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* --- 520px --- */
@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .service-card-wide .service-icon {
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .gal-cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

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

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}