@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #2563eb;
  --secondary-green: #16a34a;
  --accent-orange: #ea580c;
  --success-green: #22c55e;
  --warning-yellow: #eab308;
  --error-red: #dc2626;
  --neutral-900: #111827;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;
  --white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--white);
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }

/* Navigation */
.workshop-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.repair-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.repair-logo::before {
  content: "🔧";
  font-size: 1.25rem;
}

.main-navigation {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  text-decoration: none;
  color: var(--neutral-700);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.main-navigation a:hover {
  color: var(--primary-blue);
  background-color: var(--neutral-50);
}

.emergency-contact {
  background: var(--accent-orange);
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.emergency-contact:hover {
  background: #c2410c !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Hero Section */
.engine-hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
  color: white;
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.engine-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-main-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-repair-button {
  background: var(--accent-orange);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
}

.primary-repair-button:hover {
  background: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

.secondary-repair-button {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
}

.secondary-repair-button:hover {
  background: white;
  color: var(--primary-blue);
}

/* Section Styling */
.workshop-content-section {
  padding: 4rem 2rem;
}

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

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

.section-subtitle {
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--neutral-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Services Grid */
.services-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-repair-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-200);
}

.service-repair-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.service-icon-wrapper {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.service-description {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-pricing {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-green);
  margin-bottom: 1.5rem;
}

.service-action-button {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 44px;
}

.service-action-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Features Grid */
.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-highlight-card {
  text-align: center;
  padding: 2rem;
  background: var(--neutral-50);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-highlight-card:hover {
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-icon-circle {
  width: 4rem;
  height: 4rem;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

/* Testimonials */
.testimonials-showcase {
  background: var(--neutral-50);
}

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

.customer-testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-style: italic;
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--neutral-900);
}

.author-info p {
  color: var(--neutral-600);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-info-section {
  background: var(--primary-blue);
  color: white;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Forms */
.workshop-contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-input-group {
  margin-bottom: 1.5rem;
}

.form-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--neutral-900);
}

.form-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--neutral-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input-field:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-submit-button {
  background: var(--secondary-green);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  min-height: 44px;
}

.form-submit-button:hover {
  background: #15803d;
  transform: translateY(-1px);
}

/* Footer */
.workshop-footer {
  background: var(--neutral-900);
  color: white;
  padding: 3rem 2rem 2rem;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--neutral-400);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 500px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 10000;
  border: 1px solid var(--neutral-200);
}

.cookie-banner-content h4 {
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.cookie-banner-content p {
  color: var(--neutral-600);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cookie-banner-content p a {
  color: var(--primary-blue);
  text-decoration: none;
}

.cookie-banner-content p a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-accept-all {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.9rem;
}

.cookie-accept-all:hover {
  background: #1d4ed8;
}

.cookie-decline-all {
  background: transparent;
  color: var(--neutral-600);
  border: 2px solid var(--neutral-300);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.9rem;
}

.cookie-decline-all:hover {
  border-color: var(--neutral-400);
  color: var(--neutral-700);
}

.cookie-settings {
  background: transparent;
  color: var(--primary-blue);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: underline;
  font-size: 0.9rem;
}

.cookie-settings:hover {
  color: #1d4ed8;
}

.cookie-banner-hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .main-navigation.mobile-active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-main-title {
    font-size: 2rem;
  }
  
  .hero-action-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-repair-button,
  .secondary-repair-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-display-grid {
    grid-template-columns: 1fr;
  }
  
  .features-showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent-banner {
    left: 1rem;
    right: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-accept-all,
  .cookie-decline-all {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .workshop-content-section {
    padding: 2rem 1rem;
  }
  
  .engine-hero-section {
    padding: 6rem 1rem 3rem;
  }
  
  .hero-main-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .services-display-grid {
    grid-template-columns: 1fr;
  }
  
  .service-repair-card {
    padding: 1.5rem;
  }
}

/* Form validation styles */
.form-input-field:invalid {
  border-color: var(--error-red);
}

.form-input-field:valid {
  border-color: var(--success-green);
}

/* Loading states */
.button-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.button-loading::after {
  content: "...";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

/* Success message styles */
.form-success-message {
  background: var(--success-green);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

/* Page-specific styles */
.page-header {
  background: var(--neutral-50);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-header h1 {
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--neutral-600);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.content-wrapper h2 {
  color: var(--primary-blue);
  margin: 2rem 0 1rem;
}

.content-wrapper h3 {
  color: var(--neutral-800);
  margin: 1.5rem 0 0.75rem;
}

/* Team member cards */
.team-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.team-member-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-member-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
}

.team-member-name {
  color: var(--neutral-900);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member-bio {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* FAQ Styles */
.faq-accordion {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--neutral-50);
  border: none;
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--neutral-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--neutral-100);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer-content {
  padding: 1.5rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

/* Process Steps */
.process-steps-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: var(--primary-blue);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* Map styling */
.contact-map-container {
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-map-frame {
  width: 100%;
  height: 400px;
  border: none;
}

/* Thank you page styles */
.thank-you-container {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  width: 5rem;
  height: 5rem;
  background: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
}

.thank-you-container h1 {
  color: var(--success-green);
  margin-bottom: 1rem;
}

.thank-you-container p {
  color: var(--neutral-600);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.return-home-button {
  background: var(--primary-blue);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  min-height: 44px;
}

.return-home-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}