/* ==========================================================
   Ocean Crafts — Landing Page
   ========================================================== */
:root {
  --maroon: #9b1b4b;
  --maroon-dark: #6e0f33;
  --wine: #4a0a22;
  --pink: #f8dfe6;
  --pink-soft: #fceef2;
  --pink-mid: #f3c9d5;
  --cream: #fffafb;
  --text: #4a1a2c;
  --muted: #7d5a67;
  --white: #fff;
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(110, 15, 51, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1240px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--maroon); line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; font-weight: 500; font-size: .9rem; transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn__arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--maroon); color: var(--white); font-size: 1rem; transition: transform .25s; }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn--light { background: var(--white); border: 1px solid var(--pink-mid); }
.btn--white { background: var(--white); }
.btn--outline { border: 1.5px solid var(--maroon); color: var(--maroon); padding: 8px 20px; }
.btn--outline:hover { background: var(--maroon); color: var(--white); }
.btn--sm { font-size: .82rem; padding: 7px 18px; }
.btn--sm .btn__arrow { width: 28px; height: 28px; font-size: .85rem; }
.btn--sm:has(.btn__arrow) { padding: 5px 5px 5px 16px; }

.circle-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--maroon); color: var(--maroon); background: var(--white); font-size: 1.1rem; transition: .25s; }
.circle-btn--fill, .circle-btn:hover { background: var(--maroon); color: var(--white); }

.tag { position: absolute; background: var(--white); padding: 6px 16px; border-radius: 999px; font-size: .78rem; font-weight: 500; box-shadow: var(--shadow); }

.play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--maroon); font-size: .7rem; box-shadow: var(--shadow); }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 251, .85); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 4px 20px rgba(110, 15, 51, .07); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.nav__links { display: flex; gap: 32px; align-items: center; font-size: .9rem; font-weight: 500; }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: var(--maroon); transition: width .3s; }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__links--right { justify-content: flex-end; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.6rem; color: var(--maroon); }
.logo__icon { width: 26px; height: 26px; }
.logo--light { color: var(--white); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.nav__toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 12px; }
.hero__card { background: var(--pink); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 200px 1fr 260px; gap: 32px; min-height: 520px; position: relative; overflow: hidden; }
.hero__card::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.6), transparent 70%); top: -200px; left: 30%; pointer-events: none; }
.hero__left { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero__demo { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 500; }
.hero__demo img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; border: 3px solid var(--white); }
.hero__flower { position: relative; }
.hero__flower img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 120px 120px 24px 24px; box-shadow: var(--shadow); }
.hero__flower .tag { bottom: 18px; left: -10px; }
.hero__center { display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 1; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 300; letter-spacing: -.01em; }
.hero__inline { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: inline-flex; align-items: center; }
.avatars img, .avatars__plus { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--pink); object-fit: cover; margin-left: -14px; }
.avatars img:first-child { margin-left: 0; }
.avatars__plus { display: grid; place-items: center; background: var(--white); font-family: var(--sans); font-size: 1.3rem; color: var(--text); }
.hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(155, 27, 75, .15); padding-top: 26px; margin-top: 30px; }
.hero__bottom p { max-width: 280px; font-size: .9rem; color: var(--muted); }
.hero__right { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.hero__photo { background: var(--white); padding: 10px; border-radius: 20px; box-shadow: var(--shadow); width: 100%; }
.hero__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.hero__caption { font-family: var(--serif); font-size: 1.35rem; color: var(--text); }

/* ---------- Handmade ---------- */
.handmade { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 48px; align-items: center; padding: 90px 0; }
.stat-card { position: relative; background: var(--pink); border-radius: var(--radius); padding: 26px 20px 50px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-card__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--maroon); line-height: 1; margin-top: 6px; }
.stat-card__label { font-size: .8rem; color: var(--muted); }
.stat-card img { margin-top: 18px; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.tag--bottom { bottom: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.handmade__photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center bottom; border-radius: var(--radius); box-shadow: var(--shadow); }
.handmade__text h2 { margin-bottom: 18px; color: var(--text); }
.handmade__text p { color: var(--muted); margin-bottom: 28px; max-width: 420px; }

/* ---------- Koleksi ---------- */
.collection__wrap { background: var(--pink); border-radius: 28px; padding: 48px 40px; }
.collection__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.collection__ctrl { display: flex; gap: 10px; align-items: center; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.6); font-size: .85rem; font-weight: 500; transition: .25s; }
.chip:hover { background: var(--white); }
.chip.is-active { background: var(--maroon); color: var(--white); }
.products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.products::-webkit-scrollbar { display: none; }
.product { scroll-snap-align: start; background: var(--cream); border: 1px solid var(--pink-mid); border-radius: var(--radius); padding: 14px 14px 22px; text-align: center; transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(110, 15, 51, .12); }
.product.is-hidden { display: none; }
.product__img { overflow: hidden; border-radius: 16px; margin-bottom: 18px; }
.product__img img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; transition: transform .6s; }
.product:hover .product__img img { transform: scale(1.06); }
.product h3 { font-size: 1.5rem; color: var(--text); }
.product p { font-size: .82rem; color: var(--muted); margin: 4px 0 12px; }
.product__link { font-size: .85rem; font-weight: 600; color: var(--maroon); }
.product__link:hover { text-decoration: underline; }

/* ---------- Kenapa custom ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr 260px; gap: 48px; align-items: center; padding: 100px 0; }
.why__text h2 { color: var(--text); margin-bottom: 16px; }
.why__text p { color: var(--muted); margin-bottom: 28px; max-width: 400px; }
.why__photo { position: relative; }
.why__photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); }
.play--float { position: absolute; right: -17px; top: 40px; width: 44px; height: 44px; font-size: .9rem; }
.why__quote { text-align: center; display: flex; flex-direction: column; align-items: center; }
.owner-avatar { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; object-position: 45% 25%; border: 5px solid var(--white); box-shadow: 0 0 0 2px var(--pink-mid), var(--shadow); }
.why__line { width: 1px; height: 70px; background: var(--maroon); opacity: .35; margin: 12px 0; }
.why__quote blockquote { font-size: 1.05rem; line-height: 1.5; color: var(--text); }
.why__quote em { font-family: var(--serif); font-style: normal; font-weight: 600; color: var(--maroon); }
.why__quote figcaption { margin-top: 8px; font-size: .82rem; color: var(--muted); }

/* ---------- Bento ---------- */
.bento__wrap { background: linear-gradient(135deg, var(--pink) 0%, var(--pink-soft) 100%); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto auto; gap: 24px 40px; }
.bento__dark { background: var(--maroon); color: var(--white); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.bento__dark p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.bento__dark img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.bento__stat { grid-column: 1; text-align: center; }
.bento__stat strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--text); font-weight: 500; line-height: 1; }
.bento__stat span { font-size: .8rem; color: var(--muted); }
.bento__main { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 28px; }
.bento__main h2 { color: var(--maroon); max-width: 560px; }
.bento__cards { display: grid; grid-template-columns: 240px 1fr; gap: 24px; flex: 1; }
.mini-card { background: var(--white); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.mini-card__top { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; }
.mini-card img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.mini-card h3 { font-size: 1.3rem; }
.wide-card { background: var(--pink-mid); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; overflow: hidden; }
.wide-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.wide-card p { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.wide-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 120px 120px 18px 18px; }

/* ---------- Cara Pesan ---------- */
.steps { padding: 100px 0 60px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.steps__intro h2 { color: var(--text); }
.steps__intro strong { font-weight: 600; color: var(--maroon); }
.steps__intro p { margin-top: 16px; color: var(--muted); }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.steps__list li { background: var(--white); border: 1px solid var(--pink-mid); border-radius: var(--radius); padding: 26px; transition: .3s; }
.steps__list li:hover { background: var(--pink); border-color: transparent; }
.steps__list span { font-family: var(--serif); font-size: 2rem; color: var(--maroon); opacity: .5; }
.steps__list h3 { font-size: 1.35rem; color: var(--text); margin: 6px 0; }
.steps__list p { font-size: .88rem; color: var(--muted); }

/* ---------- Galeri ---------- */
.gallery { padding: 60px 0 100px; }
.gallery__head { text-align: center; margin-bottom: 36px; }
.gallery__head h2 { margin-top: 8px; }
.gallery__grid { columns: 4 220px; column-gap: 18px; }
.gallery__grid img { width: 100%; margin-bottom: 18px; border-radius: 18px; cursor: zoom-in; break-inside: avoid; transition: transform .35s, filter .35s; }
.gallery__grid img:hover { transform: scale(1.02); filter: brightness(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--maroon); color: #fbe3ea; padding-top: 60px; overflow: hidden; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { margin: 12px 0 20px; font-size: .9rem; opacity: .85; max-width: 260px; }
.footer__thumbs { display: flex; gap: 12px; }
.footer__thumbs img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.3); }
.footer__col { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.footer__col h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-top: 18px; font-weight: 600; }
.footer__col h4:first-child { margin-top: 0; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); transition: .25s; }
.socials a:hover { background: var(--white); color: var(--maroon); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer__map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; border-radius: 18px; filter: saturate(.8); }
.marquee { border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); white-space: nowrap; color: rgba(255,255,255,.9); }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer__copy { text-align: center; font-size: .8rem; padding: 16px; background: var(--maroon-dark); opacity: .9; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); z-index: 60; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(40, 5, 18, .88); display: grid; place-items: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .3s; padding: 30px; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 16px; }
.lightbox__close { position: absolute; top: 20px; right: 28px; font-size: 2.6rem; color: var(--white); line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__card { grid-template-columns: 1fr 240px; }
  .hero__left { display: none; }
  .handmade { grid-template-columns: 1fr 1fr; }
  .stat-card { display: none; }
  .products { grid-auto-columns: calc((100% - 48px) / 3); }
  .why { grid-template-columns: 1fr 1fr; }
  .why__quote { grid-column: 1 / -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; gap: 16px; }
  .nav__toggle { display: flex; }
  .logo { justify-self: center; margin-right: 30px; }
  .nav__mobile { display: flex; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height .35s; background: var(--cream); }
  .nav__mobile.is-open { max-height: 320px; }
  .nav__mobile a { padding: 14px 6%; border-top: 1px solid var(--pink); font-weight: 500; }

  .hero__card { grid-template-columns: 1fr; padding: 28px; }
  .hero__right { order: -1; flex-direction: row; text-align: left; }
  .hero__right .hero__photo { width: 140px; flex-shrink: 0; }
  .hero__right .eyebrow { display: none; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .avatars img, .avatars__plus { width: 44px; height: 44px; }

  .handmade, .why, .steps { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .products { grid-auto-columns: 70%; }
  .collection__wrap, .bento__wrap { padding: 28px 20px; }
  .bento__wrap { grid-template-columns: 1fr; }
  .bento__dark, .bento__stat { display: none; }
  .bento__main { grid-column: 1; grid-row: auto; }
  .bento__cards { grid-template-columns: 1fr; }
  .wide-card { grid-template-columns: 1fr 120px; }
  .steps__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
