:root {
  --yellow: #ffc700;
  --yellow-dark: #d7a500;
  --black: #050505;
  --coal: #111111;
  --gray: #595858;
  --white: #ffffff;
  --soft: #f4f4f0;
  --headline: "Bebas Neue", Impact, sans-serif;
  --body: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--body);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.nav a,
.yellow-button,
.bottom-actions a {
  font-family: var(--headline);
  letter-spacing: 0;
  text-transform: uppercase;
}

.yellow-button,
.signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--yellow);
  color: var(--black);
  background: var(--yellow);
  font-family: var(--headline);
  font-size: 22px;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px clamp(18px, 4vw, 54px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 16px;
}

.nav-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 34px;
  min-height: 84px;
  padding: 12px clamp(18px, 4vw, 54px);
}

.logo {
  display: grid;
  place-items: center;
  width: 138px;
  height: 76px;
  border: 3px solid var(--yellow);
  color: var(--yellow);
  text-align: center;
  transform: skew(-6deg);
}

.logo span {
  display: block;
  font-family: var(--headline);
  font-size: 30px;
  line-height: 0.86;
  text-transform: uppercase;
}

.logo strong {
  display: block;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav a {
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}

.nav a:hover,
.contact-strip a:hover,
.footer-info a:hover {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 42px;
  border: 2px solid var(--yellow);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  background: var(--yellow);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.7));
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 92px;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  text-align: center;
  transform: translateX(-50%);
}

.hero-copy h1 {
  font-size: clamp(82px, 13vw, 170px);
  line-height: 0.82;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
}

.hero-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 34px;
  color: var(--black);
  background: var(--yellow);
  font-family: var(--headline);
  font-size: 28px;
  text-transform: uppercase;
}

.hero-controls {
  position: absolute;
  right: 28px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-controls button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-controls button.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  min-height: 620px;
  background: var(--coal);
}

.feature-row.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-image {
  order: 1;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 8vw, 110px);
}

.feature-copy h1,
.gallery h1,
.reviews h1,
.newsletter h1,
.footer-info h1 {
  color: var(--yellow);
  font-size: clamp(52px, 7vw, 94px);
  line-height: 0.88;
}

.feature-copy h2 {
  margin-top: 12px;
  max-width: 700px;
  color: var(--white);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.92;
}

.feature-copy p {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.feature-copy .yellow-button {
  align-self: flex-start;
  margin-top: 30px;
}

.gallery,
.reviews,
.newsletter {
  padding: clamp(68px, 9vw, 116px) clamp(18px, 5vw, 72px);
  text-align: center;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-grid img:hover {
  filter: saturate(1.2);
  transform: scale(1.015);
}

.reviews {
  background: var(--soft);
}

.reviews h1 {
  color: var(--black);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.review-grid article {
  min-height: 280px;
  padding: 34px 28px;
  color: var(--black);
  background: var(--white);
  border-top: 8px solid var(--yellow);
  text-align: left;
}

.review-grid h2 {
  font-size: 32px;
  line-height: 0.95;
}

.review-grid h3 {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.35;
}

.review-grid p {
  margin-top: 18px;
  color: var(--gray);
  line-height: 1.65;
}

.newsletter {
  background:
    linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.76)),
    url("./assets/clean-bbq/takeout-close.jpg") center / cover;
}

.newsletter p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.signup {
  display: grid;
  grid-template-columns: minmax(240px, 440px) 150px;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.signup input {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: 600 15px var(--body);
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.signup button {
  cursor: pointer;
}

.footer-info {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr 1.2fr;
  gap: 1px;
  padding-bottom: 58px;
  background: rgba(255, 255, 255, 0.16);
}

.footer-info > div {
  min-height: 340px;
  padding: clamp(38px, 6vw, 68px);
  background: var(--black);
}

.footer-info p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.bottom-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--yellow);
}

.bottom-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: var(--black);
  border-right: 1px solid rgba(0, 0, 0, 0.24);
  font-size: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .contact-strip {
    display: none;
  }

  .nav-row {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 120px 34px 80px;
    background: rgba(0, 0, 0, 0.96);
    transform: translateX(100%);
    transition: transform 200ms ease;
  }

  .nav-open .nav {
    transform: translateX(0);
  }

  .nav a {
    font-size: 48px;
  }

  .feature-row,
  .feature-row.reverse,
  .footer-info {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-image {
    order: initial;
  }

  .feature-image {
    min-height: 420px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-row {
    min-height: 76px;
    padding: 10px 16px;
  }

  .logo {
    width: 118px;
    height: 64px;
  }

  .logo span {
    font-size: 25px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy h1 {
    font-size: clamp(68px, 22vw, 106px);
  }

  .feature-copy {
    padding: 48px 22px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .signup {
    grid-template-columns: 1fr;
  }

  .bottom-actions a {
    font-size: 21px;
  }
}
