/*
Theme Name: Aleksandra - Life Coach Theme
Description: Življenjska svetovalka WordPress tema z lepimi gradientnimi učinki
Author: Aleksandra
Version: 1.0
*/

/* Definition of the design system. All colors, gradients, fonts, etc should be defined here. */

:root {
  --background: hsl(340, 30%, 98%);
  --foreground: hsl(340, 15%, 20%);
  --card: hsl(340, 50%, 97%);
  --card-foreground: hsl(340, 15%, 20%);
  --primary: hsl(320, 45%, 65%);
  --primary-foreground: hsl(340, 50%, 98%);
  --secondary: hsl(290, 30%, 85%);
  --secondary-foreground: hsl(340, 15%, 25%);
  --muted: hsl(340, 20%, 92%);
  --muted-foreground: hsl(340, 10%, 55%);
  --accent: hsl(45, 85%, 75%);
  --accent-foreground: hsl(340, 15%, 25%);
  --border: hsl(340, 20%, 90%);
  --radius: 0.5rem;
  
  /* Custom gradients */
  --gradient-primary: linear-gradient(135deg, hsl(320, 45%, 65%), hsl(290, 50%, 70%));
  --gradient-secondary: linear-gradient(135deg, hsl(45, 85%, 75%), hsl(35, 80%, 70%));
  --gradient-hero: linear-gradient(135deg, hsl(320, 45%, 65%) 0%, hsl(290, 50%, 70%) 50%, hsl(45, 85%, 75%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(340, 50%, 97%), hsl(320, 30%, 95%));
  
  --shadow-soft: 0 4px 20px hsl(320, 45%, 65%, 0.15);
  --shadow-glow: 0 0 30px hsl(320, 45%, 65%, 0.3);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(340, 25%, 8%);
    --foreground: hsl(340, 30%, 92%);
    --card: hsl(340, 20%, 12%);
    --card-foreground: hsl(340, 30%, 92%);
    --primary: hsl(320, 45%, 75%);
    --primary-foreground: hsl(340, 25%, 8%);
    --secondary: hsl(340, 15%, 20%);
    --secondary-foreground: hsl(340, 30%, 92%);
    --muted: hsl(340, 15%, 18%);
    --muted-foreground: hsl(340, 20%, 65%);
    --accent: hsl(45, 85%, 65%);
    --accent-foreground: hsl(340, 25%, 8%);
    --border: hsl(340, 15%, 20%);
    
    --gradient-primary: linear-gradient(135deg, hsl(320, 45%, 75%), hsl(290, 50%, 80%));
    --gradient-secondary: linear-gradient(135deg, hsl(45, 85%, 65%), hsl(35, 80%, 60%));
    --gradient-hero: linear-gradient(135deg, hsl(320, 45%, 75%) 0%, hsl(290, 50%, 80%) 50%, hsl(45, 85%, 65%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(340, 20%, 12%), hsl(320, 15%, 15%));
    
    --shadow-soft: 0 4px 20px hsl(320, 45%, 75%, 0.25);
    --shadow-glow: 0 0 30px hsl(320, 45%, 75%, 0.4);
  }
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: bold;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(0, 0, 0, 0.95);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-heart {
  font-size: 1.75rem;
  color: var(--primary);
  animation: pulse 2s infinite;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
  margin: 0;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--foreground);
  margin: 3px 0;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation */
.main-nav {
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.current {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.current::after {
  width: 100%;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: var(--gradient-hero);
}

.hero-content {
  text-align: center;
  max-width: 64rem;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  animation: scale-in 0.8s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--primary-foreground);
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--accent-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-glow);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  background: var(--accent);
  opacity: 0.9;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: var(--gradient-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.quote-card {
  background: var(--gradient-card);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.02);
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--foreground);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Service cards */
.service-card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  color: inherit;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.service-card p {
  color: var(--muted-foreground);
}

/* Footer */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--foreground);
}

.footer-logo h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-nav a:hover {
  color: var(--primary);
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slide-in-left {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in { animation: fade-in 0.6s ease-out; }
.animate-scale-in { animation: scale-in 0.8s ease-out; }
.animate-slide-in-left { animation: slide-in-left 0.5s ease-out; }
.animate-slide-in-right { animation: slide-in-right 0.5s ease-out; }

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    height: 60px;
    padding: 0 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .nav-menu a::after {
    display: none;
  }
  
  .logo h1 {
    font-size: 1.25rem;
  }
  
  .logo-heart {
    font-size: 1.5rem;
  }
  
  .hero {
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0 0.75rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* WordPress specific styles */
.wp-block-group {
  margin: 0;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}