/* Reset + layout */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html {
  height: 100%;
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
}
html {
  scroll-behavior: smooth;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 1000;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
nav a.active { text-decoration: underline; }
nav a:hover { opacity: 0.8; }

.page-header {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 0 10px;
}

.logo-link {
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 1001;
}
.logo-link img {
  height: 35px;
  width: auto;
}

nav.mobile {
  left: auto !important;
  right: 20px !important;
  transform: unset !important;
}

/* ── Home ── */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #111 no-repeat center/cover;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.logo-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}
.hero-logo {
  width: min(50vw, 50vh);
  max-width: 500px;
}
.brand-tagline {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-top: 1.5em;
  opacity: 0.5;
  text-transform: uppercase;
}

/* ── Products ── */
.products-container {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #000;
}

.product {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  filter: grayscale(100%);
  transition: flex-basis 0.4s ease, filter 0.4s ease;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  transition: background 0.4s;
}

.product-content {
  position: relative;
  z-index: 2;
}

.product h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.3em;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
}
.product-status.available {
  background: rgba(80, 200, 120, 0.25);
  color: #5cdb6f;
}
.product-status.in-dev {
  background: rgba(255, 180, 50, 0.2);
  color: #f0b430;
}

.product ul {
  display: none;
  margin-top: 10px;
  padding-left: 1.25rem;
  white-space: nowrap;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Row layouts — matching Shift's angled clip-path style */
.product.row1 {
  height: 31dvh;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  background: url('assets/rally_action_1.webp') no-repeat center/cover;
}

.product.row2 {
  height: 33dvh;
  margin-top: -8vh;
  clip-path: polygon(0 25%, 100% 0, 100% 100%, 0% 75%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  background: url('assets/frs_action.webp') no-repeat center/cover;
}

.product.row3 {
  height: 33dvh;
  margin-top: -8vh;
  clip-path: polygon(0 0, 100% 25%, 100% 75%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  background: url('assets/rally_action_3.webp') no-repeat center/cover;
}

.product.row4 {
  height: 27dvh;
  margin-top: -8vh;
  clip-path: polygon(0 25%, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  background: url('assets/frs_garage.webp') no-repeat center/cover;
}

@media (hover: hover) and (pointer: fine) {
  .product:hover {
    flex-basis: 40%;
    filter: grayscale(0%);
  }
  .product:hover::before {
    background: rgba(0,0,0,0.25);
  }
  .product:hover ul {
    display: block;
  }
}

/* Mobile: always show bullet points */
.product.mobile ul {
  display: block !important;
}

/* ── Contact ── */
.contact-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #111 url('assets/rally_snow.webp') no-repeat center/cover;
}

.contact::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.contact-wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  overflow-y: visible;
}

.contact-info, .contact-form {
  background: rgba(0,0,0,0.6);
  padding: 20px 30px;
  border-radius: 10px;
  width: 364px;
  text-align: center;
}

.contact-info h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.contact-info p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.instagram-link {
  display: inline-block;
  margin-top: 15px;
  color: #ff4900;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.instagram-link:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form h2 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.contact-form input, .contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #d63f00;
  color: white;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #b83500;
}

.contact-wrapper.mobile {
  padding-top: 180px;
}

/* ── Photo Credit ── */
.photo-credit {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 6px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.3);
  z-index: 1000;
}
.photo-credit a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.photo-credit a:hover {
  color: rgba(255,255,255,0.8);
}
