/* ==============================
   OTHER SERVICES PAGE FIXED
   Luxury Black + Gold Design
============================== */

html {
  scroll-behavior: smooth;
}

body.other-services-page {
  background: #050505;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto !important;
}

/* Active nav link */

.navbar nav a.active {
  color: #d4af37;
}

/* ==============================
   HERO
============================== */

.other-hero {
  position: relative;
  min-height: 72vh;
  padding: 160px 7% 90px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;
  background: #000;
}

.other-hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.9)),
    url("../images/mercedes.jpg") center/cover no-repeat;

  transform: scale(1.05);
  animation: heroZoom 13s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.13);
  }
}

.other-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center, rgba(212,175,55,0.16), transparent 42%),
    linear-gradient(to bottom, transparent, #050505);
}

.other-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -120%;

  width: 48%;
  height: 180%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(212,175,55,0.25),
    rgba(255,255,255,0.16),
    transparent
  );

  transform: rotate(20deg);
  animation: goldSweep 5s ease-in-out infinite;
}

@keyframes goldSweep {
  0% {
    left: -120%;
  }

  55% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.other-hero-content {
  position: relative;
  z-index: 5;
  max-width: 850px;
  animation: fadeUp 1s ease forwards;
}

.hero-label {
  margin-bottom: 18px;

  color: #d4af37;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.other-hero-content h1 {
  margin-bottom: 22px;

  color: #ffffff;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;

  text-shadow:
    0 0 25px rgba(212,175,55,0.35),
    0 0 60px rgba(0,0,0,0.7);
}

.other-hero-content p {
  max-width: 720px;
  margin: 0 auto 35px;

  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  padding: 16px 34px;

  border-radius: 50px;
  background: linear-gradient(135deg, #9b7200, #d4af37, #fff0a6, #d4af37);
  color: #050505;

  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;

  transition: 0.35s ease;
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(212,175,55,0.55);
}

/* ==============================
   MAIN SECTION
============================== */

.other-section {
  position: relative;
  padding: 100px 7% 120px;

  background:
    radial-gradient(circle at top left, rgba(212,175,55,0.11), transparent 35%),
    radial-gradient(circle at bottom right, rgba(212,175,55,0.07), transparent 35%),
    #050505;
}

.other-container {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 42px;
  align-items: start;
}

/* ==============================
   LEFT CARD
============================== */

.service-info-card,
.service-form-card {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 30px;

  background:
    linear-gradient(145deg, rgba(18,18,18,0.98), rgba(5,5,5,0.98));

  box-shadow:
    0 0 50px rgba(0,0,0,0.72),
    inset 0 0 35px rgba(255,255,255,0.03);
}

.service-info-card {
  padding: 42px;
  position: sticky;
  top: 130px;
}

.service-info-card::before,
.service-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, #8a6500, #d4af37, #fff1a8, #d4af37);
}

.gold-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 9px 18px;

  border-radius: 30px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.42);

  color: #d4af37;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.service-info-card h2,
.service-form-card h2 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.service-info-card > p {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Mini Services */

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.mini-service {
  padding: 18px;

  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);

  transition: 0.35s ease;
}

.mini-service:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 0 24px rgba(212,175,55,0.13);
}

.mini-service h3 {
  margin-bottom: 8px;

  color: #d4af37;
  font-size: 16px;
}

.mini-service p {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.6;
}

/* ==============================
   FORM CARD
============================== */

.service-form-card {
  padding: 45px;
}

.form-subtitle {
  color: rgba(255,255,255,0.65);
  margin-bottom: 30px;
}

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

.input-group {
  margin-bottom: 22px;
}

.input-group label {
  display: block;
  margin-bottom: 9px;

  color: #d4af37;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 16px 18px;

  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.12);

  background: rgba(255,255,255,0.065);
  color: #ffffff;

  font-size: 15px;
  outline: none;

  transition: 0.35s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #d4af37;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 22px rgba(212,175,55,0.22);
}

.input-group select option {
  background: #111111;
  color: #ffffff;
}

.input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.service-submit-btn {
  position: relative;
  overflow: hidden;

  width: 100%;
  padding: 17px 28px;

  border: none;
  border-radius: 50px;

  background: linear-gradient(135deg, #9b7200, #d4af37, #fff0a6, #d4af37);
  color: #050505;

  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;

  cursor: pointer;
  transition: 0.35s ease;
}

.service-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.55),
    transparent
  );

  transform: skewX(-25deg);
  transition: 0.75s ease;
}

.service-submit-btn:hover::before {
  left: 130%;
}

.service-submit-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 28px rgba(212,175,55,0.55),
    0 0 65px rgba(212,175,55,0.22);
}

#msg {
  margin-top: 18px;
  color: #d4af37;
  font-weight: 900;
  text-align: center;
}

/* ==============================
   POPUP
============================== */

.mechanic-popup {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;
}

.mechanic-popup-box {
  width: 92%;
  max-width: 480px;

  padding: 38px 30px;

  border-radius: 24px;
  border: 1px solid rgba(212,175,55,0.45);

  background: linear-gradient(145deg, #111, #050505);
  text-align: center;

  box-shadow: 0 0 50px rgba(212,175,55,0.22);
  animation: popupScale 0.35s ease;
}

.mechanic-popup-box h2 {
  color: #d4af37;
  margin-bottom: 14px;
}

.mechanic-popup-box p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 18px;
}

.mechanic-popup-box button {
  padding: 14px 34px;

  border: none;
  border-radius: 40px;

  background: #d4af37;
  color: #050505;

  font-weight: 900;
  cursor: pointer;
}

/* ==============================
   ANIMATIONS
============================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popupScale {
  from {
    opacity: 0;
    transform: scale(0.86);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 1050px) {
  .other-container {
    grid-template-columns: 1fr;
  }

  .service-info-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 750px) {
  .other-hero {
    min-height: 62vh;
    padding: 145px 5% 70px;
  }

  .other-section {
    padding: 70px 5% 90px;
  }

  .service-info-card,
  .service-form-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

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

  .service-info-card h2,
  .service-form-card h2 {
    font-size: 28px;
  }

  .other-hero-content h1 {
    font-size: 42px;
  }

  .other-hero-content p {
    font-size: 15px;
  }
}