/* ============================================
   FAUVITY — GLOBAL SHARED STYLES
   Dipakai oleh: index.html, tema.html, order-summary.html
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── VARIABLES ── */
:root {
  --cream: #F5F0E8;
  --ivory: #FAF7F2;
  --beige: #E8DDD0;
  --gold: #C4A46B;
  --gold-light: #D4B882;
  --gold-dark: #9E7D45;
  --brown: #6B4F3A;
  --dark: #2C1F14;
  --white: #FFFFFF;
  --text-muted: #8B7355;
  --border-light: #E0D5C7;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --transition: 0.2s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* ── BASE ── */
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background: var(--ivory);
  overflow-x: hidden;
  padding-top: 72px; /* tinggi navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
}

p { color: var(--text-muted); line-height: 1.7; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

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

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ── NAVBAR (exact index.html) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 164, 107, 0.15);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(250, 247, 242, 0.97);
  border-bottom-color: rgba(196, 164, 107, 0.3);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--dark);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-dark); }

.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 140;
  pointer-events: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--brown);
  transition: all 0.3s;
}

/* ── FOOTER (exact index.html) ── */
footer {
  background: var(--dark);
  color: var(--cream);
  padding: 5rem 5% 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,164,107,0.4), transparent);
}

footer::after {
  content: 'FAUVITY';
  position: absolute;
  bottom: -1.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(196,164,107,0.04);
  white-space: nowrap;
  pointer-events: none;
}

.footer-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 1rem;
  display: block;
}

.footer-logo span { color: var(--gold); }

.footer-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,240,232,0.55);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-quote {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.8;
  padding-left: 1rem;
  border-left: 2px solid rgba(196,164,107,0.3);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.2rem;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 8px;
  color: #5de084;
  font-size: 0.78rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.25s;
  margin-bottom: 1rem;
}

.footer-wa-btn:hover { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.4); color: #5de084; }
.footer-wa-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-hours { font-size: 0.78rem; font-weight: 300; color: rgba(245,240,232,0.4); line-height: 1.6; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(196,164,107,0.12);
}

.footer-copy { font-size: 0.75rem; font-weight: 300; color: rgba(245,240,232,0.3); letter-spacing: 0.04em; }

.footer-socials { display: flex; gap: 1rem; }

.social-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(196,164,107,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.35);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ── BUTTONS (shared) ── */
.btn {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border: 0.5px solid var(--border-light);
  background: white;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition);
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-primary { background: var(--gold); border-color: var(--gold); color: white; }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: white; }
.btn-outline { border-color: var(--border-light); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    overflow: visible;
    z-index: 120;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 5%;
    right: 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 1rem;
    list-style: none;
    background: rgba(250, 247, 242, 0.98);
    border: 1px solid rgba(196, 164, 107, 0.2);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(44,31,20,0.12);
    z-index: 130;
    pointer-events: auto;
  }
  .nav-links.active { display: flex; }
  .nav-links li,
  .nav-links a,
  .nav-links .nav-cta { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.75);
  }
  .nav-links .nav-cta {
    display: flex;
    justify-content: center;
    padding: 0.85rem 1rem;
  }
  .nav-hamburger { display: flex; }
  .nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-hamburger.active span:nth-child(2) { opacity: 0; }
  .nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 560px) {
  body { padding-top: 60px; }
  nav { height: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
  footer::after { font-size: 4rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  footer { padding: 3rem 5% 2rem; }
}
