/* ===========================
   NOTAPEEBUCKET.com
   =========================== */

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

:root {
  --bg: #0c0e0f;
  --surface: #141719;
  --surface-2: #1c2025;
  --border: #252a2e;
  --border-light: #2e353b;
  --text: #e8ecf0;
  --text-muted: #6b7a88;
  --text-dim: #9aaab8;
  --accent: #e8ff00;
  --accent-dark: #c8df00;
  --river: #1c4060;
  --river-bright: #2d6a9f;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===========================
   Header
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.logo-dot {
  color: var(--accent);
}

.header-cta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(232, 255, 0, 0.5);
  padding: 7px 18px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.header-cta:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ===========================
   Hero
   =========================== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* gradient fallback when no photo is loaded */
  background: linear-gradient(160deg, #0a1e30 0%, #0d2a18 45%, #0c0e0f 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 15, 0.3) 0%,
    rgba(12, 14, 15, 0.2) 50%,
    rgba(12, 14, 15, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 32px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(232, 236, 240, 0.75);
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ===========================
   Shop section
   =========================== */

.shop {
  padding: 80px 0 100px;
}

.shop-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===========================
   Product Grid
   =========================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.product-img-wrap {
  background: #080a0b;
  padding: 48px 32px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  min-height: 180px;
}

.product-img-wrap img {
  max-width: 100%;
  width: 260px;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 4px 16px rgba(232, 255, 0, 0.08));
  transition: filter 0.2s;
}

.product-card:hover .product-img-wrap img {
  filter: drop-shadow(0 4px 24px rgba(232, 255, 0, 0.2));
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

.product-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  flex: 1;
  margin-top: 4px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.buy-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.buy-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.03);
}

/* ===========================
   Bucket Life section
   =========================== */

.bucket-life {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 100px;
}

.bucket-life-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-dim);
  margin-top: -28px;
  margin-bottom: 48px;
}

.bucket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* First photo spans full first row */
.bucket-photo--tall {
  grid-column: 1 / -1;
}

.bucket-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.bucket-photo--tall {
  aspect-ratio: 21/9;
}

.bucket-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
  opacity: 0.9;
}

.bucket-photo:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.bucket-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}

/* Placeholder style when image is missing */
.bucket-photo.photo-missing {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bucket-photo.photo-missing::before {
  content: 'Photo coming soon';
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bucket-photo.photo-missing img {
  display: none;
}

/* ===========================
   Info strip
   =========================== */

.info-strip {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 28px 32px;
  flex-wrap: wrap;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.info-icon {
  font-size: 1rem;
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  margin-top: auto;
  padding: 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--accent);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ===========================
   Responsive — tablet
   =========================== */

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bucket-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bucket-photo--tall {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 65vh;
  }
}

/* ===========================
   Responsive — mobile
   =========================== */

@media (max-width: 600px) {
  .header-inner {
    padding: 14px 20px;
  }

  .hero-content {
    padding: 48px 20px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .shop,
  .bucket-life {
    padding: 60px 0 80px;
  }

  .shop-inner,
  .bucket-life-inner {
    padding: 0 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .bucket-photo--tall {
    aspect-ratio: 16/9;
  }

  .info-strip {
    gap: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 4px;
  }
}
