:root {
  --primary-color: #7B1818;
  --secondary-color: #003366;
  --accent-color: #E8C547;
  --dark-text: #222222;
  --light-text: #FFFFFF;
  --light-bg: #F7F7F7;
  --border-radius: 6px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 1rem 0;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--light-text);
}

.logo-text span {
  font-size: 0.9rem;
  color: var(--accent-color);
}

.nav-toggle {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--light-text);
  font-weight: 600;
  font-size: 1rem;
}

nav a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Hero Section */
.hero {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 4rem 0;
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.hero h2 {
  color: var(--light-text);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.license-plate {
  background-color: #FFFFFF;
  color: #000000;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
  display: inline-block;
  text-align: center;
  transform: rotate(-2deg);
}

.license-plate .state {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.license-plate .plate-number {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 3px;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-text);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #d7b53e;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--dark-text);
}

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

.btn-primary:hover {
  background-color: #6a1414;
  color: var(--light-text);
}

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

.btn-secondary:hover {
  background-color: #002a52;
  color: var(--light-text);
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  background-color: var(--accent-color);
}

.section-header p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: #666666;
}

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

.service-card {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 50px;
  height: 50px;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Process Section */
.process {
  padding: 4rem 0;
  background-color: #FFFFFF;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  position: relative;
  padding: 1.5rem;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-content {
  padding-left: 50px;
}

/* News Section */
.news {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-column {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.news-column h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.news-links {
  list-style: none;
}

.news-links li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #EEEEEE;
  padding-bottom: 1rem;
}

.news-links li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-links a {
  display: block;
  font-weight: 600;
  transition: all 0.3s;
  padding: 0.5rem;
  border-radius: var(--border-radius);
}

.news-links a:hover {
  background-color: var(--light-bg);
  padding-left: 1rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.contact h2 {
  color: var(--light-text);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info h3 {
  color: var(--light-text);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--accent-color);
}

.contact-hours {
  margin-top: 2rem;
}

.contact-hours h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.contact-form h3 {
  color: var(--light-text);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #DDD;
  border-radius: var(--border-radius);
  font-family: inherit;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.footer-links h3,
.footer-newsletter h3,
.footer-social h3 {
  color: var(--accent-color);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-text);
}

.footer-newsletter p {
  margin-bottom: 1rem;
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex-grow: 1;
  margin-right: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-text);
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  margin-bottom: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--light-text);
}

.footer-favicon {
  display: flex;
  align-items: center;
}

.footer-favicon img {
  width: 32px;
  height: 32px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-open {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav li {
    padding: 0.5rem 1.5rem;
  }
  
  .header-container {
    flex-wrap: wrap;
  }
  
  .services-grid,
  .steps,
  .news-grid,
  .contact-wrapper,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    margin-bottom: 1rem;
    justify-content: center;
  }
}
