/* ======================================
   ASIN CLICKS
   Tasin Ahmed Sarker
   Dark JDM Photography Portfolio
   ====================================== */

:root {
  --bg: #0b0c0d;
  --surface: #151718;
  --surface-light: #202324;
  --text: #f3f1eb;
  --muted: #a3a6a5;
  --accent: #e34b45;
  --border: #303334;
  --heading: Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* HEADER */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: rgba(11, 12, 13, 0.96);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.navbar nav a {
  color: #c4c5c2;
  font-size: 13px;
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: var(--accent);
}

/* HERO */

.hero {
  min-height: 550px;
  padding: 105px 7% 65px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    radial-gradient(
      ellipse at 85% 30%,
      rgba(227, 75, 69, 0.12),
      transparent 45%
    ),
    var(--bg);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
}

.hero h1,
.section-heading h2,
.manifesto h2,
.about-content h2,
.contact h2 {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero h1 {
  max-width: 1000px;
  margin-bottom: 25px;
  font-size: clamp(38px, 6vw, 76px);
}

.hero h1 span,
.section-heading h2 span,
.manifesto h2 span,
.about-content h2 span,
.contact h2 span {
  color: var(--accent);
}

.hero-description {
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: 0.25s ease;
}

.button:hover {
  background: #f05a53;
  border-color: #f05a53;
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  border-color: var(--border);
}

.button.secondary:hover {
  border-color: var(--accent);
}

.hero-caption {
  margin-top: 45px;
  padding-top: 17px;
  width: 100%;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* BRAND STRIP */

.ticker {
  padding: 17px 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.ticker span {
  padding: 0 12px;
  color: var(--accent);
}

/* SECTIONS */

.section {
  padding: 85px 6%;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 45px;
}

.section-heading h2,
.manifesto h2,
.about-content h2,
.contact h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.section-description {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.9;
}

/* VEHICLE MODEL INTRODUCTIONS */

.model-heading {
  margin: 65px 0 25px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.model-heading > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}

.model-heading h3 {
  margin: 7px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.model-heading p {
  max-width: 750px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* PHOTO GRID */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 45px;
}

.photo-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.photo-card > a {
  display: block;
  overflow: hidden;
  background: #1b1d1e;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.photo-info {
  padding: 18px;
}

.photo-info > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.photo-info h4 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.photo-info p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* MANIFESTO */

.manifesto {
  padding: 95px 7%;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      ellipse at center,
      rgba(227, 75, 69, 0.09),
      transparent 65%
    ),
    var(--surface);
}

.manifesto h2 {
  margin-bottom: 25px;
}

.manifesto > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.about-mark {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #25292a, #101112);
}

.about-mark span {
  color: var(--accent);
  font-size: clamp(100px, 15vw, 160px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -10px;
}

.about-mark p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 3px;
}

.about-content > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-content .signature {
  color: var(--text);
  font-weight: bold;
}

/* CONTACT */

.contact {
  text-align: center;
  background: #101213;
  border-top: 1px solid var(--border);
}

.contact > p:not(.eyebrow) {
  max-width: 600px;
  margin: 23px auto;
  color: var(--muted);
  line-height: 1.9;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.social-links a {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid #414445;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.25s ease;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* FOOTER */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 6%;
  border-top: 1px solid var(--border);
}

.footer p,
.footer > a:last-child {
  color: var(--muted);
  font-size: 11px;
}

.footer > a:last-child:hover {
  color: var(--accent);
}

/* TABLET */

@media (max-width: 900px) {
  .navbar {
    padding-right: 4%;
    padding-left: 4%;
  }

  .navbar nav {
    gap: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding-right: 5%;
    padding-left: 5%;
  }

  .about {
    gap: 30px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .navbar {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logo {
    font-size: 25px;
  }

  .navbar nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }

  .navbar nav a {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 75px 6% 45px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-caption {
    line-height: 2;
  }

  .ticker {
    line-height: 2.2;
  }

  .section {
    padding: 60px 5%;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .photo-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .model-heading {
    margin-top: 45px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-mark {
    min-height: 220px;
  }

  .social-links {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
  }
}