﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Noto+Sans+Telugu:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #0d0d0f;
  --panel: #171719;
  --panel-soft: #f6f6f4;
  --text: #111113;
  --muted: #6b6b72;
  --white: #ffffff;
  --red: #e11925;
  --yellow: #ffc400;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --max: 1160px;
}

.brand small,
.footer h3 + p {
  font-size: 0 !important;
}

.brand small::after,
.footer h3 + p::after {
  content: "తెలుగులో ఓనర్ రివ్యూస్, ఆటోమొబైల్ న్యూస్, రివ్యూస్ & కంపారిజన్స్";
  font-size: 12px;
  line-height: 1.35;
}

.footer h3 + p::after {
  font-size: 15px;
}

.site-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(8, 8, 10, 0.78);
  padding: 18px;
}

.search-overlay.open {
  display: grid;
  place-items: start center;
}

.search-panel {
  width: min(100%, 760px);
  margin-top: 56px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--bg);
}

.search-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  font-family: "Noto Sans Telugu", Inter, Arial, sans-serif;
  font-size: 17px;
}

.search-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.search-results {
  max-height: min(68vh, 620px);
  overflow: auto;
  padding: 12px;
}

.search-result {
  display: block;
  padding: 14px;
  border: 1px solid #ededf0;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff;
}

.search-result:hover {
  border-color: var(--red);
}

.search-result strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.search-result span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.search-result p {
  color: var(--muted);
  margin: 6px 0 0;
}

.search-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans Telugu", Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-width: 0;
}

.topbar {
  background: var(--bg);
  color: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: Inter, "Noto Sans Telugu", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: 74px;
  height: 52px;
  display: block;
  overflow: hidden;
  color: transparent;
  background: url("../images/autobuzztelugu-logo.svg") center/contain no-repeat;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.22);
}

.brand small {
  display: block;
  color: #cacad0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #f3f3f3;
  font-size: 15.5px;
  font-weight: 700;
  padding: 12px 13px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--red);
  color: var(--white);
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.78) 0%, rgba(7, 7, 8, 0.32) 48%, rgba(7, 7, 8, 0.18) 100%),
    url("../images/hero-auto-media.svg") center/cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.hero-inner {
  max-width: 820px;
  padding: 58px 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.62);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffe36a;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 15px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  margin-top: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
}

h3 {
  font-size: 21px;
}

.hero p {
  color: #ffffff;
  font-size: 20px;
  max-width: 690px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-weight: 800;
}

.btn.primary {
  background: var(--red);
  color: var(--white);
}

.btn.secondary {
  background: var(--yellow);
  color: var(--bg);
}

.btn.outline {
  border-color: var(--white);
  color: var(--white);
}

.section {
  padding: 70px 0;
}

.section.dark {
  background: var(--bg);
  color: var(--white);
}

.section.soft {
  background: var(--panel-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.feature-head {
  align-items: center;
  padding: 24px 0 8px;
  border-bottom: 3px solid #eeeeef;
}

.feature-head h2 {
  max-width: 620px;
  font-size: clamp(30px, 4.2vw, 48px);
}

.feature-head p {
  max-width: 470px;
  font-size: 18px;
  font-weight: 600;
}

.section-title-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.mini-action {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 14px;
  white-space: nowrap;
}

.feature-head .eyebrow {
  color: var(--red);
  text-shadow: none;
}

.feature-head .eyebrow::before {
  background: var(--yellow);
}

.soft .feature-head .eyebrow {
  color: var(--red);
  text-shadow: none;
}

.soft .feature-head .eyebrow::before {
  background: var(--yellow);
}

.section-head p {
  color: var(--muted);
  max-width: 580px;
  margin: 8px 0 0;
}

.dark .section-head p,
.dark .muted {
  color: #c9c9cf;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid #e8e8eb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.card-link {
  display: block;
  height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.dark .card {
  background: var(--panel);
  border-color: var(--line);
}

.card-media {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: end;
  padding: 16px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.66)),
    var(--image, url("../images/car-news-card.svg")) center/cover;
}

.card-media::after {
  content: none;
}

.tag {
  display: inline-flex;
  color: var(--bg);
  background: var(--yellow);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}

.card-body {
  padding: 18px;
}

.card-body p {
  color: var(--muted);
  margin: 10px 0 0;
}

.dark .card-body p {
  color: #d1d1d5;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dfdfe3;
  border: 1px solid #dfdfe3;
}

.feature-strip-section {
  padding: 36px 0 18px;
}

.home-content-section {
  padding-top: 20px;
}

.feature {
  background: var(--white);
  padding: 24px;
}

.feature strong {
  display: block;
  color: var(--red);
  font-size: 28px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  display: grid;
  gap: 12px;
}

.video-card h3 {
  font-size: 18px;
}

.sidebar-video {
  margin-bottom: 18px;
}

.sidebar-video h3 {
  margin-top: 10px;
  color: var(--text);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-content {
  background: var(--white);
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-content p {
  font-size: 18px;
  color: #333338;
}

.article-content h2 {
  margin-top: 34px;
}

.article-image {
  position: relative;
  margin: 28px 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7f7f7);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.article-gallery .article-image {
  margin: 0;
}

.article-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: none;
}

.article-image::after {
  content: none;
}

.article-image figcaption {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.article-image.missing-image {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 2px dashed #d7d7dc;
  border-radius: var(--radius);
  background: var(--panel-soft);
  padding: 20px;
}

.article-image.missing-image img {
  display: none;
}

.article-image.missing-image::before {
  content: attr(data-placeholder);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.article-note {
  background: var(--panel-soft);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 18px;
  margin: 24px 0;
}

.article-sidebar .contact-box,
.about-highlight {
  background: #101013;
  color: var(--white);
}

.article-sidebar .contact-box h3,
.about-highlight h3 {
  color: var(--white);
}

.article-sidebar .list li,
.about-highlight .list li {
  background: var(--white);
  color: var(--text);
  border-left-color: var(--red);
}

.about-section {
  padding-top: 52px;
}

.about-grid {
  align-items: start;
}

.about-grid p {
  line-height: 1.85;
}

.about-grid h2 + p,
.about-grid p + h2 {
  margin-top: 18px;
}

.about-highlight {
  align-self: start;
  padding: 24px;
}

.about-highlight h3 {
  margin-bottom: 16px;
}

.about-highlight .list {
  margin: 0;
}

.about-highlight .list li {
  margin-bottom: 10px;
  padding: 10px 12px;
  line-height: 1.55;
  font-weight: 800;
}

.spec-table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.spec-table th,
.spec-table td {
  border: 1px solid #e5e5e8;
  padding: 12px;
  text-align: left;
}

.spec-table th {
  background: var(--bg);
  color: var(--white);
}

.article-meta {
  color: var(--muted);
  font-weight: 700;
  margin-top: 12px;
}

.article-sidebar {
  background: var(--panel-soft);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 118px;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 13, 15, 0.78), rgba(13, 13, 15, 0.36)),
    url("../images/hero-auto-media.svg") center/cover;
  padding: 96px 0;
}

.page-hero p {
  max-width: 720px;
  color: #e9e9ee;
  font-size: 18px;
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 16px 18px;
  border-left: 5px solid var(--red);
  background: var(--panel-soft);
  border-radius: 6px;
}

.contact-box {
  background: var(--bg);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-box a {
  color: var(--yellow);
  font-weight: 800;
}

.footer {
  background: #070708;
  color: var(--white);
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer a {
  color: #dddddf;
}

.footer p {
  color: #bdbdc3;
  margin: 8px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.floating-youtube {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 28px);
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(225, 25, 37, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #aaaab0;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    min-height: 82px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    right: 0;
    display: flex;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 12px;
    background: #111114;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease;
  }

  .nav-links.open {
    max-height: 620px;
    opacity: 1;
    transform: translateY(0);
    padding: 12px;
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .grid.three,
  .grid.two,
  .video-grid,
  .feature-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 54px 0;
  }

  .brand {
    font-size: 18px;
    gap: 10px;
  }

  .brand-mark {
    width: 58px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 48px 0;
  }

  .feature-strip-section {
    padding: 24px 0 10px;
  }

  .home-content-section {
    padding-top: 14px;
  }

  .section-head {
    display: block;
  }

  .feature-head {
    padding-top: 8px;
  }

  .feature-head h2 {
    font-size: 30px;
  }

  .feature-head p {
    font-size: 16px;
  }

  .section-title-actions {
    align-items: flex-start;
  }

  .mini-action {
    width: auto;
  }

  .grid.three,
  .grid.two,
  .video-grid,
  .feature-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .actions .btn {
    width: 100%;
  }

  .floating-youtube {
    right: 10px;
    bottom: 10px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

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