/* ============================================
   dollbox — Antique Maid Cafe
   Common Styles
============================================ */

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

:root {
  /* Palette rebalanced to match dollbox logo:
     dark chocolate brown + argyle pink + soft cream + antique gold */
  --ivory: #fbf3ec;         /* cream / paper */
  --ivory-2: #f5e6dc;
  --paper: #fbf3ec;
  --sepia-1: #3a1e15;       /* dark chocolate brown (logo main) */
  --sepia-2: #4e2a1c;
  --sepia-3: #6b3a28;
  --burgundy: #c76d84;      /* argyle pink accent */
  --burgundy-deep: #a54a63;
  --pink-soft: #f1c9d4;
  --pink-pale: #fce4ea;
  --gold: #b8945a;
  --gold-light: #d4b47a;
  --gold-deep: #8a6a3a;
  --ink: #2a120b;
  --shadow: rgba(58,30,21,0.35);

  --f-serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --f-latin: "Cormorant Garamond", "Playfair Display", serif;
  --f-orn: "Cinzel", "Cormorant Garamond", serif;
  --f-sans: "Noto Sans JP", -apple-system, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--sepia-1);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(184,148,90,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(122,46,42,0.06) 0%, transparent 60%),
    var(--paper);
  background-attachment: fixed;
  position: relative;
}

/* Subtle paper texture via SVG noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0 0.08 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--burgundy); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--gold-deep); }

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

/* ============================================
   Layout
============================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ============================================
   Typography
============================================ */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 500; color: var(--sepia-1); line-height: 1.35; letter-spacing: 0.02em; }

.eyebrow {
  font-family: var(--f-orn);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.eyebrow--light { color: var(--gold-light); }

.section-title {
  font-family: var(--f-serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--sepia-1);
  margin: 8px 0 6px;
  letter-spacing: 0.05em;
}
.section-title .latin {
  display: block;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-deep);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .ornament { margin: 16px auto 0; }

/* ============================================
   Gold ornaments — divider, corners
============================================ */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.ornament .line { flex: 0 0 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ornament .diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.ornament-lg .line { flex-basis: 120px; }

/* Key SVG spec — used in monogram */
.key-icon {
  width: 22px; height: 22px;
  color: var(--gold);
}

/* ============================================
   Header
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,239,228,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,148,90,0.28);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(58,30,21,0.15));
  transition: transform .4s ease;
}
.brand:hover .brand-logo { transform: scale(1.03) rotate(-1deg); }
.footer-logo {
  height: 96px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav a {
  font-family: var(--f-serif);
  font-size: 12.5px;
  color: var(--sepia-1);
  letter-spacing: 0.12em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all .3s ease;
  transform: translateX(-50%);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--burgundy); }

.nav-latin {
  display: block;
  font-family: var(--f-latin);
  font-size: 9px;
  color: var(--gold-deep);
  letter-spacing: 0.3em;
  font-style: italic;
  text-transform: uppercase;
  margin-top: 2px;
  text-align: center;
}

.reserve-btn {
  padding: 12px 22px 12px 40px;
  background: var(--sepia-1);
  color: var(--ivory);
  font-family: var(--f-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  display: inline-block;
  position: relative;
  border-radius: 999px;
}
.reserve-btn::before {
  content: "♡";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--pink-soft);
  font-size: 14px;
}
.reserve-btn:hover { background: var(--burgundy); color: #fff; }

/* ============================================
   Sub-hero (for inner pages)
============================================ */
.subhero {
  position: relative;
  padding: 80px 0 60px;
  background:
    linear-gradient(180deg, rgba(42,27,21,0.85), rgba(42,27,21,0.72)),
    var(--sepia-1);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
}
.subhero::before,
.subhero::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.subhero::before { top: 24px; }
.subhero::after { bottom: 24px; }
.subhero .eyebrow { color: var(--gold-light); }
.subhero .section-title { color: var(--ivory); font-size: 42px; }
.subhero .section-title .latin { color: var(--gold-light); }

.breadcrumb {
  font-family: var(--f-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(242,234,217,0.65);
  margin-top: 24px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb .sep { margin: 0 12px; color: var(--gold); }

/* ============================================
   Buttons
============================================ */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 0.24em;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--sepia-1);
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(184,148,90,0.35);
  pointer-events: none;
  transition: all .3s ease;
}
.btn:hover { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
.btn:hover::before { border-color: rgba(212,180,122,0.5); }

.btn-dark {
  background: var(--sepia-1);
  color: var(--ivory);
  border-color: var(--gold);
}
.btn-dark:hover { background: var(--burgundy); }

/* ============================================
   Footer
============================================ */
.site-footer {
  background: var(--sepia-1);
  color: rgba(242,234,217,0.75);
  padding: 72px 0 32px;
  margin-top: 100px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.site-footer .brand-name { color: var(--ivory); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(184,148,90,0.2);
}
.site-footer h4 {
  font-family: var(--f-orn);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 13px; }
.site-footer a { color: rgba(242,234,217,0.75); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .info-line { font-size: 13px; margin: 6px 0; }
.site-footer .info-line .label {
  display: inline-block;
  min-width: 44px;
  color: var(--gold-light);
  font-family: var(--f-orn);
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-right: 10px;
}
.site-footer .footer-copy {
  padding-top: 32px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(242,234,217,0.4);
  font-family: var(--f-orn);
}

/* ============================================
   Cards / Frames
============================================ */
.card {
  background: var(--ivory);
  padding: 32px;
  position: relative;
}
.card--framed {
  border: 1px solid rgba(184,148,90,0.4);
  padding: 40px 32px;
}
.card--framed::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184,148,90,0.2);
  pointer-events: none;
}

.gold-corners {
  position: relative;
}
.gold-corners::before,
.gold-corners::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
}
.gold-corners::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.gold-corners::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ============================================
   Utilities
============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--sepia-3); }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }
.section { padding: 90px 0; }
.section-dark {
  background:
    linear-gradient(180deg, rgba(42,27,21,0.95), rgba(42,27,21,0.9)),
    var(--sepia-1);
  color: var(--ivory);
  position: relative;
}
.section-dark .section-title { color: var(--ivory); }
.section-dark .section-title .latin { color: var(--gold-light); }
.section-dark .eyebrow { color: var(--gold-light); }

/* Antique paper card */
.paper-card {
  background: var(--ivory);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(184,148,90,0.08), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(122,46,42,0.05), transparent 60%);
  border: 1px solid rgba(90,58,42,0.15);
  padding: 40px;
  position: relative;
}

/* Ornate frame around image */
.frame-gold {
  padding: 8px;
  background:
    linear-gradient(135deg, #d4b47a 0%, #8a6a3a 40%, #b8945a 60%, #d4b47a 100%);
  position: relative;
}
.frame-gold::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(42,27,21,0.35);
  pointer-events: none;
  z-index: 2;
}
.frame-gold img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  .nav { gap: 18px; order: 3; flex-basis: 100%; justify-content: center; }
  .nav a { font-size: 12px; }
  .nav-latin { display: none; }
  .section-title { font-size: 26px; }
  .subhero .section-title { font-size: 32px; }
  .section { padding: 60px 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
