/* =========================
   AV JUNKI WEBSITE STYLES
   ========================= */

:root {
  --black: #050505;
  --dark: #111111;
  --dark-card: #181818;
  --white: #ffffff;
  --off-white: #f4f4f4;
  --gray: #b9b9b9;
  --red: #e21b23;
  --red-dark: #b80f16;
  --border: rgba(255, 255, 255, 0.14);
  --max-width: 1240px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

img,
video {
  display: block;
  width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.section {
  padding: 110px 0;
}

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

.section-black {
  background: var(--black);
}

.section-light {
  background: var(--off-white);
  color: var(--black);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.about-grid h2,
.contact-grid h2,
.booking-content h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.section-heading p,
.contact-grid p,
.booking-content p {
  color: var(--gray);
  font-size: 1.04rem;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.red-text {
  color: var(--red);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.94);
  border-color: var(--border);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links .booking-link {
  background: var(--red);
  color: var(--white);
  padding: 13px 20px;
}

.nav-links .booking-link:hover {
  background: var(--red-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
}

/* Hero */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #dfdfdf;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}

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

.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-outline:hover {
  background: var(--white);
  color: var(--black);
}

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

.button-white:hover {
  transform: translateY(-2px);
  background: #ececec;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 320px;
  padding: 30px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
}

.service-number {
  color: var(--red);
  font-weight: 800;
  margin-bottom: auto;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 13px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.92rem;
}

/* Portfolio */

.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.filter-button {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 17px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-button:hover,
.filter-button.active {
  background: var(--red);
  border-color: var(--red);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-item.hidden {
  display: none;
}

.media-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101010;
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-item:hover .media-frame img {
  transform: scale(1.025);
}

.portfolio-info {
  padding-top: 16px;
}

.portfolio-info p {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.portfolio-info h3 {
  font-size: 1.25rem;
}

.audio-card {
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at center, rgba(226, 27, 35, 0.24), transparent 48%),
    #111111;
  text-align: center;
}

.audio-card span {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 8px 12px;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 800;
}

.audio-card audio {
  width: min(100%, 420px);
  margin-top: 18px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.about-copy p {
  font-size: 1.06rem;
  margin-bottom: 22px;
  color: #333333;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.stats div {
  border-top: 3px solid var(--red);
  padding-top: 16px;
}

.stats strong {
  display: block;
  font-size: 1.7rem;
}

.stats span {
  color: #555555;
  font-size: 0.85rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
  font-weight: 600;
}

.contact-details a:hover,
.social-links a:hover {
  color: var(--red);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--gray);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #dddddd;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: #181818;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--red);
}

.full-width {
  grid-column: 1 / -1;
}

/* Booking */

.booking-section {
  padding: 100px 0;
  background: var(--red);
  text-align: center;
}

.booking-content {
  max-width: 820px;
}

.booking-content .eyebrow,
.booking-content p {
  color: var(--white);
}

.booking-content p {
  margin-bottom: 28px;
}

/* Footer */

.site-footer {
  background: #000000;
  border-top: 1px solid var(--border);
}

.footer-content {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--gray);
  font-size: 0.86rem;
}

.footer-content a:hover {
  color: var(--white);
}

/* Responsive */

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    padding: 22px 4%;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
  }

  .nav-links .booking-link {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 90vh;
    background-position: center;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.68);
  }

  .portfolio-grid,
  .service-grid,
  .stats,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }

  .full-width {
    grid-column: auto;
  }

  .footer-content {
    padding: 25px 0;
    flex-direction: column;
    justify-content: center;
  }
}
