/* ROTAN KITA — responsive landing page */
:root {
  --cream: #f7f4ec;
  --cream-deep: #eee9dc;
  --sage: #e7eadb;
  --green: #31583d;
  --green-dark: #284a33;
  --terracotta: #cf542e;
  --terracotta-light: #df754e;
  --ink: #3c2a20;
  --muted: #82796f;
  --white: #fffdf8;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.container {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.section-pad {
  padding: 76px 0;
}


/* Navigation */
.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 236, .94);
  border-bottom: 1px solid rgba(60, 42, 32, .12);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 20px var(--serif);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff8ec;
  font: 25px Georgia, serif;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: #6d6258;
  font-size: 12px;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--terracotta);
  color: white;
}

.nav-link:hover {
  transform: translateY(-2px);
}

/* =========================
   GALLERY SECTION
========================= */
.gallery-section {
    background: var(--white);
    overflow: hidden;
}

.gallery-heading {
    align-items: end;
    margin-bottom: 32px;
}

.gallery-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.gallery-heading h2 {
    margin-bottom: 10px;
    font: 700 clamp(29px, 3vw, 40px)/1.2 var(--serif);
    letter-spacing: -.025em;
}

.gallery-heading h2 em {
    color: var(--terracotta);
    font-weight: 600;
}

.gallery-heading p {
    max-width: 520px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.gallery-link {
    flex-shrink: 0;
    margin-bottom: 4px;
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 700;
}

.gallery-link span {
    margin-left: 6px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 205px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--cream-deep);
    isolation: isolate;
}

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

.gallery-item.gallery-wide {
    grid-column: span 2;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(
        to top,
        rgba(35, 25, 18, .78) 0%,
        rgba(35, 25, 18, .18) 48%,
        transparent 100%
    );
    color: #fffdf8;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-caption small {
    font-size: 9px;
    letter-spacing: .14em;
    opacity: .8;
}

.gallery-caption strong {
    font: 600 17px var(--serif);
}

.gallery-zoom {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    font-size: 17px;
    transition: background .25s ease, color .25s ease;
}

.gallery-item:hover .gallery-zoom {
    background: #fffdf8;
    color: var(--ink);
}

.gallery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.gallery-footer > span {
    color: var(--muted);
    font: italic 15px var(--serif);
}

.gallery-footer .btn {
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

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

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .gallery-section {
        padding-top: 55px;
        padding-bottom: 58px;
    }

    .gallery-heading {
        display: block;
        margin-bottom: 24px;
    }

    .gallery-heading h2 {
        font-size: 29px;
    }

    .gallery-heading p {
        font-size: 12px;
    }

    .gallery-link {
        display: inline-block;
        margin-top: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
        gap: 10px;
    }

    .gallery-item {
        border-radius: 10px;
    }

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

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }

    .gallery-overlay {
        padding: 11px;
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(35, 25, 18, .75),
            transparent 75%
        );
    }

    .gallery-caption small {
        font-size: 8px;
    }

    .gallery-caption strong {
        font-size: 13px;
    }

    .gallery-zoom {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 14px;
    }

    .gallery-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-top: 22px;
    }

    .gallery-footer > span {
        font-size: 13px;
    }
}

/* Aksesibilitas animasi */
@media (prefers-reduced-motion: reduce) {
    .gallery-item img,
    .gallery-overlay,
    .gallery-zoom {
        transition: none;
    }
}

.cart-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding-top: 68px;
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  padding: 6px 16px;
  background: var(--sage);
  border-radius: 99px;
  color: #53634b;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 19px;
  font: 700 clamp(40px, 4.5vw, 64px)/1.08 var(--serif);
  letter-spacing: -.035em;
}

h1 em,
.closing h2 em {
  color: var(--terracotta);
  font-weight: 600;
}

.hero-copy>p {
  max-width: 450px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px #3b2a201a;
}

.btn-primary {
  background: var(--terracotta);
  color: white;
}

.btn-primary:hover {
  background: #b94626;
}

.btn-outline {
  border: 1px solid #b9afa1;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  height: 390px;
}

.hero-visual>img {
  border-radius: 26px;
  box-shadow: 0 18px 40px #3b2a2014;
}

.image-note {
  position: absolute;
  left: -20px;
  bottom: -17px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 310px;
  padding: 15px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 7px 20px #2f21151a;
  transform: rotate(-1.2deg);
}

.image-note strong {
  font: 600 13px var(--serif);
}

.image-note small {
  color: var(--muted);
  font-size: 10px;
}

/* Benefits */
.benefits {
  padding: 34px 0;
  background: var(--sage);
}

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

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icon {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-size: 21px;
}

.benefit h3 {
  margin: 2px 0 5px;
  font: 600 15px var(--serif);
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

/* Product collection */
/* Product collection */
.products {
    padding-top: 78px;
    padding-bottom: 82px;
}

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

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ded7c9;
    border-radius: 18px;
    background: #f1e7d5;
    transition: transform .35s ease, box-shadow .35s ease;
}

.product-card:nth-child(2) { background: #e7eadb; }
.product-card:nth-child(3) { background: #eee5d5; }
.product-card:nth-child(4) { background: #f2eadb; }

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px #38261b1a;
}

.product-image {
    height: 290px;
    overflow: hidden;
    background: #e5dccb;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s ease;
}

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

.product-info {
    padding: 16px 17px 17px;
}

.product-info h3 {
    margin: 0 0 13px;
    font: 600 14px var(--serif);
}

/* Area tombol chat */
.product-bottom {
    display: block;
    width: 100%;
    margin-top: 12px;
}

.product-bottom .btn-chat-product {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    box-sizing: border-box;

    border: 0;
    border-radius: 8px;
    background: #25D366;
    color: #fff !important;

    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;

    transition: background .25s ease, transform .25s ease;
}

.product-bottom .btn-chat-product:hover {
    background: #1DA851;
    color: #fff !important;
    transform: translateY(-2px);
}

.product-bottom .btn-chat-product .chat-label,
.product-bottom .btn-chat-product .chat-arrow {
    display: inline-block;
    color: #fff !important;
}

.product-bottom .btn-chat-product .chat-label {
    white-space: nowrap;
}

.product-bottom .btn-chat-product .chat-arrow {
    flex-shrink: 0;
    font-size: 16px;
}
/* Story */
.story {
  background: var(--green);
  color: #f8f4e9;
}

.light-heading {
  margin-bottom: 31px;
}

.light-heading p {
  max-width: 720px;
  color: #d4dfd0;
}

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

.story-card img {
  height: 310px;
  margin-bottom: 17px;
  border-radius: 19px;
}

.story-card h3 {
  margin-bottom: 7px;
  font: 600 16px var(--serif);
}

.story-card p {
  max-width: 360px;
  margin-bottom: 0;
  color: #d4dfd0;
  font-size: 12px;
  line-height: 1.8;
}

.story-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.btn-warm {
  background: var(--terracotta-light);
  color: white;
}

/* Closing CTA */
.closing {
  padding-top: 90px;
  padding-bottom: 90px;
}

.closing-inner {
  text-align: center;
}

.closing h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.closing p {
  max-width: 520px;
  margin: 0 auto 25px;
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.site-footer {
  background: var(--green);
  color: #f8f4e9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .6fr 1fr;
  gap: 80px;
  padding-top: 55px;
  padding-bottom: 48px;
}

.footer-brand {
  margin-bottom: 15px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  background: var(--terracotta-light);
}

.footer-about>p {
  max-width: 340px;
  margin-bottom: 18px;
  color: #d4dfd0;
  font-size: 12px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff20;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.social-links a:hover {
  background: var(--terracotta);
  transform: translateY(-3px);
}

.footer-grid h4 {
  margin: 4px 0 15px;
  color: #d8d9c8;
  font-size: 11px;
  letter-spacing: .14em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a,
.footer-contact p {
  color: #d4dfd0;
  font-size: 12px;
}

.footer-links a {
  margin-bottom: 7px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid #ffffff30;
  color: #d4dfd0;
  font-size: 10px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  padding-bottom: 17px;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .12s;
}

.reveal-delay-2 {
  transition-delay: .22s;
}

.reveal-delay-3 {
  transition-delay: .32s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, 700px);
  }

  .section-pad {
    padding: 60px 0;
  }

  .hero-grid {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    height: 320px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 300px;
  }

  .story-card img {
    height: 250px;
  }

  .footer-grid {
    gap: 35px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 66px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .site-header {
    height: 66px;
  }

  .brand {
    font-size: 18px;
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .cart-button {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 15px 18px 18px;
    background: var(--cream);
    border-bottom: 1px solid #ded7c9;
    box-shadow: 0 14px 18px #38261b0d;
  }

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

  .nav-link {
    padding: 11px 14px;
  }

  .hero {
    padding-top: 43px;
    padding-bottom: 55px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .hero-copy>p {
    font-size: 14px;
  }

  .hero-visual {
    height: 300px;
    margin-left: 10px;
  }

  .image-note {
    left: -10px;
    max-width: 280px;
    padding: 12px 15px;
  }

  .benefits {
    padding: 28px 0;
  }

  .benefit-grid {
    gap: 22px 15px;
  }

  .benefit {
    gap: 10px;
  }

  .benefit-icon {
    flex-basis: 37px;
    width: 37px;
    height: 37px;
    font-size: 18px;
  }

  .benefit h3 {
    font-size: 13px;
  }

  .benefit p {
    font-size: 10px;
  }

  .products {
    padding-top: 55px;
    padding-bottom: 58px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading p {
    max-width: 320px;
    font-size: 12px;
  }

  .text-link {
    font-size: 11px;
    white-space: nowrap;
    margin-top: 9px;
  }

  .product-grid {
    gap: 13px;
  }

  .product-image {
    height: clamp(160px, 49vw, 250px);
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 12px;
    min-height: 36px;
  }

  .product-bottom {
    font-size: 11px;
  }

  .product-bottom a {
    width: 29px;
    height: 29px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-card img {
    height: 270px;
  }

  .story-card p {
    max-width: none;
  }

  .story-action {
    margin-top: 30px;
  }

  .closing {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .closing h2 {
    font-size: 31px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-about>p {
    max-width: 390px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 4px;
  }
}