/*
Theme Name: MC Forum
Theme URI: https://mcforum.si
Author: Medicinski center Forum
Description: Tema po meri za Medicinski center Forum (Maribor), izdelana po Figma dizajnu "MC Forum – Webpage v01". Vključuje predloge za storitve, cenik, nasvete, ekipo in kontakt.
Version: 1.1.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mcforum
*/

/* =========================================================
   1. DESIGN TOKENS (iz Figma: Assets → Colours / Typography)
   ========================================================= */
:root {
  /* Primary – Honey Yellow */
  --yellow-50:  #FAF1DE;  /* Yellow Light Back */
  --yellow-100: #F3DFB0;  /* Yellow Back */
  --yellow-200: #EFC97D;
  --yellow-300: #E5AC46;
  --yellow-400: #DD9A27;
  --yellow-800: #D09A10;  /* Honey Yellow – glavna barva */
  --yellow-900: #CC7400;  /* Mustard Yellow */

  /* Neutral */
  --white:    #FFFFFF;
  --neutral-50:  #FBF9FC; /* Light Background */
  --neutral-100: #F1F2F6; /* Background */
  --neutral-300: #D5DCE2; /* Grey Lines */
  --neutral-500: #AAAAAA;
  --neutral-600: #6D6E71; /* Aluminium Grey */
  --neutral-800: #383E43; /* Antracit */
  --neutral-900: #181D22; /* Black */

  /* Secondary – Dark Blue */
  --blue-100: #EAECF5;
  --blue-500: #4E5BA6;
  --blue-600: #3E4784;
  --blue-700: #363F72;

  /* Secondary – Lime Green */
  --green-100: #E6F2D5;
  --green-600: #96C45C;
  --green-700: #82AF51;
  --green-800: #6E9B48;

  /* Supporting / states */
  --state-red:    #DA4D49;
  --state-yellow: #F0D651;
  --state-green:  #2DA06F;
  --state-blue:   #3676C5;

  /* Typography */
  --font-serif: "Merriweather", Georgia, serif;
  --font-sans:  "Figtree", -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(24, 29, 34, .07);
  --shadow-header: 0 8px 28px rgba(24, 29, 34, .08);
}

/* =========================================================
   2. RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 2;              /* Body Text M / 200% */
  color: var(--neutral-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow-900); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow-800); outline-offset: 2px;
}

/* Typography scale (desktop / mobile) – Figma Assets → Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); color: var(--neutral-900); font-weight: 400; margin: 0 0 .5em; }
h1 { font-size: 57px; line-height: 1.25; letter-spacing: -.03em; }
h2 { font-size: 45px; line-height: 1.4;  letter-spacing: -.02em; }
h3 { font-size: 36px; line-height: 1.5;  letter-spacing: -.02em; }
h4 { font-size: 29px; line-height: 1.5;  letter-spacing: -.02em; }
h5 { font-size: 24px; line-height: 1.5;  letter-spacing: -.01em; }
h6 { font-size: 20px; line-height: 1.5; }
@media (max-width: 782px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; line-height: 1.4; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; line-height: 1.25; }
  h5 { font-size: 16px; }
}
p { margin: 0 0 1.25em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 782px) { .section { padding: 56px 0; } }

/* Eyebrow label – LABEL M, uppercase, gold */
.eyebrow {
  display: block;
  font: 600 12px/1.5 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow-800);
  margin-bottom: 12px;
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-head--left { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--left h2 { display: flex; align-items: center; gap: 16px; margin: 0; }
.section-head--left h2::before { content: ""; width: 40px; height: 2px; background: var(--yellow-800); }

/* =========================================================
   3. BUTTONS & PILLS  (Figtree 16, uppercase, LH 175%)
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 14px/1.2 var(--font-sans);
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn--gold { background: var(--yellow-800); color: var(--white); }
.btn--gold:hover { background: var(--yellow-900); color: var(--white); }
.btn--outline { background: transparent; color: var(--yellow-900); border-color: var(--yellow-300); }
.btn--outline:hover { background: var(--yellow-50); }
.btn--sm { padding: 10px 20px; font-size: 12px; }
.btn--icon { width: 46px; height: 46px; padding: 0; justify-content: center; }

/* Filter / category pills (stran Storitve, Cenik) */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 32px 0 56px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow-900); background: var(--white);
  border: 1px solid var(--yellow-200); border-radius: var(--radius-pill);
  padding: 10px 18px; text-decoration: none;
}
.pill:hover { background: var(--yellow-50); text-decoration: none; }
.pill.is-active { background: var(--yellow-800); border-color: var(--yellow-800); color: var(--white); }

/* Vrsta storitve – značke na karticah */
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font: 800 10px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); border-radius: var(--radius-pill); padding: 7px 12px;
}
.tag--preiskava  { background: var(--yellow-400); }
.tag--zdravljenje{ background: var(--blue-600); }
.tag--simptom    { background: var(--green-700); }

/* =========================================================
   4. HEADER (bel zaobljen trak, lebdi nad hero)
   ========================================================= */
.site-header { position: absolute; inset: 24px 0 auto; z-index: 50; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--white); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-header); padding: 10px 12px 10px 24px;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo:hover { text-decoration: none; }
.site-logo__mark { width: 40px; height: 40px; color: var(--yellow-800); flex: none; }
.site-logo__text { font: 700 11px/1.25 var(--font-serif); letter-spacing: .22em; text-transform: uppercase; color: var(--neutral-800); }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a {
  font: 600 12px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--neutral-800); text-decoration: none; padding: 8px 0;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--yellow-900); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  width: 44px; height: 44px; border: 1px solid var(--neutral-300); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--neutral-800);
}
.header-phone:hover { border-color: var(--yellow-800); color: var(--yellow-900); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--neutral-900); margin: 5px 0; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 12px); left: 24px; right: 24px;
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow-header); padding: 24px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 12px 8px; font-size: 14px; }
  .header-phone { display: none; }
}

/* =========================================================
   5. HERO (100vh – zahteva iz Figma dev opombe)
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(60% 60% at 85% 30%, var(--yellow-100) 0%, transparent 70%),
    linear-gradient(180deg, var(--neutral-50) 0%, var(--yellow-50) 100%);
  position: relative; overflow: hidden;
}
.hero__inner {
  flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px;
  padding-top: 140px;
}
.hero__title { margin-bottom: 20px; }
.hero__lead { max-width: 420px; color: var(--neutral-600); margin-bottom: 32px; }
.hero__media { position: relative; align-self: end; }
.hero__circle {
  position: absolute; inset: auto 0 -10% 10%; aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow-300); z-index: 0;
}
.hero__media img { position: relative; z-index: 1; margin: 0 auto; }

/* Iskalni trak "Kako vam lahko pomagamo?" */
.searchband { background: linear-gradient(90deg, var(--yellow-100) 0%, var(--yellow-300) 100%); padding: 28px 0; }
.searchband__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.searchband__label { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 20px; color: var(--neutral-900); }
.searchband__label strong { color: var(--yellow-900); font-weight: 700; }
.searchband form { flex: 1; min-width: 260px; display: flex; background: var(--white); border-radius: var(--radius-pill); padding: 6px; }
.searchband input[type="search"] { flex: 1; border: 0; background: none; font: 400 15px/1.4 var(--font-sans); padding: 10px 18px; }
.searchband input[type="search"]:focus { outline: none; }
.searchband__hint { width: 100%; font-size: 12px; color: var(--neutral-600); text-align: center; margin: 6px 0 0; }

/* =========================================================
   6. KARTICE STORITEV (Figma dev opomba: naslov 24px, ob daljših 22px)
   ========================================================= */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cards-grid { grid-template-columns: 1fr; } }

.card-storitev {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
}
.card-storitev__media { position: relative; aspect-ratio: 4 / 3; background: var(--neutral-100); }
.card-storitev__media img { width: 100%; height: 100%; object-fit: cover; }
.card-storitev__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-storitev__title { font: 400 24px/1.35 var(--font-serif); margin: 0; flex: 1; }
.card-storitev__title--long { font-size: 22px; }
.card-storitev__title a { color: var(--neutral-900); }
.card-storitev__actions { display: flex; gap: 10px; align-items: center; }

/* =========================================================
   7. CTA PAS + O NAS + EKIPA + ZEMLJEVID
   ========================================================= */
.cta-band { background: linear-gradient(90deg, var(--yellow-50) 0%, var(--yellow-200) 100%); overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: 380px 1fr; align-items: end; gap: 40px; }
.cta-band__media img { margin-top: -30px; }
.cta-band__content { padding: 64px 0; }
@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__media { display: none; }
}

.about { background: var(--neutral-50); }
.about__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about__content .btn { margin-right: 12px; margin-top: 8px; }
.about__media img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
@media (max-width: 900px) { .about__inner { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .team-grid { grid-template-columns: 1fr; } }
.card-zdravnik { text-align: left; }
.card-zdravnik__media { aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; background: var(--neutral-100); box-shadow: var(--shadow-card); }
.card-zdravnik__media img { width: 100%; height: 100%; object-fit: cover; }
.card-zdravnik h3 { font-size: 20px; margin: 16px 0 4px; }
.card-zdravnik__naziv { font: 700 11px/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-800); }

.map-section iframe, .map-section .map-placeholder { width: 100%; height: 420px; border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* =========================================================
   8. FOOTER (krem podlaga + zlat spodnji trak)
   ========================================================= */
.site-footer { background: var(--yellow-50); margin-top: 96px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 0; }
@media (max-width: 782px) { .site-footer__grid { grid-template-columns: 1fr; padding: 40px 0; } }
.site-footer h4 { font: 700 12px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--neutral-800); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--neutral-600); font-size: 14px; }
.site-footer a:hover { color: var(--yellow-900); }
.footer-contact { font-size: 14px; color: var(--neutral-600); }
.footer-contact .site-logo { margin-bottom: 16px; }
.footer-contact p { margin-bottom: 6px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--yellow-800); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--yellow-900); }
.site-footer__bottom { background: var(--yellow-800); color: var(--white); font-size: 12px; }
.site-footer__bottom .container { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.site-footer__bottom a { color: var(--white); }
.site-footer__bottom span::after { content: "|"; margin: 0 8px; opacity: .6; }
.site-footer__bottom span:last-child::after { content: ""; }

/* =========================================================
   9. PODSTRANI
   ========================================================= */
/* Skupna "notranja" glava strani */
.page-hero { padding: 170px 0 40px; text-align: center; background: linear-gradient(180deg, var(--neutral-50), var(--white)); }
.page-hero .eyebrow { margin-bottom: 8px; }

/* Posamezna storitev */
.storitev-meta { display: flex; justify-content: center; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.storitev-meta__box { background: var(--white); border: 1px solid var(--neutral-300); border-radius: var(--radius-card); padding: 14px 28px; text-align: center; min-width: 150px; }
.storitev-meta__box strong { display: block; font: 700 22px/1.3 var(--font-sans); color: var(--neutral-900); }
.storitev-meta__box span { font-size: 12px; color: var(--neutral-600); text-transform: uppercase; letter-spacing: .08em; }
.storitev-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 29px; margin-top: 1.6em; }
.article-body h3 { font-size: 24px; margin-top: 1.4em; }
.article-body img { border-radius: var(--radius-card); margin: 2em auto; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 2em 0; }
.article-body th, .article-body td { padding: 12px 16px; border-bottom: 1px solid var(--neutral-300); text-align: left; }

/* Cenik */
.cenik-group { max-width: 860px; margin: 0 auto 40px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.cenik-group__head {
  background: linear-gradient(90deg, var(--yellow-800), var(--yellow-300));
  color: var(--white); font: 700 13px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 24px; display: flex; justify-content: space-between;
}
.cenik-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--neutral-100); font-size: 15px; }
.cenik-row:last-child { border-bottom: 0; }
.cenik-row a { color: var(--neutral-800); }
.cenik-row__price { font-weight: 700; color: var(--neutral-900); white-space: nowrap; }

/* Nasveti pred pregledom */
.nasveti-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .nasveti-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px; margin-bottom: 24px; }
.info-card h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.info-card h3 .num { color: var(--yellow-800); }
.info-list { max-width: 760px; margin: 0 auto; }
.info-list__item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--neutral-300); font-size: 15px; }
.info-list__item svg { flex: none; color: var(--yellow-800); margin-top: 4px; }

/* Ekipa – O nas */
.onas-grid { display: grid; grid-template-columns: 90px 1fr 300px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .onas-grid { grid-template-columns: 1fr; } }
.zdravnik-row { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--neutral-300); }
@media (max-width: 700px) { .zdravnik-row { grid-template-columns: 1fr; } }
.zdravnik-row__media img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.zdravnik-row h3 { margin-bottom: 4px; }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.3fr; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); }
@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; } }
.kontakt-info { background: linear-gradient(160deg, var(--yellow-800), var(--yellow-300)); color: var(--white); padding: 40px; }
.kontakt-info h3 { color: var(--white); font-size: 22px; }
.kontakt-info a { color: var(--white); text-decoration: underline; }
.kontakt-info p { font-size: 15px; margin-bottom: 10px; }
.kontakt-form { padding: 40px; }
.kontakt-form label { display: block; font: 600 12px/1.4 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-600); margin: 18px 0 6px; }
.kontakt-form input, .kontakt-form textarea {
  width: 100%; border: 1px solid var(--neutral-300); border-radius: 10px;
  font: 400 15px/1.5 var(--font-sans); padding: 12px 14px; background: var(--neutral-50);
}
.kontakt-form .btn { margin-top: 24px; }
.form-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.form-msg--ok { background: var(--green-100); color: var(--state-green); }
.form-msg--err { background: #FBE4E3; color: var(--state-red); }

/* Osnovni WP sitli */
.alignwide { max-width: 1100px; }
.alignfull { max-width: none; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Lebdeče ikone okoli hero fotografije (iz Figme: icoUV, icoSurgery, icoVein, icoDermatology) */
.hero__float {
  position: absolute; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-card);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--neutral-800);
}
.hero__float--1 { top: 2%;   left: 38%; }
.hero__float--2 { top: 10%;  right: 6%; }
.hero__float--3 { top: 34%;  right: -2%; }
.hero__float--4 { top: 12%;  left: 12%; }
@media (max-width: 900px) { .hero__float { display: none; } }

/* Ikona ob naslovu sekcije */
.section-ico { display: inline-flex; color: var(--neutral-800); }

/* Logotip – SVG znak */
.site-logo__mark svg { width: 40px; height: auto; display: block; }
.site-footer .site-logo__mark svg { width: 44px; }

/* Naslov skupine storitev (Figma: Laserski posegi, Polnila …) */
.group-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow-900);
  margin: 48px 0 20px;
}
.group-title:first-child { margin-top: 0; }
