/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1a1a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Design System Colors */
:root {
  --primary: #000000;          /* Black */
  --primary-hover: #333333;    /* Dark gray for hover */
  --secondary: #FFD700;        /* Yellow (golden) */
  --accent: #f97316;           /* You can keep this or change to another tone */
  --background: #1a1a1a;
  --foreground: #ffffff;
  --muted: #111111;
  --muted-foreground: #cccccc;
  --border: #e2e8f0;
  --shadow: 0 4px 20px -2px rgba(26, 26, 26, 0.1);
  --shadow-strong: 0 10px 40px -10px rgba(26, 26, 26, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: #FFD700;
  color: #000000;
}

.btn-primary:hover {
  background-color: #e6c200;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--foreground);
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  margin: 0 1rem;  
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.os {
  font-weight: 800;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.icon {
  font-size: 1.25em;
}

.icon.large {
  font-size: 3rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-logo {
  width: 150px;
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover {
  color: #FFD700;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #000;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #000;
  transition: var(--transition);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.nav-mobile.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link-mobile {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0.5rem;
  transition: var(--transition);
}

.nav-link-mobile:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #FFD700);
  background-image: url('assets/hero-abs-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #000000;
  text-align: center;
  margin-top: 50px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 215, 0, 0.65); /* Yellow overlay with opacity */
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 1rem;
}

.hero-title {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-quote {
  opacity: 0.7;
  font-size: 1.125rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--background);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #111111;
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--muted-foreground);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: #111111;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 3rem;
  text-align: center;
  padding: 2rem 2rem 1rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.service-description {
  padding: 0 2rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0 2rem 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.check {
  color: var(--accent);
}

.cta-box {
  background: var(--muted);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.cta-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Reviews Section */
.reviews {
  padding: 5rem 0;
  background: var(--background);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.review-card {
  background: #111111;
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-strong);
}

.review-card.highlight {
  border: 2px solid var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.quote-icon {
  font-size: 2rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.review-card.highlight .review-text {
  font-weight: 500;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author {
  font-weight: 500;
  color: var(--muted-foreground);
}

.stars {
  font-size: 1rem;
}

.rating-summary {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.rating-summary .stars {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.rating-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-left: 1rem;
}

.rating-description {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: #111111;
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.phone-number {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.phone-number:hover {
  color: var(--primary-hover);
}

.address {
  font-style: normal;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-description {
  color: var(--muted-foreground);
}

.hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  color: var(--foreground);
}

.hour-row span:last-child {
  font-weight: 500;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-placeholder {
  background: var(--muted);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.map-placeholder h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
  color: var(--foreground);
}

.map-placeholder p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.final-cta {
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.final-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.final-cta p {
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

.guarantee {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-main {
  grid-column: 1;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: white;
}

.footer-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: #FFD700;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-link:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .header-logo {
  width: 125px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .cta-box {
    padding: 2rem 1rem;
  }

  .final-cta {
    padding: 1.5rem;
  }

  .final-cta h3 {
    font-size: 1.5rem;
  }

  .header-logo {
  width: 100px;
  }

}

/* Modal Styles */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  transition: var(--transition);
}

.modal-content {
  background: #111111;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-strong);
  animation: slideDown 0.4s ease;
  color: #fff; /* make all text white by default */
}

@media (max-width: 480px) {
  .modal-content {
    margin: 25% auto;
  }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal h2 {
  margin-bottom: 1rem;
  color: #fff; /* white heading */
}

.modal p {
  margin-bottom: 1.5rem;
  color: #fff; /* white text */
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #444; /* subtle border for dark mode */
  font-size: 1rem;
  color: #000;
  background-color: #111; /* darker input background */
}

.modal textarea {
  resize: vertical;
  min-height: 100px;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #bbb; /* light grey close button */
  transition: var(--transition);
}

.close:hover {
  color: #fff;
}

.form-message {
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

/* OUR WORK SECTION (Dark Theme Compatible) */
.our-work {
  background-color: #1a1a1a;
  color: #fff;
  padding: 6rem 1rem;
  text-align: center;
}

.slideshow-container {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
}

.slide {
  display: none;
  animation: fade 1s ease-in-out;
}

.image-pair {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.image-pair img {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: var(--transition);
}

.before, .after {
  flex: 1;
  position: relative;
}

.label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.vehicle-caption {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 1rem;
  font-style: italic;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -25px;
  padding: 10px;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.8rem;
  transition: var(--transition);
  user-select: none;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  color: #fff;
}

.dots-container {
  text-align: center;
  margin-top: 1.5rem;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #333;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.4s ease;
}

.active, .dot:hover {
  background-color: var(--primary);
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Mobile */
@media (max-width: 768px) {
  .image-pair {
    flex-direction: column;
  }
}
