/* ============================================================
   Diamond Dive Treasures LLC — Ocean Theme Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  /* Ocean palette */
  --deep-navy: #0b3d59;
  --ocean-blue: #0f5c78;
  --teal: #1a8a94;
  --aqua: #4fc4d1;
  --seafoam: #d8f3f1;
  --foam-white: #f7fcfb;
  --sand: #fdf6e8;
  --treasure-gold: #e8b04b;
  --treasure-gold-dark: #c9902f;
  --coral: #ff7f66;
  --coral-dark: #ef6650;
  --ink: #0d2b36;
  --ink-soft: #3c5a63;
  --border-soft: #cfe9e7;

  --shadow-soft: 0 10px 30px rgba(11, 61, 89, 0.12);
  --shadow-pop: 0 6px 16px rgba(11, 61, 89, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--foam-white);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Baloo 2', cursive;
  color: var(--deep-navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--coral); }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 22px rgba(239, 102, 80, 0.35); }

.btn-secondary {
  background: #fff;
  color: var(--ocean-blue);
  border: 2px solid var(--ocean-blue);
}
.btn-secondary:hover { color: var(--teal); border-color: var(--teal); }

.btn-gold {
  background: linear-gradient(135deg, var(--treasure-gold), var(--treasure-gold-dark));
  color: var(--deep-navy);
  box-shadow: 0 6px 16px rgba(201, 144, 47, 0.35);
}
.btn-gold:hover { color: var(--deep-navy); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 252, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--deep-navy);
}
.logo .logo-icon { font-size: 1.6rem; }
.logo .logo-sub {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); border-bottom-color: var(--coral); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--deep-navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  cursor: pointer;
}
.cart-btn:hover { background: var(--ocean-blue); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--deep-navy); border-radius: 3px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--foam-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: flex; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--deep-navy), var(--ocean-blue) 55%, var(--teal));
  color: #fff;
  padding: 90px 0 130px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 0.35em;
}
.hero h1 span { color: var(--treasure-gold); }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-blob {
  width: 320px;
  height: 320px;
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  background: radial-gradient(circle at 30% 30%, rgba(232,176,75,0.9), rgba(255,127,102,0.65) 55%, rgba(79,196,209,0.55));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 90px; display: block; }

.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  bottom: -60px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-520px) translateX(20px); opacity: 0; }
}

/* ---------------- Sections ---------------- */
.section { padding: 78px 0; }
.section-alt { background: var(--seafoam); }
.section-sand { background: var(--sand); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker {
  display: inline-block;
  color: var(--coral-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------------- Feature / value cards ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}
.feature-card .icon {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ---------------- Product cards ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(11,61,89,0.18); }

.product-media {
  height: 190px;
  background: linear-gradient(135deg, var(--aqua), var(--ocean-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.6rem;
  position: relative;
}
.product-media .tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--treasure-gold);
  color: var(--deep-navy);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Category accent tiles — each category gets its own gradient so the
   gallery reads as color-coded at a glance, until real product photos
   replace these placeholder tiles. */
.product-card[data-category="necklaces"] .product-media { background: linear-gradient(135deg, var(--aqua), var(--ocean-blue)); }
.product-card[data-category="bracelets"] .product-media { background: linear-gradient(135deg, var(--teal), var(--deep-navy)); }
.product-card[data-category="anklets"] .product-media { background: linear-gradient(135deg, var(--sand), var(--treasure-gold)); }
.product-card[data-category="rings"] .product-media { background: linear-gradient(135deg, var(--treasure-gold), var(--treasure-gold-dark)); }
.product-card[data-category="charms"] .product-media { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.product-card[data-category="earrings"] .product-media { background: linear-gradient(135deg, var(--ocean-blue), var(--teal)); }
.product-card[data-category="giftsets"] .product-media { background: linear-gradient(135deg, var(--deep-navy), var(--coral-dark)); }

.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.product-body h3 { font-size: 1.12rem; margin: 0; }
.product-body p.desc { color: var(--ink-soft); font-size: 0.92rem; margin: 0; flex: 1; }
.product-meta { font-size: 0.82rem; color: var(--ink-soft); }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
}
.price { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.25rem; color: var(--deep-navy); }

.snipcart-add-item {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-family: 'Baloo 2', cursive;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.snipcart-add-item:hover { background: var(--coral-dark); transform: translateY(-2px); }

/* ---------------- Filters ---------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  background: #fff;
  border: 2px solid var(--border-soft);
  color: var(--ink-soft);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--teal); border-color: var(--teal); color: #fff;
}

/* ---------------- About page ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-blob {
  background: linear-gradient(160deg, var(--seafoam), #fff);
  border-radius: 28px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border-soft);
  font-size: 5rem;
}
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border-soft);
  padding: 14px 16px; border-radius: var(--radius-sm);
}
.value-list .emoji { font-size: 1.4rem; }

.timeline { display: grid; gap: 20px; margin-top: 10px; }
.timeline .step {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border-soft);
  padding: 18px; border-radius: var(--radius-sm);
}
.timeline .num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--deep-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', cursive; font-weight: 700;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-item .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--seafoam); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-item h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-info-item p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.96rem;
  background: var(--foam-white);
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--teal); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
#form-status { margin-top: 14px; font-weight: 700; }
#form-status.success { color: #1a8a5e; }
#form-status.error { color: var(--coral-dark); }

/* ---------------- Legal pages ---------------- */
.legal-wrap { max-width: 850px; margin: 0 auto; }
.legal-wrap h2 { margin-top: 40px; font-size: 1.3rem; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); }
.legal-updated {
  display: inline-block;
  background: var(--seafoam);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 22px;
}
.legal-placeholder {
  background: #fff8e6;
  border: 1px dashed var(--treasure-gold-dark);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.legal-toc {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 30px;
}
.legal-toc a { display: block; padding: 4px 0; font-weight: 700; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--coral), var(--treasure-gold-dark));
  color: #fff;
  border-radius: 28px;
  padding: 50px;
  text-align: center;
  margin: 0 24px;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 55ch; margin: 0 auto 24px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--treasure-gold); }
.footer-brand { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.footer-tag { font-size: 0.9rem; color: rgba(255,255,255,0.7); max-width: 30ch; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.payment-badges { display: flex; gap: 8px; align-items: center; font-size: 1.3rem; }

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; color: #fff;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-art { order: -1; }
  .grid-3, .grid-2, .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 34px 22px; margin: 0 16px; }
}
