/* =========================================================
   BAHR BAGS — STYLES
   Palette:
     --ink     deep teal-black   (sea)
     --ink-2   lighter teal panel
     --sand    warm cream        (sand)
     --gold    brass / leather accent
     --leather saddle leather accent
   Type:
     Display: Fraunces   Body/UI: Work Sans
   ========================================================= */

:root{
  --ink: #11262A;
  --ink-2: #1B3A37;
  --sand: #F4EFE4;
  --gold: #C9A36B;
  --leather: #8B5A3C;
  --text-dark: #1B1B18;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --max: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

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

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  color: var(--sand);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a{ color:inherit; text-decoration:none; }

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--sand);
}

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow--dark{ color: var(--leather); }

/* ---------- buttons ---------- */
.btn{
  display:inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn--primary{
  background: var(--gold);
  color: var(--ink);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.btn--primary:hover{ transform: translateY(-2px);
background-color: #F4EFE4;
color: #1B3A37 }

/* ---------- nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.2rem var(--gap);
  transition: background 0.3s ease, padding 0.3s ease;
}
.nav.scrolled{
  background: rgba(17,38,42,0.92);
  backdrop-filter: blur(6px);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.nav__inner{
  max-width: var(--max);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav__logo{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nav__links{
  display:flex;
  align-items:center;
  gap: 2rem;
  font-size: 0.92rem;
}
.nav__links a{ opacity: 0.85; transition: opacity 0.5s ease; }
.nav__links a:hover{ opacity: 1;}
.nav__icon{ display:flex; }

.nav__toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 6px;
  position: relative;
  z-index: 60;
}
.nav__toggle span{
  width: 22px; height: 2px; background: var(--sand); display:block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2){ opacity: 0; }
.nav__toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px){
  .nav__toggle{ display:flex; }
  .nav__links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(70vw, 280px);
    background: var(--ink-2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav__links.open{ transform: translateX(0); }
}

/* ---------- hero ---------- */
.hero{
  min-height: 100vh;
  min-height: 100dvh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: clamp(5.5rem, 14vw, 7rem) var(--gap) clamp(2rem, 6vw, 3rem);
}
.hero__inner{
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gap);
  align-items:center;
}
.hero__title{
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  letter-spacing: 0.01em;
}
.hero__meaning{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0.8rem 0 1.4rem;
}
.hero__meaning em{ font-style: italic; }
.hero__tagline{
  max-width: 460px;
  opacity: 0.88;
  margin-bottom: 2.2rem;
}

@media (max-width: 860px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__photo{ order: -1; }
}

/* ---------- photo / placeholder system ---------- */
.photo{
  position: relative;
  overflow: hidden;
  /* border-radius: 6px; */
  border: 1px solid var(--gold);
  background: var(--ink-2);
}
.photo img{ width:100%; height:100%; object-fit: cover; }
.photo .placeholder{
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(244,239,228,0.35);
  background: repeating-linear-gradient(135deg, rgba(244,239,228,0.05) 0 2px, transparent 2px 10px);
  font-size: 0.85rem;
  color: rgba(244,239,228,0.75);
}
.placeholder__icon{ font-size: 1.6rem; }
.placeholder code{
  font-family: monospace;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.25);
  padding: 2px 8px;
  border-radius: 3px;
}

.photo--hero{ aspect-ratio: 4/5; }
.photo--story{ aspect-ratio: 4/5; }
.photo--card{ aspect-ratio: 1/1; margin-bottom: 0rem; /* Handled by gallery spacing now */ }

/* ---------- multi-media component gallery ---------- */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  border: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 2px;
}

.main-display {
  width: 100%;
}

.thumbnail-track {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.5rem 0.5rem;
}

.thumbnail {
  width: 23%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  background: var(--ink-2);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.thumbnail:hover {
  opacity: 0.9;
}

.thumbnail.active {
  border :2px solid var(--gold);
}

.video-thumb {
  position: relative;
  background: #000;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--sand);
  background: rgba(17, 38, 42, 0.85);
  border: 1px solid rgba(201, 163, 107, 0.4);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  pointer-events: none;
}
.card{
  padding-bottom: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q150,4 300,30 T600,30 T900,30 T1200,30' fill='none' stroke='%23C9A36B' stroke-width='2' stroke-linecap='round' stroke-dasharray='7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 28px;
}
.card-description  {
  width: fit-content;
  font-size: 0.85rem;
  opacity: 0.8;
  color: white; 
  background: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  padding: 0.4rem 0.6rem;
}
/* ---------- dividers between cards ---------- */

/* ---------- stock stats (unloaded / remaining) ---------- */
.stock-stats{
  display: flex;
  gap: 0.5rem;
  padding: 0 0.6rem 0.6rem;
  margin-top: 1rem ;
}
.stock-stats__box{
  flex: 1;
  background: var(--ink);
  border: 1px solid rgba(201, 163, 107, 0.3);
  border-radius: 3px;
  padding: 0.5rem 0.4rem;
  text-align: center;
}
.stock-stats__value{
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
}
.stock-stats__label{
  display: block;
  margin-top: 0.15rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.65);
}

/* ---------- divider (wave / stitch) ---------- */
.divider{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}
.divider svg{
  width: 100%;
  height: 28px;
  display:block;
}
.divider path{
  fill:none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 7;
}

.divider--animated{
  transform-origin: left center;
  animation: drawIn 1.1s ease-out 0.3s both;
}



@keyframes drawIn{
  from{ transform: scaleX(0); opacity: 0; }
  to{ transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  .divider--animated{ animation: none; }
}

/* ---------- story ---------- */
.story{
  background: var(--sand);
  color: var(--text-dark);
  padding: clamp(3.2rem, 9vw, 6rem) var(--gap);
}
.story__title {
  margin-right: 30px;
}
.story__inner{
  max-width: var(--max);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--gap);
  align-items:center;
}
.story h2{ color: var(--text-dark); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.story p{ margin-bottom: 1rem; max-width: 480px; }
.story .photo{ background: rgba(27,27,24,0.06); }
.story .placeholder{ color: rgba(27,27,24,0.6); border-color: rgba(27,27,24,0.3); }

@media (max-width: 860px){
  .story__inner{ grid-template-columns: 1fr; }
}

/* ---------- collection ---------- */
.collection{
  padding: clamp(3.2rem, 9vw, 6rem) var(--gap) 3rem;
}
.collection__head{
  max-width: var(--max);
  margin: 0 auto 3rem;
  text-align: center;
}
.collection__head h2{ font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.6rem; }
.collection__sub{ opacity: 0.75; }

.grid{
  max-width: var(--max);
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem var(--gap);
}
@media (max-width: 900px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid{ grid-template-columns: 1fr; } }

.card h3{ font-size: 1.25rem; margin-bottom: 0.3rem; }
.card__desc{ opacity: 0.75; font-size: 0.92rem; margin-bottom: 0.9rem; }
.card__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.price{ font-family: var(--font-display);
  /* font-style: italic; */
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold); }
.enquire{
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--gold);
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.enquire i {
  font-size: 0.95rem;
  color: var(--gold);
  transition: color 0.2s ease;
}
.enquire:hover{ background: var(--gold); color: var(--ink); }
.enquire:hover i{ color: var(--ink); }
/* ---------- contact ---------- */
.contact{
  background: var(--sand);
  color: var(--text-dark);
  padding: clamp(3.2rem, 9vw, 6rem) var(--gap);
  text-align: center;
}
.contact h2{ color: var(--text-dark); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.contact__sub{ opacity: 0.75; max-width: 480px; margin: 0 auto 2.4rem; }
.contact__links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 1rem;
}
.pill{
  border: 1px solid var(--leather);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.pill:hover{ background: var(--leather); color: var(--sand); }

/* ---------- footer ---------- */
.footer{
  background: var(--sand);
  color: rgba(27,27,24,0.6);
  text-align:center;
  font-size: 0.85rem;
  padding: 1.5rem var(--gap) 2.2rem;
}