/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
/* Saldrex - WordPress Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1e3a8a;
  --primary-dark: #1e40af;
  --bg-light: #dbeafe;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
}

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

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

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

.wp-header {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

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

.wp-nav a {
  margin-left: 30px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

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

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

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

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

.wp-main {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding: 40px 0;
}

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

.wp-hero {
  margin-bottom: 30px;
}

.wp-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
}

.wp-category {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.wp-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-gray);
}

.wp-author {
  font-weight: 600;
  color: var(--text-dark);
}

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

.wp-article p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

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

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

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

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

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

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

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

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

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

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

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

.wp-sidebar-item a {
  text-decoration: none;
  color: var(--text-dark);
  display: block;
  transition: color 0.3s;
}

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

.wp-sidebar-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.wp-sidebar-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

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

.wp-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

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

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

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

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

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

.wp-related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text-dark);
}

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

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

.wp-related-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 0;
}

.wp-related-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

.wp-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 50px 0 20px;
  margin-top: 80px;
}

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

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

.wp-footer p {
  color: #9ca3af;
  line-height: 1.7;
  font-size: 14px;
}

.wp-footer-links {
  list-style: none;
}

.wp-footer-links li {
  margin-bottom: 10px;
}

.wp-footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.wp-footer-links a:hover {
  color: var(--white);
}

.wp-footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}

.wp-disclaimer {
  background: #1f2937;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.6;
}

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

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

.wp-cookie-text {
  flex: 1;
  font-size: 14px;
  color: #9ca3af;
}

.wp-cookie-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 20px;
}

.wp-policy-page {
  padding: 40px 0;
}

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

.wp-policy-section {
  margin-bottom: 35px;
}

.wp-policy-section h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 15px;
}

.wp-policy-section p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.wp-policy-section ul {
  margin-left: 25px;
  margin-bottom: 15px;
}

.wp-policy-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.wp-success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.wp-success-content {
  max-width: 600px;
}

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

.wp-success-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.wp-success-text {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.7;
}

@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;
    gap: 15px;
  }
  
  .wp-cookie-btn {
    margin-left: 0;
    width: 100%;
  }
  
  .wp-nav {
    display: none;
  }
  
  .wp-title {
    font-size: 32px;
  }
  
  .wp-hero-img {
    height: 250px;
  }
}