/* Projekt Gradnja – custom styles */
:root {
  --pg-primary: #7b2525;
  --pg-primary-dark: #551919;
  --pg-accent: #f0a82e;
  --pg-bg: #f8f7f4;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--pg-bg);
  color: #222;
  padding-top: 72px;
}

.navbar-brand span:first-child {
  letter-spacing: 0.08em;
}

.nav-link {
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--pg-primary) !important;
}

.btn-primary {
  background-color: var(--pg-primary);
  border-color: var(--pg-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--pg-primary-dark);
  border-color: var(--pg-primary-dark);
}

.btn-outline-primary {
  color: var(--pg-primary);
  border-color: var(--pg-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--pg-primary);
  color: #fff;
}

.btn-primary-soft {
  background-color: rgba(123, 37, 37, 0.06);
  color: var(--pg-primary);
  border-color: transparent;
}

.btn-primary-soft:hover,
.btn-primary-soft:focus {
  background-color: rgba(123, 37, 37, 0.14);
  color: var(--pg-primary);
}

/* HERO */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-image: url("../img/hero-desktop.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 1.5rem 0 3rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  opacity: 0.85;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1.3rem, 3.2rem);
  font-weight: 700;
}

.hero-text {
  font-size: 1rem;
  max-width: 36rem;
}

.hero-badges {
  margin-top: 0.75rem;
}

.hero-badge {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  min-width: 180px;
}

.hero-badge strong {
  display: block;
  line-height: 1.2;
}

.hero-badge .badge-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

/* Sections */
.section-padding {
  padding: 4.5rem 0;
}

.section-title {
  font-weight: 700;
}

.section-lead {
  color: #555;
}

.bg-light {
  background-color: #f3f3f0 !important;
}

/* Service cards */
.service-card .service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(123, 37, 37, 0.06);
  color: var(--pg-primary);
  font-size: 1.5rem;
}

.service-card ul li {
  margin-bottom: 0.2rem;
}

/* Feature boxes */
.feature-box {
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  background-color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(15, 23, 42, 0.08);
}

/* About image */
.about-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Gallery */
.pg-gallery-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.pg-gallery-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.pg-gallery-figure:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Steps */
.step-card {
  background-color: #fff;
  border-radius: 0.9rem;
  padding: 1.3rem 1.3rem 1.1rem;
  box-shadow: 0 0.5rem 1.4rem rgba(15, 23, 42, 0.08);
  text-align: left;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background-color: rgba(123, 37, 37, 0.08);
  color: var(--pg-primary);
}

/* Kontakt */
#kontakt .card {
  border-radius: 1rem;
}

#kontakt .form-label {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer */
footer {
  font-size: 0.85rem;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  body {
    padding-top: 64px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 78vh;
    background-image: url("../img/hero-mobile.webp");
  }
}


.service-icon i {
  font-size: 1.6rem;
  color: var(--pg-primary);
}

