/* Osnovni layout javnog sajta */

html, body {
  margin: 0;
  padding: 0;
}

/* Mint plava pozadina sa dental pattern-om */
body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #e6f8f7; /* fallback mint */
  background-image:
    linear-gradient(rgba(230, 248, 247, 0.30), rgba(230, 248, 247, 0.35)),
    url('/assets/img/dentico-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #111827;
}



/* Glavni wrapper za sadržaj ispod headera */
.page-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px 40px;
}

/* Kartica preko pozadine (poluprovidna bijela) */
.page-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 24px 20px 22px;
  box-shadow: 0 18px 40px rgba(15, 76, 117, 0.20);
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(6px);
}

/* Naslov + tekst unutar kartice */
.page-card h1 {
  font-size: 26px;
  margin-bottom: 8px;
  color: #0f4c75;
}

.page-card p {
  font-size: 15px;
  color: #4b5563;
}

/* Kontakt lista */
.page-contact-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #111827;
  margin-top: 16px;
}

.page-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-contact-item i {
  color: #0f4c75;
}

/* Hint ispod */
.page-admin-hint {
  font-size: 13px;
  color: #6b7280;
  margin-top: 16px;
}

.page-admin-hint a {
  color: #0f4c75;
  font-weight: 600;
  text-decoration: none;
}

.page-admin-hint a:hover {
  text-decoration: underline;
}

/* Malo gušći razmak na manjim ekranima */
@media (max-width: 600px) {
  .page-main {
    margin: 24px auto 32px;
    padding: 0 12px 32px;
  }

  .page-card {
    padding: 20px 16px 20px;
  }

  .page-card h1 {
    font-size: 22px;
  }
}

/* ============= HERO============= */

.hero-dentico {
  position: relative;
  z-index: 0;
}

.hero-dentico::before {
  content: "";
  position: absolute;
  inset: 0; /* full width i visina sekcije */
  background: rgba(255, 255, 255, 0.03);  /* manja opačnost (bistrije) */
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px) saturate(140%);
  z-index: -1;
}



.hero-dentico {
  padding: 20px 0 24px;
}


.hero-dentico-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}



.hero-dentico-card {
  margin-top: 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(15, 76, 117, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.45);

  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 22px 22px;
}

/* Lijeva strana – tekst */

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(63, 211, 199, 0.14);
  color: #0f4c75;
}

.hero-dentico-text h1 {
  font-size: 36px;
  line-height: 1.15;
  color: #0f4c75;
  margin: 10px 0 12px;
}

.hero-dentico-text p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 18px;
  max-width: 520px;
}

.hero-dentico-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0f4c75, #3282b8);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 76, 117, 0.35);
}

.btn-hero-primary:hover {
  filter: brightness(1.05);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #0f4c75;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.btn-hero-secondary:hover {
  background: #ffffff;
}

/* Lista benefita */

.hero-dentico-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #111827;
}

.hero-dentico-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dentico-list li i {
  color: #3fd3c7;
}

/* Desna strana – highlight kartica */

.hero-dentico-side {
  display: flex;
  align-items: stretch;
}

.hero-highlight-card {
  background: linear-gradient(145deg, #0f4c75, #3282b8);
  color: #ffffff;
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 18px 40px rgba(15, 76, 117, 0.5);
  width: 100%;
}

.hero-highlight-card h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.hero-side-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero-side-row i {
  margin-top: 2px;
  color: #3fd3c7;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-dentico-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    padding: 20px 18px;
    gap: 24px;
  }

  .hero-dentico-text h1 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .hero-dentico-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-highlight-card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .hero-dentico {
    padding: 16px 0 16px;
  }

  .hero-dentico-inner {
    padding: 0 12px;
  }

  .hero-dentico-card {
    padding: 16px 14px;
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .hero-dentico-text h1 {
    font-size: 24px;
  }

  .hero-dentico-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================= VIDEO SEKCIJA ================= */

.video-section {
  padding: 24px 0 40px;
}

.video-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Naslov iznad videa */

.video-header {
  text-align: center;
  margin-bottom: 18px;
}

.video-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(63, 211, 199, 0.14);
  color: #0f4c75;
  margin-bottom: 6px;
}

.video-header h2 {
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f4c75;
  margin: 4px 0 6px;
}

.video-header p {
  font-size: 14px;
  color: #4b5563;
  max-width: 520px;
  margin: 0 auto;
}

/* Okvir za video */

.video-frame {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(15, 76, 117, 0.20);
  border: 1px solid rgba(148, 163, 184, 0.45);

  /* čuva proporciju videa */
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-frame video {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  display: block;
}

/* Responsive */

@media (max-width: 600px) {
  .video-section-inner {
    padding: 0 12px;
  }

  .video-header h2 {
    font-size: 18px;
  }

  .video-header p {
    font-size: 13px;
  }

  .video-frame {
    padding: 10px;
    border-radius: 18px;
  }

  .video-frame video {
    border-radius: 14px;
  }
}

/* ================= INFO STRIP IZNAD FOOTERA ================= */

.dentico-info-strip {
  position: relative;
  padding: 200px 0; /* bilo 40px 0 – više visine */
  min-height: 560px; /* garantuje veću visinu sekcije */
  color: #ffffff;

  /* Zamijeni putanju ako ti je drugačija */
  background:
    linear-gradient(rgba(15, 23, 42, 0.70), rgba(15, 23, 42, 0.70)),
    url('/assets/img/footer-foto.jpg') center/cover no-repeat;
}

.dentico-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Mint “staklene” kartice */

.dentico-info-card {
  background: rgba(63, 211, 199, 0.14); /* mint providno */
  border-radius: 18px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px) saturate(140%);
}

.dentico-info-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5f4ff;
}

.dentico-info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #e5f4ff;
}

/* Lista u srednjoj kartici */

.dentico-info-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.dentico-info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.dentico-info-list i {
  font-size: 14px;
  color: #3fd3c7;
}

/* Responsive */

@media (max-width: 900px) {
  .dentico-info-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dentico-info-strip {
    padding: 30px 0 32px;
  }

  .dentico-info-inner {
    padding: 0 12px;
    grid-template-columns: 1fr;
  }

  .dentico-info-card {
    padding: 16px 14px 14px;
  }
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  background: #ffffff; 
  border-top: 4px solid var(--dentico-primary-soft);
  padding: 12px 16px;
  font-size: 13px;
  color: #0f172a;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  text-align: center;
}

.site-footer .footer-copy strong {
  font-weight: 600;
}

.site-footer .footer-separator {
  opacity: 0.4;
}

.site-footer a {
  color: #38bdf8;                      /* mint link */
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Mobile: u dva reda, bez "|" */
@media (max-width: 600px) {
  .site-footer .footer-inner {
    flex-direction: column;
    gap: 2px;
  }
  .site-footer .footer-separator {
    display: none;
  }
}
