/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #dd3d20;
  --color-black: #272526;
  --color-cream: #edede9;
  --color-white: #ffffff;
  --color-gray: #8c9ea2;
  --color-orange: #dd3d20;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-black);
  line-height: 1.6;
  background: var(--color-white);
}

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

/* Top Bar */
.top-bar {
  background: var(--color-black);
  color: var(--color-white);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-link {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.top-bar-link:hover {
  color: var(--color-primary);
}

.top-bar-link svg {
  width: 16px;
  height: 16px;
}

/* Header */
.header {
  background: var(--color-white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.dropdown {
  position: relative;
}

.arrow {
  font-size: 10px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  min-width: 200px;
  padding: 10px 0;
  margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
}

.dropdown-menu a:hover {
  background: var(--color-cream);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--color-black);
  display: block;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 400px;
}

.hero-text {
  padding: 60px 40px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  opacity: 0.95;
}

.hero-image {
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner */
.banner {
  background: var(--color-black);
  color: var(--color-white);
  padding: 30px 0;
  text-align: center;
}

.banner h2 {
  font-size: 32px;
  font-weight: 700;
}

/* Services Grid */
.services-grid {
  padding: 60px 0;
  background: var(--color-cream);
}

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

.service-card {
  background: var(--color-white);
  text-decoration: none;
  color: var(--color-black);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card-content {
  padding: 25px;
  flex-grow: 1;
}

.service-card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card-content p {
  color: var(--color-gray);
  font-size: 15px;
  line-height: 1.5;
}

.service-card-highlight {
  background: linear-gradient(135deg, var(--color-primary), #c43518);
  color: var(--color-white);
}

.service-card-highlight .service-card-content h3 {
  color: var(--color-white);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--color-white);
}

.cta-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}

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

.cta-item {
  text-align: center;
}

.cta-icon {
  width: 80px;
  height: 80px;
  color: var(--color-gray);
  margin: 0 auto 20px;
  display: block;
}

.cta-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-item p {
  color: var(--color-gray);
  margin-bottom: 20px;
  font-size: 15px;
}

.cta-btn {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
}

.cta-btn:hover {
  background: #c43518;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 60px 0 30px;
}

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

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

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

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

.footer-column a:hover {
  color: var(--color-primary);
  opacity: 1;
}

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

.footer-info {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-contact p {
  margin-bottom: 5px;
  font-size: 14px;
}

.footer-legal {
  font-size: 14px;
  opacity: 0.8;
}

.footer-legal a {
  color: var(--color-white);
  text-decoration: underline;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--color-primary), #c43518);
  color: var(--color-white);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.95;
}

/* Page Content */
.page-content {
  padding: 60px 0;
  background: var(--color-white);
}

/* Services List */
.services-list {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

.service-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 30px;
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.service-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 80px;
  height: 80px;
  color: var(--color-primary);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--color-black);
}

.service-content p {
  color: var(--color-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--color-gray);
}

.service-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Services CTA */
.services-cta {
  text-align: center;
  padding: 60px 40px;
  background: var(--color-cream);
  border-radius: 12px;
}

.services-cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.services-cta p {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.cta-btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Promo Cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.promo-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.promo-card-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 30px;
  text-align: center;
}

.promo-card-header h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.promo-price {
  font-size: 48px;
  font-weight: 700;
}

.promo-price-old {
  font-size: 24px;
  text-decoration: line-through;
  opacity: 0.7;
  margin-right: 10px;
}

.promo-card-body {
  padding: 30px;
}

.promo-card-body ul {
  list-style: none;
  margin: 20px 0;
}

.promo-card-body ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--color-gray);
}

.promo-card-body ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 18px;
}

.promo-card-footer {
  padding: 0 30px 30px;
}

.promo-card-footer .cta-btn {
  width: 100%;
  text-align: center;
}

/* Contact Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 40px 0;
}

.contact-info {
  padding: 40px;
  background: var(--color-cream);
  border-radius: 8px;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.info-content p {
  color: var(--color-gray);
}

.contact-form-wrapper {
  padding: 40px;
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.contact-form-wrapper h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.submit-btn {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 40px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background: #c43518;
  transform: translateY(-2px);
}

/* About Section */
.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-intro p {
  font-size: 18px;
  color: var(--color-gray);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background: var(--color-cream);
  border-radius: 8px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  color: var(--color-primary);
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--color-gray);
  line-height: 1.7;
}

.about-team {
  background: var(--color-cream);
  padding: 60px 40px;
  border-radius: 12px;
  margin: 60px 0;
}

.about-team h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.about-team p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-gray);
  line-height: 1.8;
  font-size: 17px;
}

/* Parts List */
.parts-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.parts-intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.parts-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.parts-category {
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 30px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.parts-category:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.parts-category h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--color-black);
}

.parts-category ul {
  list-style: none;
}

.parts-category ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--color-gray);
}

.parts-category ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Map Container */
.map-container {
  margin: 60px 0;
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--color-gray);
}

.map-placeholder svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

/* Success Message */
.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
}

.success-message.show {
  display: block;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    gap: 15px;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 10px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-image {
    min-height: 300px;
  }

  .banner h2 {
    font-size: 24px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-info {
    flex-direction: column;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-icon {
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .about-intro h2,
  .parts-intro h2 {
    font-size: 28px;
  }

  .services-cta h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text {
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 200px;
  }

  .page-header {
    padding: 60px 0 40px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }

  .promo-card-header h3 {
    font-size: 20px;
  }

  .promo-price {
    font-size: 36px;
  }
}
