/* custom design system */
:root {
  --primary: #4A5C3E; /* Brand Green */
  --secondary: #FAF8F5; /* Brand Cream */
  --accent: #C9A961; /* Brand Gold */
  --text: #523e25; /* Deep Brown Text */
  --gold: #C9A961; /* Brand Gold (Legacy) */
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Spacers */
.section-spacer {
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .section-spacer {
    margin-bottom: 120px;
  }
}

.heading-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.section-heading-text {
  font-family: 'Playfair Display', 'Shippori Mincho', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-heading-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

@media (min-width: 768px) {
  .section-heading-text {
    font-size: 2.5rem;
  }
}

/* Scrolled Header */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

header.scrolled .logo a {
  color: var(--accent);
}

/* SP menu animations */
#sp-menu.open {
  transform: translateX(0);
}

#menu-toggle.open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.open .line2 {
  opacity: 0;
}

#menu-toggle.open .line3 {
  transform: rotate(-45deg) translate(7px, -8px);
}

/* Fixed Background Sim */
.fixed-bg {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .fixed-bg {
    background-attachment: fixed;
  }
}

/* Button shapes & micro-animations */
button,
a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-floating-btn {
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Card & Box Styling */
.premium-box {
  background-color: #FFFFFF;
  border: 1px solid rgba(104, 92, 39, 0.2);
  box-shadow:
    0 10px 30px -5px rgba(82, 62, 37, 0.05),
    0 20px 60px -10px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-card-hover:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow:
    0 30px 70px -10px rgba(82, 62, 37, 0.1),
    0 10px 30px -5px rgba(0, 0, 0, 0.03);
}

/* Custom table menu */
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(104, 92, 39, 0.2);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

/* Voice & Staff Cards */
.voice-card,
.staff-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(104, 92, 39, 0.2);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Border Radius for images */
img,
.gallery-item {
  border-radius: 12px;
}

/* Ensure FV images remain full bleed if they were intended to be */
#fv img {
  border-radius: 0;
}

/* Prevent text selection */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Custom Lightbox Styling (Luminous override) */
.lum-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.95) !important;
  z-index: 2000 !important;
}

.lum-lightbox-inner {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lum-img {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: 85vw !important;
  max-height: 80vh !important;
  width: auto !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
  animation: lum-middle-open 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: block !important;
  z-index: 2005 !important;
  margin: 0 !important;
}

@keyframes lum-middle-open {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.lum-close-button {
  position: fixed !important;
  top: 30px !important;
  right: 30px !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  border: none !important;
  font-size: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 2200 !important;
  outline: none !important;
}

.lum-close-button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: rotate(90deg);
}

.lum-close-button::before,
.lum-close-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
}

.lum-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lum-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hide navigation arrows as requested */
.lum-previous-button,
.lum-next-button {
  display: none !important;
}

/* Re-enable for forms if any, but since it's an LP with links mainly, we keep it tight */
input,
textarea {
  user-select: text;
}

/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}