/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
/* Zermako - Mobilitate la orice vârstă */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --wp-primary: #1a2f4d;
  --wp-primary-dark: #0f1d2f;
  --wp-white: #ffffff;
  --wp-text: #2c3e50;
  --wp-text-light: #6c757d;
  --wp-border: #e0e6ed;
  --wp-bg-light: #f8f9fa;
  --wp-accent: #1a2f4d;
}

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

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--wp-text);
  line-height: 1.7;
  background: var(--wp-white);
}

.wp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wp-header {
  background: var(--wp-primary);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.wp-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--wp-white);
  text-decoration: none;
}

.wp-nav {
  display: flex;
  gap: 30px;
}

.wp-nav a {
  color: var(--wp-white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.wp-nav a:hover {
  opacity: 0.8;
}

.wp-breadcrumbs {
  padding: 15px 0;
  font-size: 14px;
  color: var(--wp-text-light);
}

.wp-breadcrumbs a {
  color: var(--wp-primary);
  text-decoration: none;
}

.wp-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--wp-primary);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s;
}

.wp-hero {
  position: relative;
  margin-bottom: 50px;
  background: var(--wp-primary);
  padding: 60px 0;
  text-align: center;
}

.wp-hero-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
}

.wp-main {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-bottom: 60px;
}

.wp-content {
  background: var(--wp-white);
}

.wp-article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--wp-text-light);
}

.wp-category {
  background: var(--wp-primary);
  color: var(--wp-white);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.wp-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--wp-text);
}

.wp-lead {
  font-size: 20px;
  color: var(--wp-text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.wp-article-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--wp-text);
}

.wp-article-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--wp-text);
}

.wp-article-content p {
  margin-bottom: 20px;
  font-size: 18px;
}

.wp-blockquote {
  border-left: 4px solid var(--wp-primary);
  padding: 20px 30px;
  margin: 30px 0;
  background: var(--wp-bg-light);
  font-style: italic;
  font-size: 20px;
}

.wp-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--wp-border);
}

.wp-tag {
  background: var(--wp-bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--wp-text);
  text-decoration: none;
  transition: background 0.3s;
}

.wp-tag:hover {
  background: var(--wp-primary);
  color: var(--wp-white);
}

.wp-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.wp-sidebar-block {
  background: var(--wp-white);
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.wp-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--wp-text);
}

.wp-sidebar-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--wp-border);
}

.wp-sidebar-item:last-child {
  border-bottom: none;
}

.wp-sidebar-item a {
  text-decoration: none;
  color: var(--wp-text);
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.wp-sidebar-item a:hover {
  color: var(--wp-primary);
}

.wp-sidebar-item-desc {
  font-size: 14px;
  color: var(--wp-text-light);
}

.wp-form {
  background: var(--wp-bg-light);
  padding: 25px;
  border-radius: 12px;
}

.wp-form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.wp-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--wp-border);
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 15px;
  font-family: 'Work Sans', sans-serif;
}

.wp-button {
  width: 100%;
  padding: 14px;
  background: var(--wp-primary);
  color: var(--wp-white);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Work Sans', sans-serif;
}

.wp-button:hover {
  background: var(--wp-primary-dark);
}

.wp-related {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--wp-border);
}

.wp-related-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.wp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.wp-related-item {
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wp-related-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.wp-related-item-content {
  padding: 20px;
}

.wp-related-item-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.wp-related-item a {
  color: var(--wp-text);
  text-decoration: none;
}

.wp-footer {
  background: var(--wp-primary);
  color: var(--wp-white);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.wp-footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.wp-footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.wp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wp-footer-links a {
  color: var(--wp-white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.wp-footer-links a:hover {
  opacity: 0.8;
}

.wp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

.wp-disclaimer {
  margin-top: 15px;
  font-size: 13px;
  opacity: 0.8;
}

.wp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wp-primary);
  color: var(--wp-white);
  padding: 20px;
  display: none;
  z-index: 9998;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.wp-cookie-banner.active {
  display: block;
}

.wp-cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.wp-policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.wp-policy-content h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--wp-text);
}

.wp-policy-content h2 {
  font-size: 28px;
  margin: 35px 0 20px;
  color: var(--wp-text);
}

.wp-policy-content h3 {
  font-size: 22px;
  margin: 25px 0 15px;
  color: var(--wp-text);
}

.wp-policy-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.wp-policy-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.wp-policy-content li {
  margin-bottom: 10px;
  font-size: 16px;
}

.wp-success-box {
  background: var(--wp-bg-light);
  border: 2px solid var(--wp-primary);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 50px auto;
}

.wp-success-icon {
  width: 80px;
  height: 80px;
  background: var(--wp-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--wp-white);
  font-size: 40px;
}

@media (max-width: 968px) {
  .wp-main {
    grid-template-columns: 1fr;
  }
  
  .wp-sidebar {
    position: static;
  }
  
  .wp-related-grid {
    grid-template-columns: 1fr;
  }
  
  .wp-footer-content {
    grid-template-columns: 1fr;
  }
  
  .wp-cookie-content {
    flex-direction: column;
  }
  
  .wp-nav {
    display: none;
  }
}
