/* ==========================================================================
   SILK & MARRY — LUXURY GLOBAL SITE SHELL (HEADER, FOOTER, NAV, FONTS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --sm-ivory: #faf4ef;
  --sm-cream: #fff8f3;
  --sm-cream-card: #fdf8f4;
  --sm-champagne: #ecd8ca;
  --sm-gold-accent: #d8b492;
  --sm-copper: #9f5742;
  --sm-copper-dark: #7d3b2a;
  --sm-copper-light: #b86d56;
  --sm-script-gold: #aa6550;
  --sm-espresso: #42231c;
  --sm-text-dark: #3a2019;
  --sm-text-muted: #6e493e;
  --sm-border: rgba(159, 87, 66, 0.16);
  --sm-border-gold: rgba(216, 180, 146, 0.55);
  --sm-shadow: 0 10px 30px rgba(85, 42, 31, 0.08);
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Great Vibes', 'Alex Brush', cursive;
}

/* -------------------------------------------------------------
   GLOBAL HEADER & NAVIGATION (Always visible on subpages)
   ------------------------------------------------------------- */
.sm-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 244, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 180, 146, 0.35);
  box-shadow: 0 4px 20px rgba(66, 35, 28, 0.08);
}

.sm-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.sm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.sm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.sm-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.sm-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-nav-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sm-espresso);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.sm-nav-links a:hover,
.sm-nav-links a.is-active {
  color: var(--sm-copper);
}

.sm-nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--sm-copper);
  border-radius: 1px;
}

.sm-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sm-copper), var(--sm-copper-dark));
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(125, 59, 42, 0.22);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sm-btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(125, 59, 42, 0.32);
  background: linear-gradient(135deg, var(--sm-copper-light), var(--sm-copper));
}

.sm-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--sm-espresso);
  cursor: pointer;
  padding: 8px;
}

.sm-mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fdf8f4;
  border-bottom: 1px solid rgba(216, 180, 146, 0.4);
  box-shadow: 0 16px 36px rgba(66, 35, 28, 0.12);
  padding: 20px 24px 28px;
}

.sm-mobile-drawer.is-open {
  display: block;
}

.sm-mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-mobile-drawer a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--sm-espresso);
  text-decoration: none;
}

.sm-mobile-drawer a:hover,
.sm-mobile-drawer a.is-active {
  color: var(--sm-copper);
}

/* -------------------------------------------------------------
   BREADCRUMBS
   ------------------------------------------------------------- */
.sm-breadcrumbs {
  background: #faefe6;
  border-bottom: 1px solid rgba(216, 180, 146, 0.25);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 12px;
}

.sm-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sm-text-muted);
}

.sm-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--sm-copper);
  opacity: 0.6;
}

.sm-breadcrumbs a {
  color: var(--sm-copper);
  text-decoration: none;
  font-weight: 500;
}

.sm-breadcrumbs a:hover {
  text-decoration: underline;
}

.sm-breadcrumbs [aria-current="page"] {
  color: var(--sm-espresso);
  font-weight: 600;
}

/* -------------------------------------------------------------
   PRE-FOOTER RIBBON & MAIN FOOTER
   ------------------------------------------------------------- */
.sm-footer {
  margin-top: auto;
  font-family: var(--font-sans);
}

.sm-prefooter-ribbon {
  background: linear-gradient(90deg, #7c3e2e 0%, #a45f49 32%, #b5745d 50%, #a45f49 68%, #7c3e2e 100%);
  color: #fff;
  padding: 24px 0;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.15);
}

.sm-ribbon-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr;
  gap: 20px;
  align-items: center;
}

.sm-ribbon-brand img {
  height: 48px;
  width: auto;
  display: block;
}

.sm-ribbon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.sm-ribbon-item:last-of-type {
  border-right: none;
}

.sm-ribbon-icon {
  color: #f7dfd6;
  flex-shrink: 0;
}

.sm-ribbon-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
}

.sm-ribbon-text span {
  display: block;
  font-size: 9px;
  color: #f5dfd5;
  margin-top: 1px;
}

.sm-ribbon-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.sm-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-social-icon {
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sm-social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.sm-ribbon-script {
  font-family: var(--font-script);
  font-size: 25px;
  color: #fff2ec;
  white-space: nowrap;
  line-height: 1;
}

.sm-bottom-bar {
  background: #361e18;
  color: #f0ded6;
  font-size: 10px;
  padding: 16px 0;
  letter-spacing: 0.04em;
}

.sm-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sm-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-bottom-links a {
  color: inherit;
  text-decoration: none;
}

.sm-bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* -------------------------------------------------------------
   MOBILE ACTION BAR & RESPONSIVE
   ------------------------------------------------------------- */
.sm-mobile-action-bar {
  display: none;
}

@media (max-width: 860px) {
  .sm-nav-links {
    display: none;
  }
  .sm-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sm-ribbon-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }
  .sm-ribbon-item {
    border-right: none;
  }
  .sm-ribbon-social {
    grid-column: 1 / -1;
    align-items: center;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }
  .sm-mobile-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(216, 180, 146, 0.35);
    box-shadow: 0 -4px 24px rgba(66, 35, 28, 0.1);
    z-index: 998;
    padding: 0 12px;
  }
  .sm-mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    color: var(--sm-espresso);
    padding: 6px 0;
    border-radius: 8px;
    text-decoration: none;
  }
  .sm-action-book {
    background: linear-gradient(135deg, var(--sm-copper), var(--sm-copper-dark));
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 12px;
    margin: 0 4px;
    box-shadow: 0 4px 14px rgba(125, 59, 42, 0.25);
  }
}
