/* main style file
   =========================================================
   AMIEFA BOUTIQUE — kebayadangaun.com
   Palette: ivory silk, deep wine (kebaya velvet), songket gold,
   forest green accent. Display serif for headings, clean sans
   for body. Signature: scalloped "songket" divider motif.
   ========================================================= */

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

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; color-scheme: light; }
body{
  margin:0;
  font-family: 'Jost', 'Segoe UI', sans-serif;
  color: #2B2420;
  background: #FAF5EC;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight:600; margin:0 0 .4em; color: #4A1420; }
p{ line-height:1.75; color: #5A4F45; margin:0 0 1em; }
.container{ max-width: 1180px; margin:0 auto; padding: 0 28px; }
.eyebrow{
  font-family: 'Jost', 'Segoe UI', sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  color: #B8935F;
  font-weight:600;
  display:inline-block;
  margin-bottom: .8em;
}
:focus-visible{ outline: 2px solid #B8935F; outline-offset: 3px; }

/* ---------- Placeholder image blocks ---------- */
.ph{
  background:
    repeating-linear-gradient(135deg, rgba(107,30,46,0.06) 0 12px, rgba(184,147,95,0.08) 12px 24px),
    linear-gradient(160deg, #F1E7D6, #e7d8c1);
  border: 1px solid rgba(107,30,46,0.18);
  display:flex; align-items:center; justify-content:center;
  color: #6B1E2E;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-style: italic;
  font-size: .95rem;
  letter-spacing:.02em;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.ph::after{
  content:"";
  position:absolute; inset:8px;
  border:1px solid rgba(184,147,95,0.5);
  pointer-events:none;
}
.ph span{ position:relative; z-index:1; padding: 0 12px; background: transparent; }

/* ---------- Scalloped songket divider (signature element) ---------- */
.scallop{
  width:100%; height:22px;
  background-repeat: repeat-x;
  background-size: 44px 22px;
  background-image: radial-gradient(circle at 22px 0, transparent 20px, #FAF5EC 21px);
}
.scallop.on-wine{ background-image: radial-gradient(circle at 22px 0, transparent 20px, #4A1420 21px); }
.scallop.on-forest{ background-image: radial-gradient(circle at 22px 0, transparent 20px, #24392E 21px); }
.scallop.flip{ transform: rotate(180deg); }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:100;
  padding: 22px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; }
.site-header.scrolled{
  background: #FAF5EC;
  padding: 12px 0;
  box-shadow: 0 2px 18px rgba(43,36,32,0.08);
}
.logo{
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight:600;
  letter-spacing:.03em;
  color: #6B1E2E;
}
.logo em{ font-style: italic; color: #B8935F; }
.nav-list{ display:flex; gap: 34px; }
.nav-list a{
  font-size: .82rem;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-weight:500;
  color: #2B2420;
  position:relative;
  padding: 4px 0;
}
.nav-list a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
  background: #B8935F; transition: width .3s ease;
}
.nav-list a:hover::after, .nav-list a.active::after{ width:100%; }
.nav-list a.active{ color: #6B1E2E; }

.nav-toggle{
  display:none; background:none; border:0; cursor:pointer;
  width: 30px; height: 22px; position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:0; width:100%; height:2px; background: #6B1E2E; transition: all .3s ease;
}
.nav-toggle span{ top:10px; }
.nav-toggle span::before{ top:-8px; }
.nav-toggle span::after{ top:8px; }
.nav-toggle.open span{ background: transparent; }
.nav-toggle.open span::before{ transform: rotate(45deg); top:0; }
.nav-toggle.open span::after{ transform: rotate(-45deg); top:0; }

/* ---------- Hero ---------- */
.hero{
  position:relative; height: 92vh; min-height: 560px; overflow:hidden;
  display:flex; align-items:flex-end;
}
.hero-slide{
  position:absolute; inset:0; opacity:0; transition: opacity 1.4s ease;
}
.hero-slide.active{ opacity:1; }
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(43,36,32,0.15) 0%, rgba(43,36,32,0.55) 100%);
  z-index:1;
}
.hero-content{
  position:relative; z-index:2; padding: 0 28px 72px; max-width: 1180px; margin:0 auto; width:100%;
  color: #FAF5EC;
}
.hero-content .eyebrow{ color: #D8BE8E; }
.hero-content h1{
  color: #FAF5EC;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.1;
  max-width: 16ch;
}
.hero-content p{ color: rgba(250,245,236,0.85); max-width: 46ch; font-size: 1.05rem; }
.hero-dots{ display:flex; gap:8px; margin-top: 22px; }
.hero-dots button{
  width:8px; height:8px; border-radius:50%; border:1px solid #D8BE8E;
  background: transparent; cursor:pointer; padding:0;
}
.hero-dots button.active{ background: #D8BE8E; }

.btn{
  display:inline-block; padding: 14px 30px;
  font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  border: 1px solid #B8935F; color: #4A1420; background: #D8BE8E;
  transition: background .3s ease, color .3s ease, transform .3s ease;
  cursor:pointer;
}
.btn:hover{ background: #B8935F; transform: translateY(-2px); }
.btn.ghost{ background: transparent; color: #FAF5EC; border-color: #FAF5EC; }
.btn.ghost:hover{ background: #FAF5EC; color: #4A1420; }

/* ---------- Sections ---------- */
section{ padding: 92px 0; }
section.section-tight{ padding-top: 36px; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.welcome{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items:center; }
.welcome .ph{ height: 460px; }
.welcome ul.perks{ margin-top: 1.4em; }
.welcome ul.perks li{ padding-left: 26px; position:relative; margin-bottom:.6em; color: #5A4F45; }
.welcome ul.perks li::before{
  content:"✦"; position:absolute; left:0; color: #B8935F; font-size:.8em; top:.25em;
}

.services{ background: #4A1420; color: #FAF5EC; }
.services .eyebrow{ color: #D8BE8E; }
.services .section-head h2{ color: #FAF5EC; }
.services .section-head p{ color: rgba(250,245,236,0.75); }
.service-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(250,245,236,0.15);
}
.service-card{
  background: #4A1420;
  padding: 38px 30px;
  transition: background .3s ease;
}
.service-card:hover{ background: #58101F; }
.service-card .num{ font-family: 'Cormorant Garamond', 'Times New Roman', serif; color: #B8935F; font-size: 1.6rem; font-style: italic; }
.service-card h3{ color: #FAF5EC; font-size: 1.35rem; margin-top:.2em; }
.service-card p{ color: rgba(250,245,236,0.72); font-size: .95rem; margin-bottom:0; }

.news{ }
.news-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card .ph{ height: 210px; margin-bottom: 20px; }
.news-card .date{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: #B8935F; font-weight:600; }
.news-card h3{ font-size: 1.3rem; margin-top:.3em; }
.news-card a.read{ font-size:.82rem; font-weight:600; letter-spacing:.06em; color: #6B1E2E; border-bottom: 1px solid #B8935F; }

/* ---------- About page ---------- */
.about-hero{
  padding: 168px 0 70px;
  background: #F1E7D6;
  text-align:center;
}
.about-hero h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); }
.about-story{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items:center; }
.about-story .ph{ height: 520px; }
.about-story blockquote{
  font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-style: italic; color: #6B1E2E; font-size: 1.3rem;
  border-left: 3px solid #B8935F; padding-left: 20px; margin: 1.4em 0;
}
.signature-name{ font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-style: italic; font-size: 1.4rem; color: #4A1420; }

.values{ background: #24392E; color: #FAF5EC; text-align:center; }
.values .section-head h2{ color: #FAF5EC; }
.values .section-head p{ color: rgba(250,245,236,0.75); }
.value-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.value-grid h3{ color: #D8BE8E; font-size:1.15rem; }
.value-grid p{ color: rgba(250,245,236,0.7); font-size:.92rem; }

/* ---------- Contact page ---------- */
.contact-hero{ padding: 168px 0 60px; background: #F1E7D6; text-align:center; }
.contact-wrap{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.info-card{ background: #4A1420; color: #FAF5EC; padding: 44px 38px; }
.info-card h3{ color: #D8BE8E; font-size:1rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:.3em;}
.info-card p{ color: rgba(250,245,236,0.85); }
.info-card .info-row{ margin-bottom: 26px; }
.info-card .info-row:last-child{ margin-bottom:0; }
.map-ph{ height: 240px; margin-top: 28px; }

.form-field{ margin-bottom: 22px; }
.form-field label{
  display:block; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  color: #6B1E2E; font-weight:600; margin-bottom:8px;
}
.form-field input, .form-field textarea{
  width:100%; border: 1px solid rgba(107,30,46,0.18); background: #FAF5EC;
  padding: 13px 14px; font-family: 'Jost', 'Segoe UI', sans-serif; font-size: .95rem; color: #2B2420;
}
.form-field input:focus, .form-field textarea:focus{ border-color: #B8935F; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note{
  font-size:.85rem; padding: 12px 16px; border-left: 3px solid #B8935F;
  background: #F1E7D6; display:none;
}
.form-note.show{ display:block; }
.form-note.error{ border-left-color: #6B1E2E; color: #4A1420; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- Footer ---------- */
.site-footer{ background: #4A1420; color: rgba(250,245,236,0.75); padding: 56px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4{ color: #D8BE8E; font-size:.85rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom: 1em; }
.footer-grid p, .footer-grid a{ color: rgba(250,245,236,0.7); font-size:.92rem; }
.footer-logo{ font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-size:1.5rem; color: #FAF5EC; margin-bottom:.4em; }
.social-row{ display:flex; gap: 14px; margin-top: 16px; }
.social-row a{
  width: 34px; height:34px; border:1px solid #B8935F; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:.8rem; color: #D8BE8E;
}
.footer-bottom{
  border-top: 1px solid rgba(250,245,236,0.15); padding-top: 22px;
  display:flex; justify-content:space-between; font-size:.8rem; color: rgba(250,245,236,0.5);
}

/* ---------- Gallery page ---------- */
.gallery-hero{ padding: 168px 0 40px; background: #F1E7D6; text-align:center; }
.gallery-hero h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); }
.gallery-hero p{ max-width: 56ch; margin: 0 auto; }
.gallery-grid{ display:grid; grid-template-columns: repeat(3, 1fr); column-gap: 28px; row-gap: 52px; }
.gallery-item .ph{
  height: 340px; width:100%; margin-bottom: 16px;
  border-radius: 3px; box-shadow: 0 10px 26px rgba(43,36,32,0.12);
}
.gallery-item .cat{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: #B8935F; font-weight:600; }
.gallery-item h3{ font-size: 1.1rem; margin-top:.25em; }

/* ---------- Price list page ---------- */
.pricelist-hero{ padding: 168px 0 40px; background: #F1E7D6; text-align:center; }
.pricelist-hero h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); }
.price-block{ margin-bottom: 56px; }
.price-block:last-child{ margin-bottom:0; }
.price-block h2{ font-size: 1.5rem; margin-bottom: .8em; }
.table-wrap{
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(107,30,46,0.18); border-radius: 6px;
  box-shadow: 0 10px 26px rgba(43,36,32,0.08);
}
.price-table{ width:100%; min-width: 480px; border-collapse:collapse; background: #FAF5EC; }
.price-table thead th{
  background: #4A1420; color: #FAF5EC;
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  padding: 16px 20px; text-align:left; white-space:nowrap;
}
.price-table td{ padding:16px 20px; border-bottom:1px solid rgba(107,30,46,0.18); color: #5A4F45; vertical-align: middle; }
.price-table tbody tr:last-child td{ border-bottom:none; }
.price-table tbody tr:nth-child(even){ background: #F1E7D6; }
.price-table td.range{ color: #6B1E2E; font-weight:600; white-space:nowrap; text-align:right; }
.price-table th:last-child, .price-table td:last-child{ text-align:right; }
.price-note{ font-size:.85rem; color: #5A4F45; border-left: 3px solid #B8935F; padding: 14px 18px; background: #F1E7D6; margin-top: 40px; }

/* ---------- How to Order page ---------- */
.order-hero{ padding: 168px 0 40px; background: #F1E7D6; text-align:center; }
.order-hero h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); }
.steps-list{ max-width: 780px; margin: 0 auto; }
.step-item{ display:grid; grid-template-columns: 70px 1fr; gap: 26px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(107,30,46,0.18); }
.step-item:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.step-item .num{ font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-style: italic; font-size: 2.2rem; color: #B8935F; line-height:1; }
.step-item h3{ font-size: 1.25rem; }
.step-item p{ margin-bottom:0; }

/* ---------- Articles page ---------- */
.articles-hero{ padding: 168px 0 40px; background: #F1E7D6; text-align:center; }
.articles-hero h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* ---------- FAQ page ---------- */
.faq-hero{ padding: 168px 0 40px; background: #F1E7D6; text-align:center; }
.faq-hero h1{ font-size: clamp(2.2rem, 5vw, 3.2rem); }
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{ border-bottom: 1px solid rgba(107,30,46,0.18); padding: 22px 0; }
.faq-item summary{
  font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-size: 1.15rem; color: #4A1420; cursor:pointer;
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap: 20px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-family: 'Jost', 'Segoe UI', sans-serif; color: #B8935F; font-size: 1.4rem; flex-shrink:0; }
.faq-item[open] summary::after{ content:"\2212"; }
.faq-item p{ margin: 14px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .nav-list{
    position: fixed; top:0; right:0; height:100vh; width: 74%; max-width: 320px;
    background: #FAF5EC; flex-direction:column; padding: 110px 36px; gap: 26px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -8px 0 24px rgba(0,0,0,0.08);
    overflow-y: auto;
  }
  .nav-list.open{ transform: translateX(0); }
  .nav-toggle{ display:block; }
  .welcome, .about-story, .contact-wrap{ grid-template-columns: 1fr; }
  .service-grid, .news-grid, .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .value-grid{ grid-template-columns: 1fr 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .step-item{ grid-template-columns: 44px 1fr; gap: 16px; }
  section{ padding: 64px 0; }
  section.section-tight{ padding-top: 28px; }
}

@media (max-width: 640px){
  .container{ padding: 0 20px; }
  .hero{ height: auto; min-height: 620px; }
  .hero-slide span{ display:none; }
  .about-hero, .contact-hero, .gallery-hero, .pricelist-hero, .order-hero, .articles-hero, .faq-hero{
    padding-top: 128px;
  }
  section{ padding: 48px 0; }
  section.section-tight{ padding-top: 22px; }
  .service-grid, .news-grid, .gallery-grid{ grid-template-columns: 1fr; }
  .value-grid{ grid-template-columns: 1fr; }
  .about-story .ph{ height: 340px; }
  .welcome .ph{ height: 300px; }
  .gallery-item .ph{ height: 260px; }
  .step-item{ grid-template-columns: 1fr; gap: 6px; }
  .price-table th, .price-table td{ padding: 12px 14px; font-size: .9rem; }
  .info-card{ padding: 32px 26px; }
  .footer-bottom{ flex-direction: column; gap: 8px; text-align:center; }
}
