/* ═══════════════════════════════════════════════════════
   DUFFLECRAFTCO — Premium Static Site CSS
   Aesthetic: Refined Luxury · Warm Neutrals · Editorial
═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────── */
:root {
  --primary: #0f172a;
  --accent: #c19a6b;
  --light: #f8f8f8;
  --white: #ffffff;
  --charcoal: #0f172a;
  --brown: #c19a6b;
  --brown-dark: #a67c52;
  --brown-light: #d4b08a;
  --cream: #f8f8f8;
  --cream-2: #f1f1f1;
  --sand: #e5e5e5;
  --grey: #555;
  --light-grey: #888;
  --text: #333;
  --text-light: #777;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  width: 100%;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  padding: 12px 16px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(193,154,107,0.15);
}
textarea { resize: vertical; }

/* ─── UTILITY ───────────────────────────────────────── */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 600; color: var(--charcoal); margin-top: 8px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
  background: rgba(193,154,107,0.12);
  padding: 4px 14px;
  border-radius: 100px;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--brown); color: var(--white); border-color: var(--brown); }
.btn-primary:hover { background: var(--brown-dark); border-color: var(--brown-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-light { background: var(--white); color: var(--brown); border-color: var(--white); }
.btn-light:hover { background: var(--cream); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-link { color: var(--brown); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; transition: color var(--transition); }
.btn-link:hover { color: var(--brown-dark); }
.cat-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  margin-bottom: 12px;
}

.cat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brown);
}
/* ─── ALERT / FLASH ─────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-hidden  { display: none; }

/* ─── PAGE TRANSITIONS ──────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,248,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow var(--transition);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.nav-logo > span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
}

.nav-logo .highlight {
  color: var(--brown);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--grey);
  transition: color var(--transition);
  position: relative;
  cursor: pointer;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brown);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all var(--transition); }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 72px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 50%; height: 100%;
  /* background: linear-gradient(135deg, var(--cream-2) 0%, var(--sand) 100%); */
}
.hero-content { padding: 80px 48px 80px 60px; max-width: 600px; position: relative; z-index: 1; }
.hero-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brown); margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 5.5rem); font-weight: 700; line-height: 1.05; color: var(--charcoal); margin-bottom: 20px; }
.hero-title em { color: var(--brown); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--grey); max-width: 420px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 80px 60px 80px 40px;
  min-height: 500px;
}

/* BIG IMAGE IN BACKGROUND */
.hero-bg-image {
  position: absolute;

  width: 580px;
  max-width: 95%;

  object-fit: contain;



  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.18));

  transform: rotate(-8deg);
}

/* EXPERIENCE CARD */
.hero-badge {
  position: absolute;

  left: 40px;
  bottom: 5px;

  z-index: 2;

  background: rgba(255,255,255,0.92);

  border: 1px solid rgba(255,255,255,0.5);

  backdrop-filter: blur(12px);

  border-radius: var(--radius-lg);

  padding: 32px 46px;

  text-align: center;

  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.badge-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 8px;
}
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span { display: block; width: 1px; height: 60px; background: linear-gradient(to bottom, var(--brown), transparent); margin: 0 auto; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.8); } 50% { opacity: 1; transform: scaleY(1); } }

/* ─── STATS BAR ─────────────────────────────────────── */
.stats-bar { background: var(--brown); padding: 36px 0; }
.stats-container { max-width: 1000px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-around; gap: 20px; }
.stat-item { text-align: center; }
.stat-item h3 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--cream); }
.stat-item p { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(248,248,248,0.65); margin-top: 4px; }
.stat-divider { width: 1px; height: 50px; background: rgba(248,248,248,0.2); }

/* ─── ABOUT ─────────────────────────────────────────── */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--charcoal); margin-bottom: 20px; line-height: 1.2; }
.about-text p { color: var(--grey); line-height: 1.8; margin-bottom: 16px; }
.about-text .btn { margin-top: 16px; }
.about-visual { position: relative; }
.about-img-wrap { position: relative; }
.about-img-placeholder { position: relative; height: 350px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sand); }
.craft-icon { width: 100%; height: 100%; margin: 0; }
.craft-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-float-card { position: absolute; bottom: -24px; right: -24px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); padding: 20px 24px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-md); }
.float-icon { font-size: 1.8rem; }
.about-float-card strong { display: block; font-size: 1rem; font-weight: 600; }
.about-float-card span { font-size: 0.82rem; color: var(--grey); }

/* ─── CATEGORIES ────────────────────────────────────── */
.categories { padding: 90px 0; background: white; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { background: var(--white); border: 1.5px solid var(--sand); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; transition: all var(--transition); display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.cat-card:hover { border-color: var(--brown); background: var(--brown); color: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-icon { font-size: 2.4rem; }
.cat-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--charcoal); transition: color var(--transition); }
.cat-card:hover h3 { color: var(--white); }
.cat-arrow { font-size: 1.2rem; opacity: 0; transform: translateX(-6px); transition: all var(--transition); }
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ─── PRODUCT CARDS ─────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sand); transition: all var(--transition); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--cream-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-overlay { position: absolute; inset: 0; background: rgba(44,36,32,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 20px; }
.product-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); }
.product-info h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 6px 0 8px; color: var(--charcoal); }
.product-info p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sand); }
.product-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--brown); }

/* ─── FEATURED SECTION ──────────────────────────────── */
.featured-section { padding: 90px 0; background: var(--white); }
.section-cta { text-align: center; margin-top: 48px; }

/* ─── WHY US ─────────────────────────────────────────── */
.why-us { padding: 90px 0; background: white; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); padding: 36px 28px; transition: all var(--transition); }
.feature-card:hover { border-color: var(--brown); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--grey); line-height: 1.7; }

/* ─── CTA BANNER ────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); padding: 80px 24px; text-align: center; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3rem); color: var(--cream); margin-bottom: 12px; }
.cta-banner p { color: rgba(248,248,248,0.75); margin-bottom: 32px; font-size: 1.05rem; }

/* ─── CONTACT SECTION ───────────────────────────────── */
.contact-strip { padding: 90px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h2 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--charcoal); margin-bottom: 16px; }
.contact-info > p { color: var(--grey); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item span { font-size: 1.4rem; }
.contact-item a, .contact-item span:last-child { color: var(--grey); font-size: 0.95rem; }
.contact-item a:hover { color: var(--brown); }
.ci-icon { font-size: 1.6rem; width: 44px; height: 44px; background: var(--cream-2); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item div { display: flex; flex-direction: column; }
.contact-item strong { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal); margin-bottom: 2px; }
.why-contact { margin-top: 36px; }
.why-contact h3 { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal); margin-bottom: 12px; }
.why-contact ul { display: flex; flex-direction: column; gap: 8px; }
.why-contact li { font-size: 0.9rem; color: var(--grey); }
.contact-form, .card-form { display: flex; flex-direction: column; gap: 16px; }
.card-form { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.card-form h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); letter-spacing: 0.04em; }
.form-note { font-size: 0.8rem; color: var(--light-grey); text-align: center; }

/* ─── PAGE HERO ─────────────────────────────────────── */
.page-hero {
  position: relative;

  padding: 160px 24px 100px;

  text-align: center;

  overflow: hidden;

  border-bottom: 1px solid var(--sand);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* BACKGROUND IMAGE */
.page-hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}

/* DARK OVERLAY */
.page-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(20, 15, 10, 0.55),
      rgba(20, 15, 10, 0.55)
    );

  z-index: 1;
}

/* CONTENT */
.page-hero-content {
  position: relative;
  z-index: 2;

  max-width: 700px;
}

.page-hero-content .section-tag {
  margin-bottom: 16px;

  color: #f3e7d0;
}

.page-hero h1 {
  font-family: var(--font-display);

  font-size: clamp(2.8rem, 5vw, 4.5rem);

  font-weight: 700;

  color: var(--white);

  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.08rem;

  color: rgba(255,255,255,0.85);

  max-width: 560px;

  margin: 0 auto;

  line-height: 1.7;
}

/* ─── PRODUCTS PAGE ─────────────────────────────────── */
.products-page { padding: 60px 0 90px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tab { padding: 8px 18px; border: 1.5px solid var(--sand); border-radius: 100px; font-size: 0.84rem; font-weight: 500; color: var(--grey); background: var(--white); transition: all var(--transition); cursor: pointer; }
.filter-tab:hover, .filter-tab.active { background: var(--brown); border-color: var(--brown); color: var(--white); }
.search-wrap { display: flex; gap: 0; }
.search-wrap input { width: 240px; border-radius: var(--radius) 0 0 var(--radius); border-right: none; padding: 10px 14px; }
.search-wrap button { background: var(--brown); border: 1.5px solid var(--brown); border-radius: 0 var(--radius) var(--radius) 0; padding: 10px 16px; color: white; transition: background var(--transition); }
.search-wrap button:hover { background: var(--brown-dark); }
.results-info { margin-bottom: 32px; }
.results-info p { font-size: 0.9rem; color: var(--grey); }
.category-section { margin-bottom: 64px; }
.category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--sand); }
.category-header h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--charcoal); }
.see-all { font-size: 0.85rem; font-weight: 600; color: var(--brown); cursor: pointer; }
.see-all:hover { color: var(--brown-dark); }

/* ─── CONTACT PAGE ──────────────────────────────────── */
.contact-page { padding: 70px 0 90px; }

/* ─── EMPTY STATE ───────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; color: var(--grey); }
.empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }

/* ─── FOOTER ────────────────────────────────────────── */
.footer { background: var(--charcoal); color: var(--sand); padding-top: 70px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; display: block; margin-bottom: 14px; color: var(--cream); cursor: pointer; }
.footer-logo span { color: var(--brown-light); }
.footer-brand p { font-size: 0.88rem; color: var(--light-grey); line-height: 1.7; }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-col li span { font-size: 0.88rem; color: var(--light-grey); transition: color var(--transition); cursor: pointer; }
.footer-col li a:hover, .footer-col li span:hover { color: var(--brown-light); }
.footer-col p { font-size: 0.88rem; color: var(--light-grey); line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(191,176,166,0.15); padding: 24px; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--light-grey); }

/* ─── REVEAL ANIMATIONS ─────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ─── LOADING SPINNER ───────────────────────────────── */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* IMAGE PREVIEW MODAL */
.image-modal{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  background:rgba(0,0,0,0.95);
  z-index:99999;

  justify-content:center;
  align-items:center;
}

.image-modal.active{
  display:flex;
}

.image-modal img{
  max-width:90%;
  max-height:90vh;
  object-fit:contain;
  border-radius:14px;
}

.close-modal{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:45px;
  font-weight:bold;
  cursor:pointer;
}
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox-backdrop.open {
  opacity: 1;
}
.lightbox-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  width: 92%;
  transform: scale(0.92);
  transition: transform 0.25s;
}
.lightbox-backdrop.open .lightbox-box {
  transform: scale(1);
}
.lightbox-box img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}
.lightbox-footer {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lightbox-close {
  border: 1px solid #ccc;
  background: transparent;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}
/* ═══════════════════════════════════════════════════════
   DUFFLECRAFTCO — Animation Enhancements
   Drop this AFTER your main stylesheet
   ═══════════════════════════════════════════════════════ */


/* ─── 1. SCROLL REVEAL ──────────────────────────────────
   Add data-reveal to any element.
   Optional: data-reveal-delay="100" (ms, multiples of 50-200)
   JS: See scroll-observer snippet at the bottom of this file
──────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.16,1,.3,1),
              transform 0.65s cubic-bezier(.16,1,.3,1);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
  opacity: 0;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children automatically with .stagger-children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(.16,1,.3,1),
              transform 0.55s cubic-bezier(.16,1,.3,1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms;   }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 80ms;  }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 400ms; }

.stagger-children.revealed > * {
  opacity: 1;
  transform: none;
}


/* ─── 2. PAGE TRANSITIONS ───────────────────────────────
   Existing .page / .page.active — enhanced with slide
──────────────────────────────────────────────────────── */
.page {
  display: none;
  animation: none;
}

.page.active {
  display: block;
  animation: pageSlideIn 0.42s cubic-bezier(.16,1,.3,1) forwards;
}

.page.leaving {
  animation: pageSlideOut 0.3s ease forwards;
  pointer-events: none;
}

@keyframes pageSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pageSlideOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-12px); }
}


/* ─── 3. NAVBAR — SCROLL SHADOW ────────────────────────
   JS adds .scrolled when window.scrollY > 20
──────────────────────────────────────────────────────── */
.navbar {
  transition: box-shadow 0.35s ease,
              background 0.35s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: rgba(248,248,248,1);
}

/* Nav link hover — smooth underline sweep */
.nav-links a::after {
  transition: width 0.3s cubic-bezier(.16,1,.3,1);
}


/* ─── 4. BUTTONS ────────────────────────────────────────
   Shimmer sweep on hover + clean lift
──────────────────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease,
              box-shadow 0.22s ease,
              background 0.22s ease,
              color 0.22s ease,
              border-color 0.22s ease;
}

/* Shimmer layer */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(110%) skewX(-15deg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(193,154,107,0.38);
}

.btn-outline:hover {
  transform: translateY(-2px);
}

/* Active / press feedback */
.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
  transition: transform 0.08s ease;
}


/* ─── 5. PRODUCT CARDS ──────────────────────────────────
   Lift on hover + colored top-border reveal
──────────────────────────────────────────────────────── */
.product-card {
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.35s ease,
              border-color 0.25s ease;
  position: relative;
}

/* Top accent bar */
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brown);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
  z-index: 1;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.13);
  border-color: var(--sand);
}


/* ─── 6. FEATURE CARDS ──────────────────────────────────
   Same lift treatment, icon bounce
──────────────────────────────────────────────────────── */
.feature-card {
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.35s ease,
              border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: var(--brown);
}

.feature-card:hover .feature-icon {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-8px); }
  65%  { transform: translateY(-3px); }
  85%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}


/* ─── 7. CATEGORY CARDS ─────────────────────────────────
   Pop + icon rotate
──────────────────────────────────────────────────────── */
.cat-card {
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.32s ease,
              background 0.28s ease,
              border-color 0.28s ease;
}

.cat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 40px rgba(193,154,107,0.25);
}

.cat-card:hover .cat-icon {
  animation: iconSpin 0.4s ease;
}

@keyframes iconSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(-12deg) scale(1.15); }
  100% { transform: rotate(0deg) scale(1); }
}


/* ─── 8. IMAGE ZOOM (product thumbnails) ────────────────
   Smoother zoom + overlay fade
──────────────────────────────────────────────────────── */
/* .product-img img {
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

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

.product-overlay {
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
} */


/* ─── 9. FILTER TABS ────────────────────────────────────
   Smooth active indicator
──────────────────────────────────────────────────────── */
.filter-tab {
  transition: background 0.22s ease,
              color 0.22s ease,
              border-color 0.22s ease,
              transform 0.18s ease;
}

.filter-tab:hover {
  transform: translateY(-1px);
}

.filter-tab:active {
  transform: scale(0.97);
}


/* ─── 10. FORM INPUTS ───────────────────────────────────
   Scale + glow on focus
──────────────────────────────────────────────────────── */
input, textarea, select {
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  transform: scale(1.012);
  box-shadow: 0 0 0 3px rgba(193,154,107,0.18);
}

/* Form group label — slide up on parent focus-within */
.form-group {
  position: relative;
}


/* ─── 11. STAT NUMBERS ──────────────────────────────────
   Counting animation via JS (see snippet below)
   Target: elements with data-count="4200"
──────────────────────────────────────────────────────── */
.stat-item h3 {
  transition: color 0.3s ease;
}

.stat-item:hover h3 {
  color: rgba(248,248,248,0.75);
}


/* ─── 12. HERO ELEMENTS ─────────────────────────────────
   Entrance animations on load
──────────────────────────────────────────────────────── */
.hero-tag {
  animation: fadeUp 0.7s 0.1s cubic-bezier(.16,1,.3,1) both;
}

.hero-title {
  animation: fadeUp 0.7s 0.22s cubic-bezier(.16,1,.3,1) both;
}

.hero-sub {
  animation: fadeUp 0.7s 0.36s cubic-bezier(.16,1,.3,1) both;
}

.hero-actions {
  animation: fadeUp 0.7s 0.5s cubic-bezier(.16,1,.3,1) both;
}

.hero-visual {
  animation: fadeLeft 0.9s 0.2s cubic-bezier(.16,1,.3,1) both;
}

.hero-badge {
  animation: popIn 0.6s 0.7s cubic-bezier(.16,1,.3,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.88) translateY(10px); }
  to   { opacity: 1; transform: none; }
}


/* ─── 13. ABOUT FLOAT CARD ──────────────────────────────
   Subtle float animation (always on)
──────────────────────────────────────────────────────── */
.about-float-card {
  animation: floatCard 4s ease-in-out infinite;
}

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


/* ─── 14. FOOTER LINKS ──────────────────────────────────
   Color sweep on hover
──────────────────────────────────────────────────────── */
.footer-col li a,
.footer-col li span {
  transition: color 0.22s ease,
              padding-left 0.22s ease;
}

.footer-col li a:hover,
.footer-col li span:hover {
  color: var(--brown-light);
  padding-left: 4px;
}


/* ─── 15. LIGHTBOX ──────────────────────────────────────
   Smooth open/close
──────────────────────────────────────────────────────── */
.lightbox-backdrop {
  transition: opacity 0.28s ease;
}

.lightbox-box {
  transition: transform 0.32s cubic-bezier(.16,1,.3,1),
              opacity 0.28s ease;
}

.lightbox-backdrop.open .lightbox-box {
  transform: scale(1);
}


/* ─── 16. SCROLL-TO-TOP BUTTON ──────────────────────────
   Add <button class="scroll-top" onclick="window.scrollTo({top:0,behavior:'smooth'})">↑</button>
   near the footer
──────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(193,154,107,0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 500;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}
/* Angle thumbnail strip */
.angle-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #f5f2ee;
  border-top: 1px solid rgba(0,0,0,.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.angle-thumbs::-webkit-scrollbar { display: none; }

.angle-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.55;
  transition: border-color .15s, opacity .15s;
}
.angle-thumb.active {
  border-color: #D85A30;   /* match your brand accent */
  opacity: 1;
}
.angle-thumb:hover { opacity: 0.85; }

.angle-label {
  font-size: 11px;
  color: #888;
  padding: 2px 8px 6px;
}

/* Smooth main image swap */
.product-main-img {
  transition: opacity .15s ease;
}
/* ─── CONTACT FORM (scoped) ─────────────────────────── */
.dc-form-wrap {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.dc-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 6px;
}
.dc-form-wrap .dc-sub {
  font-size: 0.88rem;
  color: var(--light-grey);
  margin: 0 0 28px;
}
.dc-form-wrap .form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}
.dc-form-wrap .dc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dc-form-wrap button[type="submit"] {
  width: 100%;
  padding: 13px 28px;
  background: var(--brown);
  color: var(--white);
  border: 2px solid var(--brown);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), transform 0.22s ease, box-shadow 0.22s ease;
  margin-top: 6px;
}
.dc-form-wrap button[type="submit"]:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(193,154,107,0.38);
}
.dc-form-wrap .dc-note {
  font-size: 0.8rem;
  color: var(--light-grey);
  text-align: center;
  margin-top: 10px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;  /* reduced from 8px 14px */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 11px;    /* reduced from 13px */
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.footer-social a svg {
  width: 14px;        /* reduced from 18px */
  height: 4px;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
/* ─── PRODUCT DESCRIPTION EXPAND/COLLAPSE ───────────── */
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 6px 0 10px;
  color: var(--charcoal);
  line-height: 1.25;
}

.product-desc-wrap {
  margin-bottom: 4px;
}

.product-desc {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
}

/* Clamp to 2 lines by default */
.desc-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: none;
}

/* Expanded state — show full text */
.product-desc-wrap.expanded .desc-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Toggle button */
.desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.desc-toggle:hover {
  color: var(--brown-dark);
}

/* Chevron icon */
.toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
  flex-shrink: 0;
}
/* ─── PRODUCT DETAIL MODAL ──────────────────────────── */
.pm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(4px);
}
.pm-backdrop.open {
  opacity: 1;
}

.pm-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.32s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.pm-backdrop.open .pm-modal {
  transform: scale(1) translateY(0);
}

.pm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--cream-2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  color: var(--charcoal);
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-close:hover {
  background: var(--sand);
}

.pm-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Gallery */
.pm-gallery {
  background: var(--cream-2);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-main-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity 0.15s ease;
  background: var(--cream-2);
}

.pm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--sand);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.pm-arrow:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.pm-prev { left: 4px; }
.pm-next { right: 4px; }

.pm-angle-label {
  font-size: 11px;
  color: var(--light-grey);
  text-align: center;
  text-transform: capitalize;
}

.pm-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.pm-thumbs::-webkit-scrollbar { display: none; }

.pm-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: border-color 0.15s, opacity 0.15s;
}
.pm-thumb.active,
.pm-thumb:hover {
  border-color: var(--brown);
  opacity: 1;
}

/* Info panel */
.pm-info {
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pm-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

.pm-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
}

.pm-desc {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.75;
  flex: 1;
}

.pm-footer {
  border-top: 1px solid var(--sand);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pm-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown);
}

.pm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-title-link {
  cursor: pointer;
  transition: color 0.2s ease;
}
.product-title-link:hover {
  color: var(--brown);
}

/* Responsive */
@media (max-width: 640px) {
  .pm-body {
    grid-template-columns: 1fr;
  }
  .pm-gallery {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .pm-info {
    padding: 24px 20px 28px;
  }
  .pm-modal {
    max-height: 95vh;
  }
}
/* Rotate chevron when expanded */
.product-desc-wrap.expanded .toggle-icon {
  transform: rotate(180deg);
}
@media (max-width: 600px) {
  .dc-form-wrap .dc-row { grid-template-columns: 1fr; }
  .dc-form-wrap { padding: 24px 20px; }
}
/* ─── REDUCED MOTION ────────────────────────────────────
   Respect users who prefer no animations
──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}




/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--sand); gap: 20px; }
  .nav-links.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 100px 0 60px; }
  .hero::before { width: 100%; height: 50%; top: auto; bottom: 0; }
  .hero-content { padding: 40px 24px; }
  .hero-visual { padding: 40px 24px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats-container { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-wrap input { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-float-card { position: static; margin-top: 20px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .card-form { padding: 24px 20px; }
}
@media (max-width: 768px) {
  .nav-logo {
    gap: 8px;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-logo > span {
    font-size: 1.2rem;
  }
}
