@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap";
html {
  scroll-behavior: smooth;
}
.rover-details-page {
  color: #fff;
  background: #050b14;
  font-family: Poppins, sans-serif;
  overflow-x: hidden;
}
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}
.rover-hero {
  width: 100%;
  height: 82vh;
  position: relative;
  overflow: hidden;
}
.hero-image {
  object-fit: cover;
  image-rendering: auto;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-overlay {
  background: linear-gradient(
    90deg,
    #000000d1 20%,
    #0000008c 55%,
    #00000040 100%
  );
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  display: flex;
  position: absolute;
  inset: 0;
}
.hero-tag {
  color: #00d4ff;
  letter-spacing: 0.08em;
  background: #00d4ff1f;
  border: 1px solid #00d4ff4d;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}
.hero-customisable {
  color: #a7f3d0;
  letter-spacing: 0.08em;
  background: #10b98126;
  border: 1px solid #34d39980;
  border-radius: 999px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}
.hero-overlay h1 {
  color: #00d4ff;
  text-shadow: 0 0 25px #00d4ff33;
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
}
.hero-overlay p {
  color: #dbe4f0;
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.9;
}
.content-section {
  padding: 90px 0;
  position: relative;
}
.content-section:not(:last-child) {
  border-bottom: 1px solid #ffffff0d;
}
.content-section h2 {
  color: #00d4ff;
  text-align: center;
  margin-bottom: 32px;
  font-size: 2.7rem;
  font-weight: 700;
}
.details-text {
  color: #d1d5db;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 2;
}
.specifications-section {
  background: linear-gradient(#00d4ff08 0%, #ffffff03 100%);
}
.spec-table-wrapper {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffff08;
  border: 1px solid #00d4ff26;
  border-radius: 22px;
  margin-top: 30px;
  overflow: hidden;
}
.spec-table {
  border-collapse: collapse;
  width: 100%;
}
.spec-table tr {
  transition: background 0.25s;
}
.spec-table tr:hover {
  background: #00d4ff0f;
}
.spec-table td {
  border-bottom: 1px solid #ffffff0f;
  padding: 20px 24px;
}
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-label {
  color: #00d4ff;
  width: 38%;
  font-size: 0.98rem;
  font-weight: 600;
}
.spec-value {
  color: #e5e7eb;
  font-size: 0.98rem;
  line-height: 1.6;
}
.details-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 20px;
  display: grid;
}
.detail-card {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffff0a;
  border: 1px solid #00d4ff24;
  border-radius: 22px;
  padding: 30px;
  transition:
    transform 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
}
.detail-card:hover {
  border-color: #00d4ff59;
  transform: translateY(-8px);
  box-shadow: 0 16px 35px #00d4ff1f;
}
.detail-icon {
  color: #00d4ff;
  background: #00d4ff1f;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
}
.detail-card h3 {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.6;
}
.application-card {
  text-align: center;
}
.application-card h3 {
  color: #dbe4f0;
}
.application-card:hover h3 {
  color: #00d4ff;
}
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  display: grid;
}
.gallery-coming-soon {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 24px;
  color: #cbd5e1;
  text-align: center;
  background: linear-gradient(135deg, #00d4ff12, #0b1220);
  border: 1px dashed #00d4ff59;
  border-radius: 22px;
}
.gallery-coming-soon i {
  color: #00d4ff;
  font-size: 2rem;
}
.gallery-coming-soon p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.gallery-item {
  background: #0b1220;
  border: 1px solid #ffffff0f;
  border-radius: 22px;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px #00000059;
}
.gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 280px;
  transition: transform 0.5s;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.contact-section {
  padding-bottom: 110px;
}
.contact-box {
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, #00d4ff14, #2563eb0f);
  border: 1px solid #00d4ff2e;
  border-radius: 28px;
  padding: 60px 40px;
}
.contact-box h2 {
  margin-bottom: 18px;
}
.contact-box p {
  color: #d1d5db;
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.9;
}
.contact-btn {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #00d4ff, #2563eb);
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px #00d4ff47;
}
@media (max-width: 1200px) {
  .hero-overlay {
    padding: 60px;
  }
  .hero-overlay h1 {
    font-size: 3.8rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991px) {
  .rover-hero {
    height: 72vh;
  }
  .hero-overlay {
    padding: 50px 36px;
  }
  .hero-overlay h1 {
    font-size: 3rem;
  }
  .hero-overlay p {
    font-size: 1rem;
    line-height: 1.8;
  }
  .content-section {
    padding: 80px 0;
  }
  .content-section h2 {
    font-size: 2.3rem;
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .rover-hero {
    height: 62vh;
  }
  .hero-overlay {
    justify-content: flex-end;
    padding: 24px;
  }
  .hero-tag {
    margin-bottom: 14px;
    font-size: 0.75rem;
  }
  .hero-overlay h1 {
    margin-bottom: 14px;
    font-size: 2.3rem;
  }
  .hero-overlay p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .content-section {
    padding: 70px 0;
  }
  .content-section h2 {
    margin-bottom: 26px;
    font-size: 2rem;
  }
  .details-text {
    font-size: 0.98rem;
    line-height: 1.85;
  }
  .spec-table td {
    width: 100%;
    padding: 14px 18px;
    display: block;
  }
  .spec-label {
    padding-bottom: 6px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 240px;
  }
  .contact-box {
    padding: 42px 22px;
  }
}
@media (max-width: 480px) {
  .container {
    width: 92%;
  }
  .rover-hero {
    height: 55vh;
  }
  .hero-overlay h1 {
    font-size: 1.9rem;
  }
  .hero-overlay p {
    font-size: 0.9rem;
  }
  .content-section h2 {
    font-size: 1.75rem;
  }
  .detail-card {
    padding: 22px;
  }
  .gallery-item img {
    height: 220px;
  }
  .contact-btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-overlay {
    padding: 48px 6%;
  }

  .hero-overlay h1 {
    font-size: clamp(2.4rem, 9vw, 4rem);
  }

  .details-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 2rem);
  }

  .rover-hero {
    height: 70vh;
    min-height: 480px;
  }

  .hero-overlay {
    padding: 32px 1rem;
  }

  .hero-overlay h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-overlay p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .content-section {
    padding: 56px 0;
  }

  .content-section h2 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .details-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    padding: 22px;
  }

  .spec-table-wrapper {
    overflow-x: auto;
  }

  .spec-table {
    min-width: 520px;
  }
}
