/* =========================
   GLOBAL
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b1220;

  color: white;

  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  height: 85px;

  padding: 0 8%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  background: rgba(11, 18, 32, 0.95);

  backdrop-filter: blur(12px);

  z-index: 999;
}

.logo {
  font-size: 32px;

  font-weight: 800;

  color: #ff5a0a;

  cursor: pointer;
}

.nav-links {
  display: flex;

  gap: 35px;
}

.nav-links a {
  text-decoration: none;

  color: white;

  font-weight: 500;

  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #ff5a0a;
}

.search-box {
  display: flex;

  align-items: center;

  background: #141b26;

  border-radius: 50px;

  overflow: hidden;
}

.search-box input {
  border: none;

  outline: none;

  background: transparent;

  color: white;

  padding: 12px 18px;

  width: 220px;
}

.search-box button {
  border: none;

  background: #ff5a0a;

  color: white;

  padding: 12px 18px;

  cursor: pointer;
}

/* =========================
   HERO
========================= */

.review-hero {
  min-height: 70vh;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 140px 8% 100px;

  background:
    linear-gradient(rgba(11, 18, 32, 0.85), rgba(11, 18, 32, 0.9)),
    url("Ferrari-F80-1-116732517.webp");

  background-size: cover;

  background-position: center;
}

.hero-content {
  max-width: 900px;
}

.hero-tag {
  display: inline-block;

  padding: 10px 22px;

  border-radius: 50px;

  background: rgba(255, 90, 10, 0.15);

  border: 1px solid rgba(255, 90, 10, 0.3);

  color: #ff5a0a;

  font-size: 14px;

  margin-bottom: 25px;
}

.hero-content h1 {
  font-size: 70px;

  line-height: 1.1;

  margin-bottom: 25px;
}

.hero-content p {
  color: #cbd5e1;

  font-size: 18px;

  line-height: 1.8;
}

/* =========================
   FEATURED REVIEW
========================= */

.featured-review {
  padding: 100px 8%;

  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: 40px;

  align-items: center;
}

.featured-image {
  overflow: hidden;

  border-radius: 30px;
}

.featured-image img {
  width: 100%;

  display: block;

  transition: 0.6s ease;
}

.featured-review:hover .featured-image img {
  transform: scale(1.05);
}

.featured-content span {
  color: #ff5a0a;

  font-weight: 600;

  letter-spacing: 2px;
}

.featured-content h2 {
  font-size: 48px;

  margin: 20px 0;
  color: white;

  transition: 0.3s ease;
}

.featured-review:hover .featured-content h2 {
  color: #ff6b00;
}

.featured-content p {
  color: #cbd5e1;

  line-height: 1.8;

  margin-bottom: 30px;
}

.featured-content a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  text-decoration: none;

  color: white;

  font-weight: 600;

  transition: 0.3s;
}

.featured-content a:hover {
  color: #ff5a0a;

  transform: translateX(6px);
}

/* =========================
   SECTION TITLE
========================= */

.section-title {
  text-align: center;

  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 48px;

  margin-bottom: 10px;
}

.section-title p {
  color: #94a3b8;
}

/* =========================
   REVIEWS SECTION
========================= */

.reviews-section {
  padding: 100px 8%;
}

.reviews-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 30px;
}

/* =========================
   REVIEW CARD
========================= */

.review-card {
  background: #141b26;

  border-radius: 30px;

  overflow: hidden;

  transition: all 0.4s ease;

  cursor: pointer;

  position: relative;
}

.review-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 0 30px rgba(255, 90, 10, 0.18);
}

.review-card img {
  width: 100%;

  height: 240px;

  object-fit: cover;

  transition: 0.6s ease;
}

.review-card:hover img {
  transform: scale(1.08);
}

.card-content {
  padding: 28px;
}

/* =========================
   BRAND TAG
========================= */

.card-content span {
  display: inline-block;

  color: #ff5a0a;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 1px;

  margin-bottom: 15px;
}

/* =========================
   REVIEW TITLE
========================= */

.card-content h3 {
  font-size: 24px;

  margin-bottom: 15px;

  transition: 0.3s ease;
}

.review-card:hover h3 {
  color: #ff5a0a;

  transform: translateX(5px);
}

/* =========================
   DESCRIPTION
========================= */

.card-content p {
  color: #cbd5e1;

  line-height: 1.8;

  margin-bottom: 25px;
}

/* =========================
   READ REVIEW
========================= */

.card-content a {
  text-decoration: none;

  color: white;

  font-weight: 600;

  transition: 0.3s ease;

  display: inline-flex;

  align-items: center;

  gap: 8px;
}

.review-card:hover .card-content a {
  color: #ff5a0a;

  transform: translateX(6px);
}

/* =========================
   TOP RATED
========================= */

.top-rated {
  padding: 100px 8%;

  background: #0f172a;
}

.rating-table {
  max-width: 900px;

  margin: auto;
}

.rating-row {
  background: #141b26;

  padding: 25px 30px;

  margin-bottom: 20px;

  border-radius: 20px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  transition: 0.4s ease;
}

.rating-row:hover {
  transform: translateX(10px);

  border-left: 5px solid #ff5a0a;
}

.rating-row span {
  font-size: 18px;
}

.rating-row strong {
  color: #ff5a0a;

  font-size: 20px;
}

/* =========================
   COMPARISON SECTION
========================= */

.comparison {
  padding: 100px 8%;
}

.comparison-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 25px;
}

.compare-card {
  background: #141b26;

  padding: 40px;

  border-radius: 25px;

  font-size: 20px;

  font-weight: 600;

  line-height: 1.6;

  cursor: pointer;

  transition: all 0.4s ease;
}

.compare-card:hover {
  transform: translateY(-10px) scale(1.02);

  color: #ff5a0a;

  box-shadow: 0 0 25px rgba(255, 90, 10, 0.2);
}

/* =========================
   NEWSLETTER
========================= */

.newsletter {
  padding: 100px 8%;

  text-align: center;

  background: #0f172a;
}

.newsletter h2 {
  font-size: 48px;

  margin-bottom: 20px;
}

.newsletter p {
  color: #cbd5e1;

  margin-bottom: 35px;
}

.newsletter form {
  display: flex;

  justify-content: center;

  gap: 15px;

  flex-wrap: wrap;
}

.newsletter input {
  width: 350px;

  max-width: 100%;

  padding: 16px 22px;

  border: none;

  outline: none;

  border-radius: 50px;

  background: #141b26;

  color: white;
}

.newsletter button {
  padding: 16px 35px;

  border: none;

  border-radius: 50px;

  background: #ff5a0a;

  color: white;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s ease;
}

.newsletter button:hover {
  transform: translateY(-4px);

  box-shadow: 0 0 25px rgba(255, 90, 10, 0.35);
}

/* =========================
   FOOTER
========================= */

footer {
  background: #050505;

  padding: 80px 8% 40px;

  text-align: center;
}

.footer-content h2 {
  color: #ff5a0a;

  font-size: 36px;

  margin-bottom: 15px;
}

.footer-content p {
  color: #94a3b8;

  max-width: 650px;

  margin: auto;

  line-height: 1.8;
}

.footer-links {
  margin: 40px 0;

  display: flex;

  justify-content: center;

  gap: 30px;

  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;

  color: white;

  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #ff5a0a;
}

.footer-bottom {
  color: #64748b;

  font-size: 14px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b1220;
}

::-webkit-scrollbar-thumb {
  background: #ff5a0a;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff7a3d;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .featured-review {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 54px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 5%;
  }

  .nav-links {
    display: none;
  }

  .search-box {
    display: none;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .featured-content h2 {
    font-size: 34px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .newsletter h2 {
    font-size: 36px;
  }

  .footer-links {
    gap: 20px;
  }
}
