/* =====================================================
   EXOTIC CARS TECHNICIAN - PAGE SPECIFIC STYLES
   ===================================================== */

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--space-24);
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 5, 0.9) 0%,
    rgba(5, 5, 5, 0.6) 50%,
    rgba(5, 5, 5, 0.8) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-badge-line {
  width: 40px;
  height: 2px;
  background: var(--color-gold);
}

.hero-badge-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.hero-title span {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-style: italic;
  text-transform: none;
}

.hero-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 480px;
  line-height: var(--leading-relaxed);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}

/* PAGE HEADER (Internal Pages) */
.page-header {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--space-32);
  padding-bottom: var(--space-10);
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.7), var(--bg-primary));
  z-index: -1;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.page-header-subtitle {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.breadcrumb-link {
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.breadcrumb-link:hover {
  color: var(--color-gold);
}

.breadcrumb-separator {
  color: var(--color-gold);
}

.breadcrumb-current {
  color: var(--color-gold);
}

/* WHY CHOOSE US */
.why-card {
  text-align: center;
  padding: var(--space-10);
}

.why-card-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-style: italic;
  color: var(--color-gold);
  opacity: 0.3;
  margin-bottom: var(--space-4);
}

.why-card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.why-card-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* STATS SECTION */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color-light);
  border-bottom: 1px solid var(--border-color-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
  padding: var(--space-8);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none;
  }
}

/* CTA SECTION */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  z-index: -1;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.cta-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.cta-text {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-inline: auto;
}

/* CONTACT FORM SECTION */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
}

.contact-form-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-8);
}

/* CONTACT INFO */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border-color-light);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-1);
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--text-primary);
}

/* MAP */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border-color-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* =====================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ===================================================== */
.legal-content {
  max-width: 860px;
  margin-inline: auto;
  padding: var(--space-12) var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
}

.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-8);
}

.legal-intro {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-color-light);
  margin-bottom: var(--space-8);
}

.legal-intro p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.legal-section {
  margin-bottom: var(--space-10);
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  position: relative;
}

.legal-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-gold);
}

.legal-subheading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-section p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.legal-list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.7;
}

.legal-list li strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.legal-contact-box {
  margin-top: var(--space-4);
  padding: var(--space-6);
  background: rgba(201, 162, 39, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-lg);
}

.legal-contact-box p {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.legal-contact-box p:last-child {
  margin-bottom: 0;
}

.legal-contact-box a {
  color: var(--color-gold);
  transition: opacity var(--duration-fast);
}

.legal-contact-box a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-8) var(--space-5);
  }

  .legal-intro p {
    font-size: var(--text-base);
  }

  .legal-heading {
    font-size: var(--text-lg);
  }
}
