/* css/style.css */
/* (unchanged except for extra top margin on .card__button) */

:root {
  --site-width: 600px;
  --clr-bg: #0e0e0e;
  --clr-bg-alt: #171717;
  --clr-text: #f5f5f5;
  --clr-accent: #00c9ff;
  --radius: 10px;
  --gutter: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: var(--gutter);
  background: var(--clr-bg);
}

.section      { width: 100%; padding: 3rem 0; }
.section--alt { background: var(--clr-bg-alt); }

.section__title {
  position: relative;
  margin: 0 0 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
}
.section__title::after {
  content: attr(data-outline);
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 700;
  opacity: .04;
  pointer-events: none;
}

.hero {
  padding: 3rem 0 4rem;
  background: url("../img/hero-lighting.jpg") center/cover no-repeat;
}
.hero__overlay {
  background: rgba(0,0,0,.55);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.hero__title   { margin: 0 0 1rem; line-height: 1.15; font-size: clamp(2rem, 6vw, 3rem); }
.hero__tagline { margin-bottom: 2rem; font-size: 1.1rem; }

.trailer__frame,
.demo__frame {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px var(--clr-accent),
              0 15px 35px rgba(0,0,0,.6);
}
.trailer__frame iframe,
.demo__frame    iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.grid      { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: #1d1d1d; border-radius: var(--radius);
  overflow: hidden; text-align: center;
  box-shadow: 0 0 1rem rgba(0,0,0,.35);
  transition: transform .25s ease;
}
.card:hover     { transform: translateY(-6px); }
.card__title    { margin: 1rem 0 .5rem; font-size: 1.4rem; }
.card__text     { padding-inline: .5rem; margin-bottom: 1.25rem; }
.card__media    { width: 100%; height: auto; }

/* more space above the button */
.card__button {
  display: block;
  width: 80%;
  margin: 1.5rem auto 1rem;
  padding: 0.75rem 1rem;
  background: var(--clr-accent);
  color: var(--clr-bg);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}

.carousel-container { position: relative; }
.carousel {
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .5rem 0;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

#showcase-carousel img {
  flex: 0 0 auto; width: 300px;
  scroll-snap-align: center;
  border-radius: var(--radius);
  box-shadow: 0 0 1.25rem rgba(0,0,0,.45);
}

.carousel-arrow {
  --size: 2.25rem;
  position: absolute; top: 50%;
  width: var(--size); height: var(--size);
  transform: translateY(-50%);
  border: none; border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: var(--clr-text); font-size: 1.35rem;
  cursor: pointer; z-index: 5;
}
.carousel-arrow.left  { left:  .5rem; }
.carousel-arrow.right { right: .5rem; }

.showcase__subtitle {
  text-align: center; margin-bottom: 1rem;
  font-size: 1.05rem; color: var(--clr-accent);
}

.reviews-scroll { display: flex; gap: 1rem; overflow-x: auto; }

.review-card {
  flex: 0 0 240px;
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
  padding: 1rem;
  background: #1d1d1d;
  text-align: center;
  box-shadow: 0 0 .75rem rgba(0,0,0,.45);
}
.review__name   { margin: 0; font-size: 1rem; font-weight: 600; }
.review__text   { font-size: .95rem; line-height: 1.4; }

.footer {
  background: #000;
  padding: 2rem 0;
  text-align: center;
  font-size: .85rem;
  letter-spacing: .3px;
}
