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

html, body {
  height: 100%;
  font-family: 'Oswald', sans-serif;
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  background: #000;
}

/* ==================== BLURRED BACKGROUND ==================== */
body {
  background: url("../images/background.jpg") center center / cover no-repeat fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.65);
  z-index: -1;
}

/* ==================== ANNOUNCEMENT BAR ==================== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #e5e5e5;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 10000;
}

/* ==================== NAVIGATION ==================== */
nav {
  position: sticky;
  top: 35px;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  padding: 15px 50px;
  background: transparent;
  pointer-events: auto;
  mix-blend-mode: normal; /* changed from difference */
}

nav ul.nav-links {
  display: flex;
  list-style: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav ul.nav-links li a {
  text-decoration: none;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #e5e5e5;
  opacity: 0.85;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.6);
  transition: opacity 0.3s, text-shadow 0.3s;
}

nav ul.nav-links li a:hover {
  opacity: 1;
}

/* MENU BUTTON */
.menu-btn {
  background: none;
  border: none;
  color: #e5e5e5;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ==================== MENU OVERLAY ==================== */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  z-index: 199;
  background: #000;
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

.menu-overlay.active {
  transform: translateX(0);
}

.menu-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 200px;
  gap: 50px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.menu-nav a {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.menu-nav a:hover {
  opacity: 1;
}

/* ==================== FULL PAGE SECTIONS ==================== */
.setup-section,
.gear-section {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: auto; /* ensure content is visible */
  padding-top: 120px;
  padding-bottom: 80px;
  overflow-y: visible;
}

/* ==================== SETUP VIDEO ==================== */
.setup-video {
  width: 100%;
  max-width: 500px;
}

.setup-video video {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* ==================== GEAR GRID ==================== */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ==================== GEAR CARD ==================== */
.gear-card {
  background: #000;
  border: 1px solid #222;
  padding: 24px;
  opacity: 1; /* visible by default */
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.gear-card img {
  width: 100%;
  display: block;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.gear-card:hover img {
  transform: scale(1.03);
}

/* PRODUCT TITLE */
.gear-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* DESCRIPTION */
.gear-card p {
  font-size: 0.85rem;
  color: #d0d0d0;
  margin-bottom: 14px;
}

/* STAR RATING */
.rating {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

/* BUY BUTTON */
.buy-btn {
  display: inline-block;
  padding: 10px 18px;
  background: white;
  color: black;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  border: 1px solid white;
  transition: all 0.2s ease;
}

.buy-btn:hover {
  background: black;
  color: white;
  border: 1px solid white;
}

/* SECTION TITLES */
.gear-section h2 {
  font-size: 1.8rem;
  letter-spacing: 0.25em;
  margin-bottom: 60px;
  color: #e5e5e5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.6);
  mix-blend-mode: normal; /* ensure visibility */
}

/* ==================== RESPONSIVE ==================== */
/* MOBILE */
@media screen and (max-width:768px) {
  nav {padding: 15px 20px;}
  .gear-section {padding: 100px 25px;}
  .gear-grid {gap: 28px;}
}

/* DESKTOP */
@media screen and (min-width:769px) {
  nav {padding: 25px 80px;}
  .gear-section {padding: 140px 80px;}
}

/* LANDSCAPE MOBILE */
@media screen and (orientation: landscape) and (max-width:1024px) {
  html {scroll-snap-type: none;}
  body {
    display: flex;
    flex-direction: row;
    height: 100vh;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }
  .announcement-bar {position: fixed; top: 0; left: 0;}
  nav {position: fixed; top: 35px; left: 0;}
  .setup-section,
  .gear-section {
    flex: 0 0 auto;
    height: calc(100vh-35px);
    width: auto;
    margin-top: 35px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    scroll-snap-align: start;
  }
  .setup-video video {
    height: 100vh;
    width: auto;
  }
  .menu-overlay {height: 100vh;}
}