/* ===============================
   GLOBAL RESET & VARIABLES
================================ */
:root {
  --black: #000;
  --gold: #e4d293;
  --text-dark: #000;
  --text-light: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #ffffff;
  color: var(--text-dark);
}


/* ===============================
   TOP BAR
================================ */
.top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.socials {
  display: flex;
  gap: 18px;
}

.contact-info {
  display: flex;
  gap: 40px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  white-space: nowrap;
}

.socials a {
  color: var(--gold);
  margin-right: 15px;
  font-size:16px;
}
.socials a:hover{
  color: #000000;
}
.icon-box {
  width: 46px;
  height: 46px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 10%, 90% 100%, 0% 90%);
  font-size: 18px;
  color: var(--black);
  transition: all 0.3s ease;
}

.icon-box:hover { color: #e5e7eb; }

.contact-item a {
  text-decoration: none;
  color: var(--black);
}

.contact-item:hover .icon-box {
  background: var(--black);
  color: var(--gold);
}

.contact-item a:hover { color: var(--gold); }

/* TOP BAR MOBILE/TABLET */
@media (max-width: 992px) {
  .top-bar { flex-wrap: wrap; padding: 10px 20px; gap: 10px; }
  .contact-info { gap: 20px; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .contact-item { font-size: 14px; gap: 8px; }
  .icon-box { width: 36px; height: 36px; font-size: 16px; }
  .socials { gap: 12px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .top-bar { flex-direction: column; align-items: flex-start; padding: 8px 15px; }
  .contact-info { flex-direction: column; align-items: flex-start; }
  .contact-item { font-size: 12px; gap: 6px; }
  .icon-box { width: 28px; height: 28px; font-size: 12px; }
  .socials { justify-content: flex-start; width: 100%; }
}

/* ===============================
   HEADER / NAV
================================ */
.header { background: #000; }

.nav {
  display: flex;
  align-items: center;
  height: 80px;
  padding-left: 30px;
}

.logo img { height: 45px; }

.nav-links { display: flex; gap: 40px; margin: auto; }
.nav-links a { color: var(--gold); text-decoration: none; font-size: 18px; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  height: 100%;
  background: var(--gold);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.nav-cta a { color: #000; font-weight: bold; text-decoration: none; }
.nav-cta:hover { background-color: #fff; }

/* ===============================
   BUTTONS
================================ */
.btn {
  background: var(--gold);
  padding: 12px 24px;
  border-radius: 6px;
  color: #000;
  text-decoration: none;
  transition: all 0.4s ease;
}

.btn:hover { background: #000; color: var(--gold); }

.btn.secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn.secondary:hover { background: var(--gold); }

.btn-services {
  padding: 18px 44px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 8px;
  background: var(--gold);
  color: #000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}
.btn-services:hover {
  background: #000;
  color: var(--gold);
  transform: translateY(-4px);
}

/* ===============================
   HERO
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url("https://firebasestorage.googleapis.com/v0/b/ataautoservices-0.firebasestorage.app/o/blob-a607d27.png?alt=media&token=3fc8e4f0-429a-46b6-b06a-3901068ef6a8");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.2));
}

.hero-center {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 55px;
  margin-bottom: 15px;
  color: var(--gold);
}

.hero p {
  color: var(--text-light);
  margin-bottom: 30px;
}

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

@media (max-width: 767px) {
  .hero {
    min-height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
  }
}


/* ===============================
   SERVICES
================================ */
.services-section {
  background-image: url("https://firebasestorage.googleapis.com/v0/b/ata-1-93055.firebasestorage.app/o/service.jpg?alt=media&token=293701b3-f6e6-4d05-82d8-ee8035e824ce");
  background-size: cover;
  background-position: center;
  padding-bottom: 120px;
}

.services-overlay {
  background: rgba(228, 210, 147, 0.9);
  padding: 100px 20px;
  text-align: center;
}

.services-header h2 {
  font-size: 50px;
  color: #000;
  
}
.service-card h3 {
  margin-bottom: 12px; /* adjust as needed */
}


.services-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: -80px auto 0;
  padding: 0 20px;
}

.services-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-top: 80px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.services-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(228,210,147,0.9), rgba(228,210,147,0));
  border-radius: 0 10px 10px 0;
}

.services-slider::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 260px;
  max-width: 280px;
  background: linear-gradient(145deg, #e4d293, #c9b15a);
  padding: 32px 22px;
  border-radius: 16px;
  text-align: center;
  color: #111;
  scroll-snap-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  position: relative;
  transform-style: preserve-3d;
  
  opacity: 1;
  transform: none;
  
  text-decoration: none;
}

.service-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-card:hover {
  transform: translateY(-14px) rotateX(4deg) rotateY(-4deg) scale(1.03);
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at top left, #fff, #e4d293);
  border-radius: 50%;
  margin: -90px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 6px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: var(--gold);
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
}

.slider-btn.left { left: -10px; }
.slider-btn.right { right: -10px; }

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

/* ===============================
   WHY CHOOSE US
================================ */
.why-choose-section {
  background: #fff;
  text-align: center;
  color: var(--gold);
  padding: 100px 20px;
}

.why-choose-header {
  margin-bottom: 70px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}
.why-choose-header.active {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-header h2 { font-size: 50px; color: var(--gold); }
.why-choose-header::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: var(--gold);
  margin: 14px auto 0;
}

.why-choose-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.choose-card {
  background: linear-gradient(145deg, #e4d293, #c9b15a);
  color: #000;
  padding: 44px 26px;
  border-radius: 18px;
  max-width: 320px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

.choose-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.choose-card:hover {
  transform: translateY(-16px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.choose-icon { font-size: 54px; margin-bottom: 22px; }


/* ===============================
   ABOUT
================================ */
.about-section {
  background: #fff;
  padding: 120px 20px;
}

.about-header {
  text-align: center;
  margin-bottom: 70px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}
.about-header.active {
  opacity: 1;
  transform: translateY(0);
}

.about-header h2 { font-size: 50px; color: var(--gold); }
.about-header span {
  width: 90px;
  height: 4px;
  background: var(--gold);
  display: block;
  margin: 14px auto 0;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 70px;
  align-items: center;
  flex-wrap: wrap;
}

.about-text,
.about-image {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.about-text.active,
.about-image.active {
  opacity: 1;
  transform: translateY(0);
}

.about-text h3 { font-size: 44px; color: var(--gold); margin-bottom: 24px; }
.about-text p { color: var(--text-dark); line-height: 1.8; margin-bottom: 22px; font-size: 16px; }
.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }


/* ===============================
   FAQ SECTION
================================ */

.faq-section {
  background: #fff;
  padding: 100px 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.faq-header.active {
  opacity: 1;
  transform: translateY(0);
}

.faq-header h2 {
  font-size: 50px;
  color: var(--gold);
}

.faq-header span {
  width: 90px;
  height: 4px;
  background: var(--gold);
  display: block;
  margin: 14px auto 0;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px;
  font-size: 18px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 16px;
}

.faq-answer p {
  margin: 16px 0;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* turns + into × */
}

/* ================= FAQ RESPONSIVE ================= */
@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 14px;
  }

  .faq-answer p {
    font-size: 15px;
    margin: 12px 0;
  }

  .faq-container {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .faq-question {
    font-size: 15px;
    padding: 12px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}


/* ===============================
   FOOTER
================================ */
.footer { background: #000; color: var(--gold); text-align: center; padding: 24px; }

/* ===============================
   REVIEWS
================================ */
.reviews-section {
  background: #ffffff;
  color: var(--gold);
  padding: 80px 20px;
  text-align: center;
  overscroll-behavior: contain;
}

.reviews-section .section-title { margin-bottom: 60px; }
.reviews-section .section-title h2 { font-size: 48px; color: var(--gold); }
.reviews-section .section-title span {
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 12px auto 0;
}

.reviews-section * { -webkit-tap-highlight-color: transparent; }

/* ===============================
   SEO content
================================ */
.seo-content::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 24px;
  border-radius: 2px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
  .hero h1 { font-size: 48px; }
  .services-header h2 { font-size: 40px; }
}

@media (max-width: 992px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .nav-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 14px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .slider-btn { display: none; }
  .choose-card { max-width: 90%; margin: 10px auto; }
  .nav { flex-direction: column; height: auto; padding: 10px; }
  .nav-cta { margin-top: 10px; clip-path: none; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 13px; }
  .btn-services { padding: 14px 30px; font-size: 16px; }
  .why-choose-header h2,
  .section-title h2 { font-size: 32px; }
  .choose-card { padding: 30px 15px; font-size: 14px; }
}
/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
  .hero h1 { font-size: 52px; }
}

@media (max-width: 992px) {
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 16px; }
  .nav-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 14px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .slider-btn { display: none; }
  .choose-card { max-width: 90%; margin: 10px auto; }
  .nav { flex-direction: column; height: auto; padding: 10px; }
  .nav-cta { margin-top: 10px; clip-path: none; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 13px; }
  .btn-services { padding: 14px 30px; font-size: 16px; }
  .why-choose-header h2,
  .section-title h2 { font-size: 34px; }
  .choose-card { padding: 32px 18px; font-size: 14px; }
}

/* ===============================
   REDUCED MOTION
================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}