/* ==========================================================================
   Lumora — Premium LED Sunset Lamp Storefront
   Color: Warm amber/sunset tones on dark background
   Fonts: Instrument Serif (display) + Satoshi (body)
   ========================================================================== */

:root {
  --bg-deep: #0d0b08;
  --bg-surface: #1a1611;
  --bg-card: #231e17;
  --bg-card-hover: #2d261d;

  --amber: #f5a623;
  --amber-light: #ffd077;
  --amber-glow: rgba(245, 166, 35, 0.15);
  --sunset-pink: #e8655a;
  --sunset-orange: #f08c3a;

  --text-primary: #faf5ef;
  --text-secondary: #b8a994;
  --text-muted: #7a6e62;

  --font-display: 'Instrument Serif', serif;
  --font-body: 'Satoshi', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--amber-light); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; }

/* --- Utility --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--sunset-orange) 100%);
  color: #0d0b08;
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.45);
  color: #0d0b08;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--text-muted);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
  background: var(--bg-card-hover);
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.2);
}
.btn-sm:hover {
  background: var(--amber);
  color: var(--bg-deep);
  border-color: var(--amber);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 11, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.08);
}

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

.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--amber);
  text-decoration: none;
}
.logo:hover { color: var(--amber-light); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text-primary); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.proof-stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 2px; }

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

/* WHY: radial glow behind hero product image for ambient effect */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(245, 166, 35, 0.25) 0%,
    rgba(240, 140, 58, 0.12) 35%,
    rgba(232, 101, 90, 0.06) 60%,
    transparent 80%
  );
  animation: pulse 6s ease-in-out infinite;
  z-index: 0;
}

.hero-product-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(245, 166, 35, 0.3));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* --- Features Strip --- */
.features-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 24px;
  border-top: 1px solid rgba(245, 166, 35, 0.08);
  border-bottom: 1px solid rgba(245, 166, 35, 0.08);
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.feature-icon { font-size: 1.3rem; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
}

/* --- Products Section --- */
.products-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.products-grid-sm {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(245, 166, 35, 0.06);
  transition: all var(--transition);
}
.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-card) 100%);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--bg-deep);
  border-radius: 100px;
}

/* Product card images — real photos, no distortion */
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition);
}
.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 24px;
}
.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.product-tagline {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.product-short {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
}

/* --- Product Detail Page --- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  align-items: start;
}

/* WHY: info column spans both rows so it stays beside image + thumbs */
.product-hero-info {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.product-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.product-main-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

/* Product gallery thumbnails */
.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  grid-column: 1;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-card);
  padding: 0;
  transition: border-color var(--transition);
}
.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--amber);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge-inline {
  display: inline-block;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber-glow);
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 100px;
  margin-bottom: 16px;
}

.product-hero-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.product-tagline-lg {
  font-size: 1.15rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 20px;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 1rem;
}

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.price-large {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
}
.price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-guarantees {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.product-guarantees span { display: flex; align-items: center; gap: 8px; }

.product-features {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.features-list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  border: 1px solid rgba(245, 166, 35, 0.06);
}
.features-list .check {
  color: var(--amber);
  font-weight: 700;
  font-size: 1.1rem;
}

.related-products {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Social Proof --- */
.social-proof {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(245, 166, 35, 0.06);
  transition: all var(--transition);
}
.review-card:hover {
  border-color: rgba(245, 166, 35, 0.12);
}

.review-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 166, 35, 0.04) 50%, transparent 100%);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* --- Thank You Page --- */
.thankyou-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
}

.thankyou-content {
  text-align: center;
  max-width: 560px;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--sunset-orange) 100%);
  color: var(--bg-deep);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.thankyou-content h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.thankyou-content > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.thankyou-details {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}
.thankyou-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.thankyou-details p:last-child { margin-bottom: 0; }

/* --- Legal Pages --- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--amber);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* --- 404 Page --- */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.error-page h1 {
  font-size: 8rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(245, 166, 35, 0.08);
  padding: 60px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 10px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid rgba(245, 166, 35, 0.06);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .features-strip {
    gap: 24px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    padding-top: 100px;
  }

  .product-hero-info {
    grid-column: 1;
    grid-row: auto;
  }

  .product-hero-image {
    min-height: 280px;
  }

  .product-main-img {
    min-height: 280px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }

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

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