/* ================= RESET IN GLOBAL ================= */
:root {
  /* 🌌 MISTIČNA TEMA (Privzeta) */
  --primary: #6b46c1;
  --primary-dark: #553c9a;
  --accent: #d4af37;
  --accent-dark: #b8941f;
  --background: #0f0f23;
  --surface: #1a1a2e;
  --surface-light: #2d2d44;
  --text: #e2e8f0;
  --text-muted: #a0aec0;
  --border: #2d3748;
  --success: #48bb78;
  --error: #f56565;
  --warning: #ed8936;
  
  /* 📱 TIPOGRAFIJA */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= TEME 1-6 ================= */

/* 🎨 1. MINIMALISTIČNA TEMA */
.tema-minimalisticna {
  --primary: #1a365d;
  --primary-dark: #2d3748;
  --accent: #2b6cb0;
  --accent-dark: #2c5282;
  --background: #ffffff;
  --surface: #f7fafc;
  --surface-light: #edf2f7;
  --text: #2d3748;
  --text-muted: #718096;
  --border: #e2e8f0;
}

/* 💼 2. PROFESIONALNA TEMA */
.tema-profesionalna {
  --primary: #2d3748;
  --primary-dark: #1a202c;
  --accent: #3182ce;
  --accent-dark: #2c5282;
  --background: #f8f9fa;
  --surface: #ffffff;
  --surface-light: #edf2f7;
  --text: #2d3748;
  --text-muted: #718096;
  --border: #e2e8f0;
}

/* 🌿 3. ZELENA ENERGIJA TEMA */
.tema-zelena {
  --primary: #065f46;
  --primary-dark: #047857;
  --accent: #10b981;
  --accent-dark: #059669;
  --background: #ecfdf5;
  --surface: #d1fae5;
  --surface-light: #a7f3d0;
  --text: #064e3b;
  --text-muted: #047857;
  --border: #a7f3d0;
}

/* 🖤 4. TEMNA MAGIJA TEMA */
.tema-temna {
  --primary: #000000;
  --primary-dark: #1a1a1a;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --background: #000000;
  --surface: #1a1a1a;
  --surface-light: #262626;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --border: #404040;
}

/* ✨ 5. SVETLA AURA TEMA */
.tema-svetla {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --background: #fef7ff;
  --surface: #faf5ff;
  --surface-light: #f3e8ff;
  --text: #581c87;
  --text-muted: #7e22ce;
  --border: #e9d5ff;
}

/* 🌅 6. SONČNI ZAHOD TEMA */
.tema-sonce {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --background: #fff7ed;
  --surface: #ffedd5;
  --surface-light: #fed7aa;
  --text: #7c2d12;
  --text-muted: #9a3412;
  --border: #fdba74;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  background-color: var(--background);
  color: var(--text);
  transition: var(--transition);
  overflow-x: hidden;
}

/* ================= INTERAKTIVNE STORITVE ================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.interactive-services {
  max-width: 800px;
  margin: 2rem auto;
}

.service-interactive {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.service-interactive.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  gap: 1rem;
}

.service-header:hover {
  background: var(--surface-light);
}

.service-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.service-header h4 {
  flex: 1;
  margin: 0;
  font-size: 1.2rem;
}

.service-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.service-interactive.active .service-toggle {
  transform: rotate(45deg);
}

.service-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-interactive.active .service-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.service-content ul {
  list-style: none;
  margin: 1rem 0;
}

.service-content li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.service-content li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--text);
}

h3 {
  font-size: 1.5rem;
  color: var(--text);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ================= LAYOUT ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
  min-height: 100vh;
  display: none; /* Skrijemo vse sekcije */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.active-section {
  display: block; /* Prikažemo samo aktivno sekcijo */
  opacity: 1;
  transform: translateY(0);
}

.text-center {
  text-align: center;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

/* Prilagoditev headerja za svetle teme */
.tema-minimalisticna .header,
.tema-profesionalna .header,
.tema-zelena .header,
.tema-svetla .header,
.tema-sonce .header {
  background: rgba(255, 255, 255, 0.95);
}

.tema-temna .header {
  background: rgba(0, 0, 0, 0.95);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-accent {
  color: var(--accent);
}

/* ================= NAVIGATION ================= */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* ================= THEME CONTROLS ================= */
.theme-toggle-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  background: var(--surface-light);
  transform: rotate(15deg) scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* THEME MODAL */
.theme-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.theme-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-modal-content {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--surface-light);
}

.theme-option:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.theme-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.theme-preview {
  width: 60px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--border);
}

/* Preview barve za teme */
.misticna-preview { background: linear-gradient(135deg, #6b46c1, #d4af37); }
.minimalisticna-preview { background: linear-gradient(135deg, #1a365d, #2b6cb0); }
.profesionalna-preview { background: linear-gradient(135deg, #2d3748, #3182ce); }
.zelena-preview { background: linear-gradient(135deg, #065f46, #10b981); }
.temna-preview { background: linear-gradient(135deg, #000000, #dc2626); }
.svetla-preview { background: linear-gradient(135deg, #7c3aed, #f59e0b); }
.sonce-preview { background: linear-gradient(135deg, #ea580c, #f59e0b); }

/* ================= HERO SECTION ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

/* Prilagoditev hero sekcije za različne teme */
.tema-minimalisticna .hero,
.tema-profesionalna .hero {
  background: linear-gradient(135deg, rgba(237, 242, 247, 0.9) 0%, rgba(247, 250, 252, 0.9) 100%);
}

.tema-zelena .hero {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(236, 253, 245, 0.9) 100%);
}

.tema-temna .hero {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.tema-svetla .hero {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(254, 247, 255, 0.9) 100%);
}

.tema-sonce .hero {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(255, 247, 237, 0.9) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107, 70, 193, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ================= PACKAGES ================= */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.package-card.featured {
  border-color: var(--accent);
  transform: scale(1.05);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.package-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0;
}

.package-features {
  list-style: none;
  margin: 1.5rem 0;
}

.package-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.package-features li:last-child {
  border-bottom: none;
}

/* ================= CONTACT FORM ================= */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-status.success {
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-status.error {
  background: rgba(245, 101, 101, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
}

.form-status.loading {
  background: rgba(237, 137, 54, 0.1);
  border: 1px solid var(--warning);
  color: var(--warning);
}

/* ================= FOOTER ================= */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .package-card.featured {
    transform: none;
  }

  .package-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }
  
  .theme-modal-content {
    padding: 1rem;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ================= HONEYPOT STYLES ================= */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Zagotovi, da honeypot ni viden tudi z CSS hacki */
.honeypot-field label,
.honeypot-field input {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
/* ================= QUICK PROCESS NA DOMOVI ================= */
.quick-process-overview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.process-step-mini {
  text-align: center;
  flex: 1;
  max-width: 150px;
}

.process-step-mini .step-number {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

/* ================= DETALJNI PROCES ================= */
.process-steps-detailed {
  max-width: 800px;
  margin: 3rem auto;
}

.process-step-detailed {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-number-large {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

/* ================= O MENI ================= */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
}

blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
}

.about-orakleum {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 3rem;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.method-item {
  padding: 1rem;
  background: var(--surface-light);
  border-radius: var(--radius);
}

/* ================= KATEGORIJE STORITEV ================= */
.services-categories {
  margin-top: 2rem;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.category-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.services-grid {
  display: none;
}

.services-grid.active-category {
  display: block;
}

/* ================= OSEBNI PAKETI ================= */
.personal-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.personal-package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.personal-package-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.package-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.package-price-range {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .quick-process-overview {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .process-step-detailed {
    flex-direction: column;
    text-align: center;
  }
  
  .category-buttons {
    flex-direction: column;
  }
}

/* ================= UTILITY CLASSES ================= */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }