* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;
  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(10, 10, 10, 0.95);

  backdrop-filter: blur(12px);

  z-index: 1000;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-size: 32px;

  font-weight: 800;

  color: #ff4d00;
}

.nav-links {
  display: flex;

  gap: 30px;
}

.nav-links a {
  text-decoration: none;

  color: white;

  font-weight: 500;

  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff4d00;
}

.search-box {
  display: flex;

  align-items: center;

  background: #151515;

  border-radius: 50px;

  overflow: hidden;
}

.search-box input {
  background: transparent;

  border: none;

  outline: none;

  color: white;

  width: 220px;

  padding: 12px 18px;
}

.search-box button {
  border: none;

  background: #ff4d00;

  color: white;

  padding: 12px 18px;

  cursor: pointer;
}

/* =========================
   ARTICLE HERO
========================= */

.article-hero {
  margin-top: 85px;

  height: 80vh;

  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.85)),
    url("bugatti-tourbillon.webp");

  background-size: cover;

  background-position: center;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 0 8%;
}

.hero-overlay {
  max-width: 900px;
}

.category {
  display: inline-block;

  background: #ff4d00;

  color: white;

  padding: 12px 24px;

  border-radius: 50px;

  margin-bottom: 25px;

  font-size: 14px;

  font-weight: 700;
}

.hero-overlay h1 {
  font-size: 70px;

  line-height: 1.1;

  margin-bottom: 25px;
}

.article-meta {
  display: flex;

  justify-content: center;

  gap: 15px;

  flex-wrap: wrap;

  color: #cbd5e1;
}

/* =========================
   ARTICLE LAYOUT
========================= */

.article-container {
  max-width: 1500px;

  margin: auto;

  padding: 100px 8%;

  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 50px;
}

/* =========================
   ARTICLE CONTENT
========================= */

.article-content {
  background: #111827;

  padding: 50px;

  border-radius: 30px;
}

.featured-image {
  width: 100%;

  height: 600px;

  object-fit: cover;

  border-radius: 20px;

  margin-bottom: 40px;
}

.article-image {
  width: 100%;

  height: 500px;

  object-fit: cover;

  border-radius: 20px;

  margin: 40px 0;
}

.article-content h2 {
  font-size: 42px;

  margin-top: 60px;

  margin-bottom: 25px;

  color: white;
}

.article-content p {
  font-size: 18px;

  line-height: 2;

  color: #d1d5db;

  margin-bottom: 25px;
}

.article-content ul {
  padding-left: 30px;

  margin-bottom: 30px;
}

.article-content li {
  color: #d1d5db;

  margin-bottom: 15px;

  line-height: 1.8;
}

/* =========================
   TABLE
========================= */

.article-content table {
  width: 100%;

  border-collapse: collapse;

  margin: 40px 0;

  overflow: hidden;

  border-radius: 15px;
}

.article-content th {
  background: #ff4d00;

  color: white;

  padding: 18px;
}

.article-content td {
  padding: 18px;

  background: #0f172a;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   QUOTE
========================= */

.quote-box {
  background: linear-gradient(135deg, #ff4d00, #ff7b39);

  padding: 50px;

  border-radius: 25px;

  margin: 50px 0;
}

.quote-box p {
  color: white;

  font-size: 26px;

  line-height: 1.8;

  font-weight: 600;

  margin: 0;
}

/* =========================
   SIDEBAR
========================= */

.article-sidebar {
  display: flex;

  flex-direction: column;

  gap: 30px;
}

.sidebar-box {
  background: #111827;

  padding: 30px;

  border-radius: 25px;
}

.sidebar-box h3 {
  margin-bottom: 25px;

  font-size: 24px;
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box li {
  margin-bottom: 18px;
}

.sidebar-box a {
  color: #cbd5e1;

  text-decoration: none;

  transition: 0.3s;
}

.sidebar-box a:hover {
  color: #ff4d00;
}

/* =========================
   COMMENTS SECTION
========================= */

.comments-section {
  max-width: 1000px;

  margin: auto;

  padding: 0 8% 100px;
}

.comments-section h2 {
  font-size: 42px;

  margin-bottom: 40px;

  text-align: center;
}

.comments-section form {
  background: #111827;

  padding: 50px;

  border-radius: 30px;

  display: flex;

  flex-direction: column;

  gap: 20px;
}

.comments-section input,
.comments-section textarea {
  width: 100%;

  background: #0f172a;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 15px;

  padding: 18px;

  color: white;

  outline: none;

  font-size: 15px;
}

.comments-section textarea {
  resize: vertical;

  min-height: 180px;
}

.comments-section button {
  border: none;

  background: #ff4d00;

  color: white;

  padding: 18px;

  border-radius: 15px;

  cursor: pointer;

  font-weight: 700;

  transition: 0.3s;
}

.comments-section button:hover {
  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(255, 77, 0, 0.3);
}

/* =========================
   NEWSLETTER
========================= */

.newsletter {
  padding: 100px 8%;

  background: #0d1117;
}

.newsletter h2 {
  text-align: center;

  font-size: 50px;

  margin-bottom: 15px;
}

.newsletter p {
  text-align: center;

  color: #94a3b8;

  margin-bottom: 35px;
}

.newsletter form {
  display: flex;

  justify-content: center;

  gap: 15px;

  flex-wrap: wrap;
}

.newsletter input {
  width: 450px;

  max-width: 100%;

  padding: 18px;

  border: none;

  outline: none;

  border-radius: 15px;

  font-size: 15px;
}

.newsletter button {
  border: none;

  background: #ff4d00;

  color: white;

  padding: 18px 35px;

  border-radius: 15px;

  cursor: pointer;

  font-weight: 700;

  transition: 0.3s;
}

.newsletter button:hover {
  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(255, 77, 0, 0.3);
}

/* =========================
   FOOTER
========================= */

footer {
  background: #050505;

  padding: 80px 8% 30px;
}

.footer-content {
  text-align: center;
}

.footer-content h2 {
  color: #ff4d00;

  font-size: 38px;

  margin-bottom: 15px;
}

.footer-content p {
  color: #94a3b8;
}

.footer-links {
  display: flex;

  justify-content: center;

  gap: 30px;

  flex-wrap: wrap;

  margin: 40px 0;
}

.footer-links a {
  text-decoration: none;

  color: #cbd5e1;

  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff4d00;
}

.footer-bottom {
  margin-top: 40px;

  padding-top: 25px;

  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #64748b;
}

/* =========================
   RESPONSIVE 1200px
========================= */

@media (max-width: 1200px) {
  .article-container {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    order: -1;
  }
}

/* =========================
   RESPONSIVE 1000px
========================= */

@media (max-width: 1000px) {
  .hero-overlay h1 {
    font-size: 55px;
  }

  .featured-image {
    height: 450px;
  }

  .article-image {
    height: 400px;
  }

  .article-content {
    padding: 35px;
  }
}

/* =========================
   RESPONSIVE 768px
========================= */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .search-box {
    display: none;
  }

  .article-hero {
    height: 70vh;
  }

  .hero-overlay h1 {
    font-size: 38px;
  }

  .article-meta {
    gap: 8px;

    font-size: 13px;
  }

  .article-content {
    padding: 25px;
  }

  .article-content h2 {
    font-size: 32px;
  }

  .article-content p {
    font-size: 16px;
  }

  .featured-image {
    height: 280px;
  }

  .article-image {
    height: 250px;
  }

  .quote-box {
    padding: 30px;
  }

  .quote-box p {
    font-size: 20px;
  }

  .comments-section form {
    padding: 30px;
  }

  .newsletter h2 {
    font-size: 34px;
  }
}

/* =========================
   RESPONSIVE 480px
========================= */

@media (max-width: 480px) {
  .logo {
    font-size: 26px;
  }

  .hero-overlay h1 {
    font-size: 30px;
  }

  .category {
    padding: 10px 18px;

    font-size: 12px;
  }

  .article-content h2 {
    font-size: 26px;
  }

  .article-content table {
    font-size: 13px;
  }

  .comments-section h2 {
    font-size: 32px;
  }

  .newsletter h2 {
    font-size: 28px;
  }
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box ul li {
  margin-bottom: 15px;
}

.sidebar-box ul li a {
  color: #cbd5e1;

  text-decoration: none;

  transition: all 0.3s ease;

  display: inline-block;
}

.sidebar-box ul li a:hover {
  color: #ff6b00;

  transform: translateX(8px);

  text-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}
