/* Retro Style Overrides */

:root {
  /* Retro color palette */
  --primary-color: #ff5722;
  --secondary-color: #2c3e50;
  --tertiary-color: #3498db;
  --background-color: #f9f5f0;
  --text-color: #333;
  --light-gray: #e6e1d6;
  --medium-gray: #918c84;
  --dark-gray: #625f58;
  --white: #fff;
  --black: #222;
  --accent-color-1: #ffd54f;
  --accent-color-2: #e91e63;
  --accent-color-3: #4caf50;
  
  /* Retro typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Space Mono', monospace;
  
  /* Retro shadows */
  --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);
  
  /* Retro borders */
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
  --border-radius-lg: 8px;
}

/* Typography import from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

body {
  background-color: var(--background-color);
  font-family: var(--font-primary);
  color: var(--text-color);
  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='%23c2c0b8' 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");
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  position: relative;
  display: inline-block;
}

h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
}

h2 {
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  font-family: var(--font-secondary);
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

.btn-tertiary {
  background-color: transparent;
  border-color: var(--tertiary-color);
  color: var(--tertiary-color);
}

/* Header */
.header {
  background-color: var(--white);
  border-bottom: 2px solid var(--light-gray);
}

.logo {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-list li a {
  font-family: var(--font-secondary);
  font-weight: 400;
  letter-spacing: 1px;
  position: relative;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-list li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-color: var(--white);
  border-bottom: 2px solid var(--light-gray);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background-color: var(--accent-color-1);
  z-index: -1;
  border-radius: var(--border-radius-md);
}

/* Cards */
.service-card,
.why-us-card,
.blog-card,
.testimonial {
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.service-icon,
.why-us-icon {
  background-color: var(--light-gray);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--accent-color-1);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(100px, -150px);
  z-index: 0;
}

.about::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-color: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-100px, 100px);
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  left: -20px;
  bottom: -20px;
  background-color: var(--accent-color-2);
  opacity: 0.1;
  z-index: -1;
  border-radius: var(--border-radius-md);
}

.stat-number {
  font-family: var(--font-secondary);
  font-size: 3rem;
}

/* Blog Section */
.blog-card {
  overflow: hidden;
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::after {
  opacity: 0.1;
}

.read-more {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--primary-color);
}

/* Contact Section */
.subscription-form {
  border: 2px solid var(--light-gray);
  box-shadow: var(--shadow-md);
}

.subscription-form input {
  border: 2px solid var(--light-gray);
  transition: border-color 0.3s ease;
  font-family: var(--font-secondary);
}

.subscription-form input:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(150px, -150px);
}

.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-color: var(--tertiary-color);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-100px, 100px);
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-links-column h4 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-links-column h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
  border-top: 2px solid var(--light-gray);
  box-shadow: var(--shadow-lg);
}

.modal-content {
  border: 2px solid var(--light-gray);
  box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonial-author {
  border-top: 1px dashed var(--light-gray);
  padding-top: 1rem;
}

.author-avatar {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Thank You Page */
.thank-you-icon {
  background-color: var(--accent-color-3);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
}

/* Retro Decorative Elements */
.section-header {
  position: relative;
}

.section-header::before {
  content: "★";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.section-header::after {
  content: "★";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Retro Animation Effects */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero-image img {
  animation: pulse 4s infinite ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}
