/* Retro Style CSS for Auto-Wybór Website */

/* Import retro-inspired fonts */
@import url('https://fonts.googleapis.com/css2?family=Staatliches&family=Roboto+Slab:wght@400;700&family=DM+Serif+Display&display=swap');

/* Retro color palette overrides */
:root {
  /* Main retro colors */
  --retro-primary: #E8504B;     /* Vintage Red */
  --retro-secondary: #4A96D4;   /* Retro Blue */
  --retro-accent: #FFC857;      /* Mustard Yellow */
  --retro-dark: #2C363F;        /* Deep Navy */
  --retro-light: #F7EDE2;       /* Cream */
  --retro-tan: #D4B483;         /* Tan / Beige */
  --retro-teal: #3CB4A8;        /* Teal */
  --retro-brown: #8D6A58;       /* Coffee Brown */
  
  /* Apply retro colors */
  --primary-color: var(--retro-primary);
  --secondary-color: var(--retro-secondary);
  --accent-color: var(--retro-accent);
  --dark-color: var(--retro-dark);
  --light-color: var(--retro-light);
  
  /* Typography */
  --heading-font: 'DM Serif Display', serif;
  --body-font: 'Roboto Slab', serif;
  
  /* Shadows with retro feel */
  --shadow-sm: 2px 2px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 4px 4px 0 rgba(0, 0, 0, 0.1);
  --shadow-lg: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

/* General Style Adjustments */
body {
  background-color: var(--retro-light);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4b483' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  font-family: var(--body-font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Retro header and nav styles */
.site-header {
  border-bottom: 4px solid var(--retro-primary);
}

.main-nav a {
  font-family: 'Staatliches', cursive;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a:after {
  height: 3px;
}

/* Retro button styles */
.btn {
  border: 2px solid transparent;
  font-family: 'Staatliches', cursive;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--retro-primary);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--retro-secondary);
  border-color: var(--retro-secondary);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--retro-secondary);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero-banner {
  background-color: var(--retro-light);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: repeating-linear-gradient(
    -45deg,
    var(--retro-primary),
    var(--retro-primary) 10px,
    var(--retro-light) 10px,
    var(--retro-light) 20px
  );
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Services section */
.service-card {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--retro-primary);
}

/* Sections styling */
.section-header h2 {
  font-family: 'Staatliches', cursive;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--retro-dark);
}

.section-header h2:after {
  height: 4px;
  width: 80px;
  background-color: var(--retro-primary);
}

.about {
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: repeating-linear-gradient(
    45deg,
    var(--retro-secondary),
    var(--retro-secondary) 10px,
    var(--retro-light) 10px,
    var(--retro-light) 20px
  );
}

/* Stats elements */
.stat-number {
  font-family: 'Staatliches', cursive;
  font-size: 3rem;
  color: var(--retro-primary);
}

/* Feature cards */
.feature {
  background-color: white;
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.feature-icon {
  color: var(--retro-primary);
}

/* Testimonials */
.testimonial-card {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}

.testimonial-content::before,
.testimonial-content::after {
  content: """;
  font-family: var(--heading-font);
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  color: var(--retro-accent);
}

.testimonial-content::before {
  top: 1rem;
  left: 0;
}

.testimonial-content::after {
  content: """;
  bottom: 0;
  right: 0;
}

.testimonial-author h4 {
  color: var(--retro-primary);
}

/* Blog Cards */
.blog-card {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.blog-date {
  font-family: 'Staatliches', cursive;
  color: var(--retro-brown);
}

.blog-content h3 {
  color: var(--retro-dark);
}

/* Contact section */
.subscription-form {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.form-group input {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--retro-primary);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Cookie consent */
.cookie-consent {
  border-top: 3px solid var(--retro-primary);
  box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.05);
}

.cookie-settings-panel {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
}

/* Footer styling */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: repeating-linear-gradient(
    -45deg,
    var(--retro-primary),
    var(--retro-primary) 10px,
    var(--retro-dark) 10px,
    var(--retro-dark) 20px
  );
}

.footer-column h4:after {
  height: 3px;
  width: 40px;
}

/* Retro decorative elements */
.section-decoration {
  height: 20px;
  background: repeating-linear-gradient(
    45deg,
    var(--retro-primary),
    var(--retro-primary) 10px,
    var(--retro-light) 10px,
    var(--retro-light) 20px
  );
  margin: 2rem 0;
}

/* Thank you page */
.thank-you-content {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

/* Legal pages */
.legal-body {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

/* Blog article styling */
.article-content {
  font-family: var(--body-font);
  line-height: 1.8;
}

.article-tip {
  border-left: 4px solid var(--retro-accent);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.article-cta {
  border: 2px solid var(--retro-primary);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.article-tags .tag {
  font-family: 'Staatliches', cursive;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--retro-tan);
  color: var(--retro-dark);
  border-radius: 0;
}

.related-card {
  border: 2px solid var(--retro-tan);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

/* Finance table */
.finance-table {
  border: 2px solid var(--retro-tan);
}

.finance-table th {
  background-color: var(--retro-primary);
  color: white;
  font-family: 'Staatliches', cursive;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.finance-table tr:nth-child(even) {
  background-color: var(--retro-light);
}

/* Media queries adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .btn {
    font-size: 0.9rem;
  }
}
