:root{
  --brand: #004494;
  --brand-dark: #00346f;
  --brand-soft: rgba(0, 68, 148, 0.08);
  --text: #1e293b;
  --muted: #64748b;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

body{
  color: var(--text);
  background: #f8f9fa; /* Bootstrap bg-light */
}

a { text-decoration: none; }

.navbar-etw{
  background: var(--brand);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.navbar-etw .nav-link{
  color: rgba(255,255,255,0.92) !important;
  font-weight: 500;
}

.navbar-etw .nav-link:hover{
  color: #ffffff !important;
  opacity: 1;
}

.navbar-etw .nav-link.active{
  color: #ffffff !important;
  position: relative;
}

.navbar-etw .nav-link.active::after{
  content:"";
  position:absolute;
  left: .5rem;
  right: .5rem;
  bottom: .25rem;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 999px;
}

.brand-logo{
  max-height: 50px;
  background: #fff;
  padding: 2px 6px;
  border-radius: 8px;
}

.brand-logo{
  height: 52px !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  display: block;
}

.section{
  padding: 56px 0;
}

.section-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead{
  color: var(--muted);
}

.text-justify {
  text-align: justify;
}

.hero{
  padding: 56px 0 26px;
}

.hero-card{
  background: linear-gradient(180deg, var(--brand-soft), rgba(255,255,255,0.65));
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

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

.badge-date{
  background: rgba(0,68,148,0.12);
  color: var(--brand);
  border: 1px solid rgba(0,68,148,0.18);
  font-weight: 600;
}

.btn-brand{
  background: var(--brand);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-brand:hover{
  background: var(--brand-dark);
  color: #fff;
}

.btn-outline-brand{
  border: 1px solid rgba(0,68,148,0.35);
  color: var(--brand);
  background: #fff;
}

.btn-outline-brand:hover{
  background: var(--brand);
  color: #fff;
}

.card-soft{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.icon-pill{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.news-card .news-meta{
  color: var(--muted);
  font-size: 0.95rem;
}

.news-card .news-title{
  font-weight: 800;
  margin: 0.25rem 0 0.35rem;
}

.news-card .news-text{
  color: var(--muted);
  margin: 0;
}

.footer-etw{
  background: var(--brand);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-etw a{
  color: rgba(255,255,255,0.92);
}

.footer-etw a:hover{
  color: #fff;
}

.form-hint{
  color: var(--muted);
  font-size: 0.95rem;
}

.required::after{
  content:" *";
  color: #dc2626;
  font-weight: 700;
}

.alert-soft{
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* Full-width slider hero */
.hero{ padding: 0; }

.event-slide{
  position: relative;
  min-height: clamp(360px, 55vh, 560px);
  display: flex;
  align-items: center;
  padding: 28px 0;
}

.event-slide--img{
  background-image: linear-gradient(
      90deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.25) 45%,
      rgba(0,0,0,0.10) 100%
    ),
    var(--bg);
  background-size: cover;
  background-position: center;
}

.event-slide__content{
  max-width: 720px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}

/* Da indikatori budu vidljiviji na slici */
.carousel-indicators [data-bs-target]{
  width: 10px; height: 10px; border-radius: 999px;
}