/* ==========================================================================
   The Ultimate Raider Fan 32 — site stylesheet
   Single file. No build step. Drop into Cloudflare Pages as-is.
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --silver: #a5acaf;
  --dark: #111111;
  --gray: #f4f4f4;
  --text: #1a1a1a;
  --muted: #666;
  --sale: #c8102e;
  --border: #e5e5e5;
  --max-width: 1280px;
  --gutter: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 16px var(--gutter);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 16px;
}

.main-nav a {
  transition: opacity 0.15s;
}

.main-nav a:hover {
  opacity: 0.7;
}

.brand-logo {
  text-align: center;
}

.brand-logo img {
  height: 80px;
  margin: 0 auto;
}

.brand-logo-text {
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
}

.utility-nav {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  font-size: 15px;
}

.utility-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark) no-repeat;
  background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)), url('../images/hero.png');
  background-size: cover;
  background-position: center 20%;
  color: var(--white);
  text-align: center;
  padding: 80px var(--gutter);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 14px;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

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

.btn-light:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

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

/* ---------- Sections ---------- */
.section {
  padding: 80px var(--gutter);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ---------- Featured Products grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  border: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-card img {
  margin: 0 auto 24px;
  max-height: 320px;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: normal;
}

.price-new {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Gift card / promo block ---------- */
.promo-block {
  background: var(--dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 380px;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/giftcard-bg.png');
  background-size: cover;
  background-position: center;
}

.promo-text {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.promo-text p {
  margin-bottom: 28px;
  opacity: 0.9;
}

.promo-image {
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.promo-image img {
  max-width: 280px;
}

@media (max-width: 720px) {
  .promo-block { grid-template-columns: 1fr; }
  .promo-text { padding: 40px 24px; }
}

/* ---------- Gallery row ---------- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-row img { height: 220px; }
}

/* ---------- Help Our Cause / donations ---------- */
.cause-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 80px var(--gutter);
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/cause-bg.png');
  background-size: cover;
  background-position: center;
}

.cause-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cause-section p {
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.payment-icons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  opacity: 0.8;
}

.payment-icons img {
  height: 32px;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--gray);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.review-card {
  background: var(--white);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
}

.review-card .quote-mark {
  font-size: 2rem;
  color: var(--text);
  font-weight: 700;
}

.review-card blockquote {
  font-style: italic;
  font-size: 1.125rem;
  margin: 16px 0 24px;
  color: var(--text);
}

.review-card .reviewer {
  font-weight: 700;
  margin-bottom: 8px;
}

.review-card .stars {
  color: #d4a017;
  letter-spacing: 4px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--black);
  color: var(--white);
  padding: 60px var(--gutter);
}

.newsletter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.newsletter h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.newsletter p {
  opacity: 0.7;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  padding: 16px 24px;
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 1.5rem;
}

@media (max-width: 720px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1a1a;
  color: var(--white);
  padding: 48px var(--gutter) 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.15s;
}

.social-icons a:hover {
  background: rgba(255,255,255,0.2);
}

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* ---------- Generic page hero ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  background: var(--dark) center / cover no-repeat;
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)), url('../images/skyline.png');
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--gutter);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.95rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- About Us / generic content page ---------- */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 32px 0 16px;
}

.content-section p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ---------- Product detail page ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px var(--gutter);
}

.pdp-images img {
  width: 100%;
  border: 1px solid var(--border);
}

.pdp-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.pdp-price {
  font-size: 1.5rem;
  margin: 24px 0;
}

.pdp-options {
  margin: 24px 0;
}

.pdp-options-label {
  font-weight: 700;
  margin-bottom: 8px;
}

.size-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-grid label {
  display: inline-block;
  padding: 12px 20px;
  border: 2px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.size-grid input[type="radio"] {
  display: none;
}

.size-grid input[type="radio"]:checked + span {
  background: var(--black);
  color: var(--white);
  display: inline-block;
  margin: -12px -20px;
  padding: 12px 20px;
}

@media (max-width: 720px) {
  .pdp { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--black);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .header-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }
  .brand-logo {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .main-nav {
    grid-row: 2;
    font-size: 14px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .utility-nav {
    grid-row: 2;
    font-size: 13px;
    gap: 12px;
  }
}
