/*
Theme Name: Divine Voice
Theme URI: https://divinevoice.si
Author: Anja Mlinar
Description: Enostranska tema za Divine Voice — zvočno terapijo, poučevanje petja in nastope Anje Mlinar. Storitve, cenik, galerija in dogodki se urejajo prek nadzorne plošče (wp-admin), besedila strani pa prek Videz → Prilagodi.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: divine-voice
*/

/* Google Fonts se naložijo prek wp_enqueue_style() v functions.php, ne prek
   @import — @import znotraj CSS je za Complianz "neviden" (skenira samo HTML
   <link>/<script> značke), zato ne bi mogel ponuditi lokalne optimizacije. */

:root {
  /* Palette — Coral & Indigo */
  --cream:        #FAF6EF;
  --cream-deep:   #F1E9DC;
  --ink:          #2A2622;
  --ink-soft:     #6B6259;
  --navy:         #423E7A;
  --navy-deep:    #322F5E;
  --wine:         #B23D28;
  --wine-deep:    #8F2E1D;
  --line:         #E3D9C8;
  --white:        #FFFFFF;
  --tint-bg:      #E7E1F5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
  --radius: 6px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-pad { padding: 110px 0; }

.bg-alt { background: var(--tint-bg); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
/* Cal.com triggers render as <button> — strip native button chrome so they
   look identical to the <a class="btn"> links they sit next to. */
button.btn, button.service-link {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
}
button.service-link { background: none; padding: 0; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-wine {
  background: var(--wine);
  color: var(--white);
}
.btn-wine:hover { background: var(--wine-deep); transform: translateY(-1px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(250, 246, 239, 0);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 26px 0;
}
.site-header.scrolled {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.logo span { color: var(--wine); }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--wine);
  transition: right var(--transition);
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 600;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .eyebrow { }

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--wine);
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
}

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

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 70%;
  height: 70%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--wine), transparent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  height: 620px;
  object-fit: cover;
}
.about-media .frame {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--wine);
  opacity: 0.35;
  border-radius: var(--radius);
  z-index: -1;
}

.about-copy .eyebrow { }

.about-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 24px;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-copy p:last-of-type { margin-bottom: 30px; }

.about-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
}

.credentials {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.credentials span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  border: 1px solid var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.service-feature.reverse { grid-template-columns: 1.15fr 0.85fr; }
.service-feature.reverse .service-media { order: 2; }
.service-feature.reverse .service-copy { order: 1; }

.service-media {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  position: relative;
  background: var(--tint-bg);
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s ease;
}
.service-feature:hover .service-media img { transform: scale(1.04); }

.service-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--wine);
  margin-bottom: 10px;
  display: block;
}

.service-copy h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.service-copy p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.service-meta span {
  font-size: 0.78rem;
  color: var(--navy);
  background: var(--tint-bg);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-link svg { transition: transform var(--transition); }
.service-link:hover svg { transform: translateX(4px); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(66,62,122,0.07);
}
.price-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.price-card.featured .price-card-title,
.price-card.featured h3 { color: var(--white); }
.price-card.featured .price-row span:first-child { color: rgba(255,255,255,0.72); }
.price-card.featured .price-row { border-color: rgba(255,255,255,0.16); }
.price-card.featured .price-note { color: rgba(255,255,255,0.6); }

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.price-card-sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.price-card.featured .price-card-sub { color: rgba(255,255,255,0.65); }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.price-row:last-of-type { border-bottom: none; }
.price-row span:first-child { color: var(--ink-soft); font-size: 0.94rem; }
.price-row strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.price-note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
}

.pricing-footnote {
  text-align: center;
  margin-top: 44px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ============================================================
   QUALIFY BOX ("Ali je to zame?")
   ============================================================ */
.qualify-box {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 48px 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(66,62,122,0.07);
}
.qualify-box h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  max-width: 480px;
}
.qualify-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}
.qualify-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.qualify-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
}
.qualify-list strong { color: var(--ink); font-weight: 600; }

.qualify-note {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.qualify-cta {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.qualify-cta p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 400px;
  margin: 0;
}

/* ============================================================
   SOCIAL / DRUŽBENA OMREŽJA
   ============================================================ */
.social-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.social-photo {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  background: var(--tint-bg);
}
.social-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.social-photo:hover img { transform: scale(1.06); }
.social-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(34, 48, 63, 0);
  opacity: 0;
  transition: all var(--transition);
}
.social-photo:hover .social-icon {
  opacity: 1;
  background: rgba(34, 48, 63, 0.38);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ============================================================
   EVENTS INDEX ("Prihajajoči dogodki") — inside Sledi mi
   ============================================================ */
.events-index {
  max-width: 820px;
  margin: 0 auto 56px;
}
.events-index-head {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 18px;
  text-align: center;
}
.event-row {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.event-row:first-child { border-top: 1px solid var(--line); }
.event-row a.event-name:hover { color: var(--wine); }
.event-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.event-date {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--wine);
  text-transform: uppercase;
}
.event-location {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: right;
}
.events-empty {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.94rem;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   BOOKING / CONTACT
   ============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.booking-info h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 20px; }
.booking-info p { color: var(--ink-soft); margin-bottom: 28px; }

.booking-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}
.booking-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}
.booking-contact-item .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(66,62,122,0.08);
}

.booking-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--wine);
  padding-left: 16px;
}

.booking-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.booking-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(66,62,122,0.07);
}
.booking-option-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.booking-option-info span { font-size: 0.85rem; color: var(--ink-soft); }
.booking-option .btn { flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .logo { color: var(--white); }
.footer-brand .logo span { color: #C98C86; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.82); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.82); }

/* ============================================================
   GENERIC PAGE / POST FALLBACK
   ============================================================ */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 160px 0 110px; }
.page-wrap h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 24px; }
.page-wrap .entry-content { color: var(--ink-soft); font-size: 1.02rem; }
.page-wrap .entry-content p { margin-bottom: 18px; }

/* ============================================================
   SINGLE EVENT / ARCHIVE (Dogodki)
   ============================================================ */
.event-single {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 0 110px;
}
.event-single-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.event-single-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--tint-bg);
  padding: 8px 16px;
  border-radius: 999px;
}
.event-single h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 24px; }
.event-single-thumb { margin-bottom: 34px; border-radius: var(--radius); overflow: hidden; }
.event-single-content { color: var(--ink-soft); font-size: 1.02rem; }
.event-single-content p { margin-bottom: 18px; }
.event-single-back { display: inline-block; margin-top: 40px; }
.event-archive-list { max-width: 820px; margin: 0 auto; padding: 160px 0 110px; }
.event-archive-list h1 { margin-bottom: 40px; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media img { height: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 440px; }
  .service-feature, .service-feature.reverse {
    grid-template-columns: 1fr;
  }
  .service-feature.reverse .service-media { order: 1; }
  .service-feature.reverse .service-copy { order: 2; }
  .service-media { height: 320px; }
  .services-list { gap: 64px; }
  .pricing-wrap { grid-template-columns: repeat(2, 1fr); }
  .social-gallery { grid-template-columns: repeat(3, 1fr); }
  .booking-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qualify-box { padding: 40px 32px; margin-top: 48px; }
  .event-row { grid-template-columns: 1.3fr 1fr; }
  .event-row .event-location { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--cream);
    padding: 110px 40px;
    gap: 26px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    z-index: 550;
  }
  .nav-links.mobile-open a { font-size: 1.05rem; }

  .section-pad { padding: 76px 0; }
  .container { padding: 0 22px; }

  .booking-option { flex-direction: column; align-items: flex-start; gap: 14px; }
  .booking-option .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-copy p { max-width: 100%; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .social-gallery { grid-template-columns: repeat(2, 1fr); }
  .social-photo { height: 170px; }
  .qualify-box { padding: 30px 22px; }
  .qualify-cta { flex-direction: column; align-items: flex-start; }
  .event-row { grid-template-columns: 1fr; gap: 4px; }
}

.nav-overlay {
  display: none;
}
.nav-overlay.active {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(20,18,16,0.35);
  z-index: 540;
}
