@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

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

:root {
  --tan:        #C4A882;
  --tan-light:  #D9C4A8;
  --tan-dark:   #8B6E4E;
  --tan-deep:   #5C4530;
  --cream:      #F7F2EA;
  --cream2:     #EDE5D5;
  --hero-bg:    #ffffff;
  --white:      #ffffff;
  --dark:       #2C2416;
  --text:       #3A2E22;
  --text-mid:   #6B5744;
  --text-light: #9A8878;
  --border:     #E8DDD0;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;

  --shadow-sm: 0 1px 6px rgba(44,36,22,0.07);
  --shadow-md: 0 4px 20px rgba(44,36,22,0.10);
  --radius: 3px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

/* ── NAVBAR ── */
.navbar {
  background: var(--tan);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(44,36,22,0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1px;
  flex-shrink: 0;
}
.logo-mark .lm-n   { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--tan-dark); line-height: 1; }
.logo-mark .lm-sub { font-family: var(--font-body); font-size: 5.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--tan-dark); line-height: 1; }

.nav-menu { display: flex; gap: 36px; list-style: none; }
.nav-menu a {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.6px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, opacity 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { border-bottom-color: var(--white); }
.nav-menu a:hover { opacity: 0.88; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-btn {
  background: none; border: none; cursor: pointer;
  color: var(--white); padding: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s; border-radius: 50%;
}
.nav-btn:hover { opacity: 0.75; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(44,36,22,0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box {
  background: var(--white);
  width: 600px; max-width: 90vw;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(-16px);
  transition: transform 0.3s;
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-box h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  color: var(--dark); margin-bottom: 16px; font-style: italic;
}
.search-input-wrap {
  display: flex; gap: 0;
  border: 1.5px solid var(--tan); overflow: hidden;
}
.search-input-wrap input {
  flex: 1; padding: 12px 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  border: none; outline: none; background: var(--cream);
}
.search-input-wrap button {
  background: var(--tan-dark); color: white; border: none;
  padding: 12px 20px; cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 1px;
  transition: background 0.2s;
}
.search-input-wrap button:hover { background: var(--tan-deep); }
.search-close {
  display: block; margin-top: 12px; text-align: right;
  font-size: 12px; color: var(--text-light); cursor: pointer; letter-spacing: 0.5px;
}
.search-close:hover { color: var(--tan-dark); }

/* Search results */
.search-results { margin-top: 20px; }
.search-result-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.2s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-thumb {
  width: 50px; height: 50px; background: #4A7A9B; flex-shrink: 0;
  overflow: hidden;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info .name { font-size: 13px; font-weight: 500; color: var(--text); }
.search-result-info .price { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.search-no-result { font-size: 13px; color: var(--text-light); padding: 12px 0; text-align: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 10.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 28px; cursor: pointer; transition: all 0.25s; border-radius: var(--radius);
}
.btn-dark  { background: var(--tan-dark); color: var(--white); border: 1.5px solid var(--tan-dark); }
.btn-dark:hover  { background: var(--tan-deep); border-color: var(--tan-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--tan-dark); border: 1.5px solid var(--tan-dark); }
.btn-ghost:hover { background: var(--tan-dark); color: var(--white); transform: translateY(-1px); }

/* ── PRODUCT CARD ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 32px;
}

.product-card {
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
  object-fit: contain;
}
.product-card:hover { transform: translateY(-5px); }
.product-thumb {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  position: static;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* ← ganti dari cover ke contain */
  object-position: center top;
  background: #f5f5f5;        /* ← background area kosong */
  display: block;
  transition: transform 0.55s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 16px; transition: background 0.3s;
}
.product-card:hover .product-thumb-overlay { background: rgba(44,36,22,0.18); }
.product-thumb-overlay .btn {
  opacity: 0; transform: translateY(10px); transition: all 0.3s; font-size: 10px; padding: 8px 20px;
}
.product-card:hover .product-thumb-overlay .btn { opacity: 1; transform: translateY(0); }

.product-name {
  font-family: var(--font-display); font-size: 16px; font-weight: 400;
  color: var(--dark); margin-bottom: 4px; line-height: 1.3;
}
.product-price { font-size: 13px; color: var(--text-mid); font-weight: 300; }

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-display); font-size: 48px; font-weight: 300;
  color: var(--dark); line-height: 1.05; margin-bottom: 10px;
}
.section-desc {
  font-size: 13px; color: var(--text-light); font-weight: 300;
  line-height: 1.75; margin-bottom: 22px; max-width: 300px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--tan);
  padding: 44px 56px;
}
.footer-inner {
  display: flex; align-items: flex-start; gap: 40px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.footer-brand-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  color: var(--white); letter-spacing: 1.5px;
}
.footer-divider { width: 1px; background: rgba(255,255,255,0.35); align-self: stretch; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-row { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 300; }
.footer-address { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-top: 6px; font-weight: 300; }

/* ── ANIMATE ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.anim { opacity: 0; }
.anim.visible { animation: fadeUp 0.7s ease forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-menu { display: none; }
  .site-footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; }
  .footer-divider { display: none; }
}
