/*
Theme Name: Kadence Child — Virtual Office Zug
Theme URI: https://virtual-office-zug.com
Description: VOZ child theme — Swiss premium virtual office
Author: Hevea Investment
Template: kadence
Version: 1.0.0
*/

/* ============================================================
   VOZ DESIGN TOKENS
   ============================================================ */
:root {
  --voz-navy:       #0B1F3A;
  --voz-blue:       #2563EB;
  --voz-steel:      #4B8FD4;
  --voz-red:        #CC0000;
  --voz-blue-light: #EFF6FF;
  --voz-white:      #FFFFFF;
  --voz-gray-50:    #F5F6F8;
  --voz-gray-700:   #374151;
  --voz-gray-400:   #9CA3AF;

  --voz-font:       'Inter', system-ui, -apple-system, sans-serif;
  --voz-radius-sm:  4px;
  --voz-radius:     8px;
  --voz-radius-lg:  12px;
  --voz-shadow:     0 2px 8px rgba(11,31,58,0.08);
  --voz-shadow-lg:  0 4px 20px rgba(11,31,58,0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--voz-font);
  color: var(--voz-gray-700);
  background: var(--voz-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header,
.main-navigation {
  background: var(--voz-navy) !important;
}

.main-navigation a,
.main-navigation .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.main-navigation a:hover { color: #ffffff !important; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--voz-font);
  color: var(--voz-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.voz-hero-h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.voz-h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.voz-h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
.voz-h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.voz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--voz-radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--voz-font);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  line-height: 1;
}

.voz-btn--primary {
  background: var(--voz-blue);
  color: #ffffff;
}
.voz-btn--primary:hover {
  background: #1D4ED8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--voz-shadow-lg);
}

.voz-btn--secondary {
  background: transparent;
  color: var(--voz-navy);
  border: 2px solid var(--voz-navy);
}
.voz-btn--secondary:hover {
  background: var(--voz-navy);
  color: #ffffff;
}

.voz-btn--white {
  background: #ffffff;
  color: var(--voz-navy);
}
.voz-btn--white:hover {
  background: var(--voz-blue-light);
}

.voz-btn--sm { padding: 10px 20px; font-size: 14px; }
.voz-btn--lg { padding: 18px 36px; font-size: 17px; }

/* ============================================================
   CARDS
   ============================================================ */
.voz-card {
  background: var(--voz-white);
  border-radius: var(--voz-radius-lg);
  box-shadow: var(--voz-shadow);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.voz-card:hover {
  box-shadow: var(--voz-shadow-lg);
  transform: translateY(-3px);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.voz-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.voz-section { padding: 96px 0; }
.voz-section--alt { background: var(--voz-gray-50); }
.voz-section--navy { background: var(--voz-navy); color: #fff; }
.voz-section--navy h1,
.voz-section--navy h2,
.voz-section--navy h3 { color: #fff; }

/* ============================================================
   SWISS BADGE
   ============================================================ */
.voz-swiss-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--voz-red);
  border: 1px solid rgba(204,0,0,0.3);
  background: rgba(204,0,0,0.05);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ============================================================
   LABELS / TAGS
   ============================================================ */
.voz-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--voz-blue);
  margin-bottom: 12px;
}

/* ============================================================
   PROGRESS BAR (dashboard)
   ============================================================ */
.voz-progress { display: flex; gap: 0; margin: 32px 0; }
.voz-progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.voz-progress-step::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}
.voz-progress-step:last-child::before { display: none; }
.voz-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--voz-gray-400);
  position: relative;
  z-index: 1;
}
.voz-progress-step.done .voz-progress-dot {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.voz-progress-step.done::before { background: #16a34a; }
.voz-progress-step.active .voz-progress-dot {
  background: var(--voz-blue);
  border-color: var(--voz-blue);
  color: #fff;
}
.voz-progress-label {
  font-size: 11px;
  color: var(--voz-gray-400);
  margin-top: 6px;
  text-align: center;
}
.voz-progress-step.done .voz-progress-label,
.voz-progress-step.active .voz-progress-label {
  color: var(--voz-gray-700);
  font-weight: 600;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.voz-dashboard { background: var(--voz-gray-50); min-height: 100vh; }
.voz-dash-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
@media (max-width: 900px) { .voz-dash-grid { grid-template-columns: 1fr; } }

.voz-dash-sidebar {
  background: var(--voz-white);
  border-radius: var(--voz-radius-lg);
  box-shadow: var(--voz-shadow);
  padding: 24px;
  height: fit-content;
}

.voz-dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--voz-radius);
  color: var(--voz-gray-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.voz-dash-nav a:hover,
.voz-dash-nav a.active {
  background: var(--voz-blue-light);
  color: var(--voz-blue);
}

.voz-dash-main {}

.voz-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.voz-stat-card {
  background: var(--voz-white);
  border-radius: var(--voz-radius);
  box-shadow: var(--voz-shadow);
  padding: 20px;
}
.voz-stat-label { font-size: 12px; color: var(--voz-gray-400); font-weight: 500; margin-bottom: 4px; }
.voz-stat-value { font-size: 20px; font-weight: 700; color: var(--voz-navy); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--voz-navy) !important;
  color: rgba(255,255,255,0.7);
}
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: #ffffff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.voz-rv { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.voz-rl { opacity: 0; transform: translateX(-32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.voz-rr { opacity: 0; transform: translateX(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.voz-rv.in, .voz-rl.in, .voz-rr.in { opacity: 1; transform: none; }
.voz-d1 { transition-delay: 0.08s; }
.voz-d2 { transition-delay: 0.16s; }
.voz-d3 { transition-delay: 0.24s; }
.voz-d4 { transition-delay: 0.32s; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-page .woocommerce button.button,
.woocommerce-page .woocommerce input.button,
.woocommerce .button.alt {
  background: var(--voz-blue) !important;
  color: #fff !important;
  border-radius: var(--voz-radius) !important;
  font-family: var(--voz-font) !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  border: none !important;
  transition: background 0.2s !important;
}
.woocommerce-page .woocommerce button.button:hover,
.woocommerce .button.alt:hover {
  background: #1D4ED8 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .voz-section { padding: 64px 0; }
  .voz-container { padding: 0 16px; }
}

/* ============================================================
   KADENCE OVERRIDES — hide default elements
   ============================================================ */
/* Hide page title hero banner (white bar above templates) */
.entry-hero.page-hero-section,
.entry-hero { display: none !important; }

/* Remove padding left by hidden hero */
.content-style-unboxed .site-main > .content-container,
.content-style-unboxed .entry-content-wrap { padding-top: 0 !important; }

/* Remove Kadence default margins around page content */
.page .entry-content,
.site-main { margin-top: 0 !important; margin-bottom: 0 !important; }

.content-area { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Remove default WP admin bar margin shift on public pages */
html.admin-bar #voz-header { top: 32px; }
@media screen and (max-width: 782px) { html.admin-bar #voz-header { top: 46px; } }

/* Override Kadence body background */
body { background: #ffffff !important; }

/* WooCommerce — hide default titles and breadcrumbs */
.woocommerce-page h1.entry-title,
.woocommerce-breadcrumb { display: none; }

/* Hide sample page default content styling */
.wp-site-blocks { padding: 0 !important; }
.site-container.wp-block-group { padding: 0 !important; }

/* Fix Kadence main content area wrapper padding */
#inner-wrap { padding-top: 0 !important; }
