/*
 * Bead Factory PH — styles.css
 * Design Concept: "Petal & Gold" — Artisanal Bead Jewelry, Philippines
 *
 * Palette derived from the brand logo: a close-up of a dusty-pink lily petal
 * with elegant white serif lettering. The pink petals (#C4887A warm rose-terra),
 * the olive-gold petal center (#B89868 antique gold), and the deep plum-noir
 * dark (#1A0E14) create a palette that is warm, feminine, and tactile — befitting
 * a handcrafted bead accessories brand.
 *
 * Fonts: Elsie (display, ornamental swash serif — artisanal / handcrafted energy)
 * + Jost (body, clean geometric humanist — readable & contemporary).
 * Both loaded via <link> in HTML. Never @import here.
 *
 * Sections:
 * 01. CSS Custom Properties (design tokens)
 * 02. CSS Reset & Base
 * 03. Typography
 * 04. Layout Utilities
 * 05. Buttons
 * 06. Navbar
 * 07. Hero (index)
 * 08. Page Hero (inner pages)
 * 09. Section Headings
 * 10. Homepage — Featured Products Grid
 * 11. Homepage — About Strip
 * 12. Homepage — Social Strip
 * 13. About Page
 * 14. Collections Page
 * 15. Gallery Page
 * 16. Contact Page
 * 17. Footer
 * 18. Fade-in Animation
 * 19. Scroll-to-top Button
 * 20. Lightbox
 * 21. Hamburger / Mobile Nav
 * 22. Responsive Breakpoints
 */

/* ============================================================
   01. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --dark:       #1A0E14;
  --bg-alt:     #251520;
  --accent:     #C4887A;
  --highlight:  #B89868;
  --cream:      #FAF3F0;
  --cream-dim:  rgba(250, 243, 240, 0.65);
  --accent-dim: rgba(196, 136, 122, 0.14);
  --border:     rgba(196, 136, 122, 0.22);
  --ff-display: 'Elsie', serif;
  --ff-body:    'Jost', sans-serif;

  --transition: 0.3s ease;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(26, 14, 20, 0.4);
  --shadow-sm:  0 2px 12px rgba(26, 14, 20, 0.3);
}

/* ============================================================
   02. CSS RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.15rem; }

p { font-size: 1rem; font-weight: 300; color: var(--cream-dim); }

.label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   04. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

.divider {
  width: 60px; height: 2px;
  background: var(--accent);
  margin: 20px auto;
  border-radius: 2px;
}

/* ============================================================
   05. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}
.btn-primary:hover { background: var(--highlight); }

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: var(--accent); color: var(--dark); }

/* ============================================================
   06. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--dark);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(26,14,20,0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  background: var(--accent);
  color: var(--dark) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--highlight) !important; }
.nav-cta::after { display: none !important; }

/* ============================================================
   07. HERO (INDEX)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 14, 20, 0.82) 0%,
    rgba(26, 14, 20, 0.55) 60%,
    rgba(26, 14, 20, 0.35) 100%
  );
}

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

.hero-content .label { margin-bottom: 16px; }

.hero-content h1 {
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   08. PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,14,20,0.92) 0%, rgba(26,14,20,0.5) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

.page-hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero-content .label { margin-bottom: 12px; }

/* ============================================================
   09. SECTION HEADINGS
   ============================================================ */
.section-header {
  margin-bottom: 64px;
}

.section-header.centered { text-align: center; }
.section-header.centered .divider { margin-inline: auto; }

.section-header p {
  margin-top: 16px;
  max-width: 560px;
}

.section-header.centered p { margin-inline: auto; }

/* ============================================================
   10. HOMEPAGE — FEATURED PRODUCTS GRID
   ============================================================ */
.featured-products { background: var(--bg-alt); }

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

.product-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-body {
  padding: 18px 20px;
}

.product-card-body h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--cream);
}

.product-card-body p {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.5;
}

.view-all-wrap {
  text-align: center;
  margin-top: 56px;
}

/* ============================================================
   11. HOMEPAGE — ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--dark);
}

.about-strip-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-strip-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-strip-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
}

.about-strip-text .label { margin-bottom: 14px; }
.about-strip-text h2 { margin-bottom: 20px; }
.about-strip-text p { margin-bottom: 18px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg { width: 16px; height: 16px; fill: var(--accent); }

.value-item p {
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* ============================================================
   12. HOMEPAGE — SOCIAL STRIP
   ============================================================ */
.social-strip {
  background: var(--bg-alt);
  text-align: center;
}

.social-proof {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0;
}

.proof-item { text-align: center; }
.proof-item strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
}
.proof-item span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  color: var(--cream-dim);
}

.social-icon-btn svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }
.social-icon-btn:hover { border-color: var(--accent); color: var(--cream); background: var(--accent-dim); }

/* ============================================================
   13. ABOUT PAGE
   ============================================================ */
.about-story { background: var(--dark); }

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.story-block:last-child { margin-bottom: 0; }

.story-block.reverse { direction: rtl; }
.story-block.reverse > * { direction: ltr; }

.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.story-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.story-text h3 { margin-bottom: 16px; }
.story-text p { margin-bottom: 14px; }

/* Timeline */
.timeline { background: var(--bg-alt); }

.timeline-track {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--dark);
}

.timeline-year {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; }

/* Team strip */
.about-team { background: var(--dark); }

.team-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card-body { padding: 24px 20px; }
.team-card-body h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card-body p { font-size: 0.82rem; }

/* ============================================================
   14. COLLECTIONS PAGE
   ============================================================ */
.collections-page { background: var(--dark); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 9px 22px;
  font-family: var(--ff-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: transparent;
  color: var(--cream-dim);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--accent); color: var(--cream); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--dark); }

/* Category sections */
.category-section { margin-bottom: 80px; }
.category-section:last-child { margin-bottom: 0; }

.category-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.category-header h3 { flex: 1; }
.category-header p { font-size: 0.85rem; max-width: 420px; }

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

.item-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.item-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.item-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.item-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-card:hover .item-card-img img { transform: scale(1.05); }

.item-card-body {
  padding: 18px 20px;
}

.item-card-body h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--cream);
}

.item-card-body p {
  font-size: 0.82rem;
  line-height: 1.5;
}

.item-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--accent);
}

/* ============================================================
   15. GALLERY PAGE
   ============================================================ */
.gallery-page { background: var(--dark); }

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,14,20,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  fill: var(--cream);
}

/* ============================================================
   16. CONTACT PAGE
   ============================================================ */
.contact-page { background: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; font-size: 0.92rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg { width: 16px; height: 16px; fill: var(--accent); }

.contact-detail-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  transition: color var(--transition);
}

.contact-detail-text a:hover { color: var(--accent); }

/* Contact Form */
.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--dark); }

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--accent);
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-section { background: var(--bg-alt); }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon svg { width: 12px; height: 12px; fill: var(--accent); transition: transform var(--transition); }

.faq-item.open .faq-icon { background: var(--accent); }
.faq-item.open .faq-icon svg { fill: var(--dark); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.footer-brand-logo span {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--cream);
}

.footer-brand p {
  font-size: 0.85rem;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.footer-social a svg { width: 16px; height: 16px; fill: var(--cream-dim); transition: fill var(--transition); }
.footer-social a:hover { border-color: var(--accent); background: var(--accent-dim); }
.footer-social a:hover svg { fill: var(--accent); }

.footer-col h5 {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--cream-dim);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

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

.footer-bottom p,
.footer-bottom span {
  font-size: 0.78rem;
  color: var(--cream-dim);
}

/* ============================================================
   18. FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   19. SCROLL-TO-TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
}

.scroll-top svg { width: 18px; height: 18px; fill: var(--dark); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--highlight); }

/* ============================================================
   20. LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,14,20,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }

/* ============================================================
   21. HAMBURGER / MOBILE NAV
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--cream-dim);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-nav .btn-primary {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

/* ============================================================
   22. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .items-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .story-block { grid-template-columns: 1fr; }
  .story-block.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-content h1 { font-size: 2.4rem; }
  .page-hero { height: 280px; }

  .social-proof { gap: 32px; }

  .lightbox-prev { left: -10px; }
  .lightbox-next { right: -10px; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .social-proof { flex-wrap: wrap; gap: 24px; }
}
