/* ============================================================
   O'BEAU — Design System
   ============================================================ */

/* ── Variables ── */
:root {
  --ivory:      #F5F1EA;
  --ivory-dark: #E8DED1;
  --espresso:   #2A211C;
  --gold:       #B08A52;
  --gold-light: #C9A96E;
  --stone:      #D8CCBD;
  --warm-gray:  #8B7B6B;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', system-ui, sans-serif;
}

/* ── Global resets for Elementor pages ── */
body,
.elementor-page {
  background-color: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.elementor-page h1,
.elementor-page h2,
.elementor-page h3,
.elementor-page h4,
.elementor-page h5,
.elementor-page h6 {
  font-family: var(--font-serif);
  font-weight: 300;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--gold);
  color: var(--ivory);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--espresso);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-secondary:hover {
  background-color: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
}

.btn-gold {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--gold);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-gold:hover {
  background-color: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
}

.btn-outline-ivory {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ivory);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-ivory:hover {
  background-color: var(--ivory);
  color: var(--espresso);
  text-decoration: none;
}

/* ── Typography helpers ── */
.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.2;
}

/* ── Dividers ── */
.divider-gold {
  width: 48px;
  height: 1px;
  background-color: var(--gold);
  margin: 24px auto;
}

.divider-gold-left {
  width: 48px;
  height: 1px;
  background-color: var(--gold);
  margin: 24px 0;
}

/* ── Image hover zoom ── */
.img-hover-zoom {
  overflow: hidden;
}
.img-hover-zoom img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-hover-zoom:hover img {
  transform: scale(1.04);
}

/* ── Marquee animation ── */
@keyframes obeau-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.animate-marquee {
  animation: obeau-marquee 30s linear infinite;
}

/* ── Fade-in-up (hero) ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ── Scroll-reveal helper ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Elementor Slides widget overrides ── */
.elementor-widget-slides .elementor-slides-wrapper {
  border-radius: 0 !important;
}
.elementor-widget-slides .swiper-slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ── Navigation (fixed top bar) ── */
#obeau-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
#obeau-nav.scrolled {
  background-color: rgba(245, 241, 234, 0.97);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 0 rgba(216, 204, 189, 0.5);
}
#obeau-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
#obeau-nav.scrolled .nav-inner {
  border-color: rgba(216, 204, 189, 0.6);
}
#obeau-nav .nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}
#obeau-nav .nav-logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: white;
  line-height: 1.2;
  transition: color 0.4s ease;
}
#obeau-nav .nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  transition: color 0.4s ease;
}
#obeau-nav.scrolled .nav-logo-name { color: var(--espresso); }
#obeau-nav.scrolled .nav-logo-sub  { color: var(--warm-gray); }

#obeau-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#obeau-nav .nav-links a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}
#obeau-nav .nav-links a:hover { color: var(--gold); }
#obeau-nav.scrolled .nav-links a { color: var(--espresso); }
#obeau-nav.scrolled .nav-links a:hover { color: var(--gold); }

#obeau-nav .nav-cta {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}
#obeau-nav .nav-cta:hover {
  background-color: white;
  color: var(--espresso);
}
#obeau-nav.scrolled .nav-cta {
  border-color: var(--espresso);
  color: var(--espresso);
}
#obeau-nav.scrolled .nav-cta:hover {
  background-color: var(--espresso);
  color: var(--ivory);
}

/* Mobile nav */
#obeau-nav .nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: 4px;
  transition: color 0.4s ease;
}
#obeau-nav.scrolled .nav-mobile-btn { color: var(--espresso); }
@media (max-width: 1023px) {
  #obeau-nav .nav-links,
  #obeau-nav .nav-cta { display: none; }
  #obeau-nav .nav-mobile-btn { display: block; }
}

#obeau-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#obeau-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
#obeau-mobile-menu .menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 33, 28, 0.5);
  backdrop-filter: blur(4px);
}
#obeau-mobile-menu .menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 100%;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}
#obeau-mobile-menu.open .menu-panel { transform: translateX(0); }
#obeau-mobile-menu .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--stone);
}
#obeau-mobile-menu .menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
#obeau-mobile-menu .menu-body a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--espresso);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
#obeau-mobile-menu .menu-body a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
}
#obeau-mobile-menu .menu-footer {
  padding: 24px;
  border-top: 1px solid var(--stone);
}

/* ── Footer ── */
#obeau-footer {
  background-color: var(--espresso);
  color: rgba(245, 241, 234, 0.7);
}
#obeau-footer a {
  color: rgba(245, 241, 234, 0.65);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  transition: color 0.2s ease;
}
#obeau-footer a:hover { color: var(--gold); }
#obeau-footer .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px 48px;
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
}
#obeau-footer .footer-brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
#obeau-footer .footer-col-title {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
#obeau-footer .footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(245, 241, 234, 0.55);
}
@media (max-width: 1023px) {
  #obeau-footer .footer-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }
  #obeau-footer .footer-bottom {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
}

/* ── Elementor: push content below fixed nav ── */
.elementor-page .elementor-section:first-child {
  /* The hero is full-height, nav overlays it — no push needed */
}

/* Elementor full-width canvas fix */
.elementor-template-canvas #page,
.elementor-template-canvas #content,
.elementor-template-canvas .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
