/*
Theme Name: Manuela Pendl
Theme URI: https://www.manuelapendl.com
Author: Manuela Pendl
Description: Custom tema za Manuela Pendl – osebna trenerka za ženske po 40.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: manuela-pendl
*/

/* Osnovna CSS spremenljivke */
:root {
  --rose: #E03479;
  --rose-hover: #C42869;
  --rose-light: #FFD6EC;
  --navy: #0C1B4E;
  --navy-mid: #1C3278;
  --sky: #4093E0;
  --cream: #FBF7F4;
  --white: #FFFFFF;
  --text: #1a1a2e;
  --text-soft: #4a5568;
  --border: #e8ecf4;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); font-size: 16px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--navy); }

/* Gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; transition: all 0.2s; cursor: pointer; text-decoration: none; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-hover); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* Container */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 24px; }
.nav-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; height: 70px; gap: 2rem; }
.nav-inner .nav-logo { flex-shrink: 0; min-width: 0; margin-right: 32px; }
.nav-inner .nav-links { flex: 1; justify-content: flex-start; }
.nav-logo { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--rose); color: #fff; border: none; border-radius: 50px; padding: 10px 22px; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
.nav-cta:hover { background: var(--rose-hover); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; margin-left: auto; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-arrow { display: inline-block; width: 10px; height: 6px; position: relative; top: 1px; flex-shrink: 0; }
.nav-dropdown-arrow::after { content: ''; display: block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.15s; }
.nav-dropdown.open > a .nav-dropdown-arrow::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown-panel { display: none !important; position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.13); padding: 24px 28px; min-width: 480px; z-index: 1000; border: 1px solid var(--border); }
.nav-dropdown.open .nav-dropdown-panel { display: flex !important; gap: 32px; }
.nav-dropdown-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.nav-dropdown-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.nav-dropdown-col ul li a { font-size: 0.8rem; font-weight: 500; color: var(--text-soft); white-space: nowrap; transition: color 0.15s; }
.nav-dropdown-col ul li a:hover { color: var(--rose); }
.nav-cta-wrap { flex-shrink: 0; margin-left: auto; }

/* MOBILNI MENI */
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 99; flex-direction: column; padding: 24px; overflow-y: auto; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 1rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }
.mobile-menu-close { align-self: flex-end; font-size: 1.5rem; color: var(--navy); background: none; border: none; cursor: pointer; padding: 0 0 16px; }

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 48px 24px 32px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 260px; }
.footer h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { max-width: 1140px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color 0.2s; }
.footer-social a:hover { color: #fff; }

/* SEKCIJA */
.section { padding: var(--space-2xl) 24px; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: var(--space-md); }
.section-title em { font-style: italic; color: var(--rose); }
.section-sub { font-size: 1rem; color: var(--text-soft); max-width: 560px; line-height: 1.7; }

/* WordPress vsebina */
.wp-content { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.wp-content h1, .wp-content h2, .wp-content h3 { margin-bottom: 16px; margin-top: 32px; }
.wp-content p { color: var(--text-soft); margin-bottom: 18px; line-height: 1.8; }
.wp-content ul, .wp-content ol { color: var(--text-soft); padding-left: 24px; margin-bottom: 18px; line-height: 2; }
.wp-content img { border-radius: 12px; margin: 24px 0; }

/* MOBILNO */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .section { padding: 3rem 20px; }
  .footer { padding: 36px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (min-width: 861px) { html { font-size: 20px; } }
