/* Terra Levant Luxury Styling */

:root {
  --gold-light: #fcedc7;
  --gold-primary: #dfb958;
  --gold-dark: #a17822;
  --emerald-deep: #04100c;
  --emerald-base: #081d16;
  --emerald-mid: #12392c;
}

/* Base Body Background Pattern with subtle Levant damask touch */
body {
  background-color: var(--emerald-deep);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(18, 57, 44, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(200, 90, 50, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(223, 185, 88, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom Gold Gradient Text */
.gold-text-gradient {
  background: linear-gradient(135deg, #fcedc7 0%, #dfb958 50%, #a17822 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pillar Card Hover Polish */
.pillar-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(223, 185, 88, 0.12), transparent);
  transition: left 0.6s ease;
}

.pillar-card:hover::before {
  left: 100%;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 185, 88, 0.15);
}

/* Language Switcher Component */
.lang-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(8, 29, 22, 0.85);
  border: 1px solid rgba(223, 185, 88, 0.35);
  border-radius: 9999px;
  padding: 3px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  position: relative;
  z-index: 2;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  border: none;
  background: transparent !important;
  color: rgba(223, 185, 88, 0.7) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  color: #fcedc7 !important;
}

.lang-btn.active {
  background: linear-gradient(135deg, #dfb958 0%, #fcedc7 50%, #dfb958 100%) !important;
  color: #04100c !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(223, 185, 88, 0.45) !important;
}

/* Ambient Pulse Animation */
@keyframes ambientPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.ambient-glow {
  animation: ambientPulse 8s ease-in-out infinite alternate;
}

/* Subtle entrance fade-in for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Dark Gold Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #04100c;
}

::-webkit-scrollbar-thumb {
  background: #1c4537;
  border-radius: 4px;
  border: 1px solid rgba(223, 185, 88, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: #dfb958;
}

/* ===== Opening site v3 ===== */

/* Hero wordmark shimmer: single sweep on load, gold foil */
.hero-shimmer {
  background: linear-gradient(110deg, #a17822 0%, #dfb958 25%, #fcedc7 50%, #dfb958 75%, #a17822 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 2.8s ease-out 1 both;
}
@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

/* Gallery lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 16, 12, 0.92);
  backdrop-filter: blur(10px);
  animation: lightboxFade 0.25s ease-out both;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  border: 1px solid rgba(223, 185, 88, 0.35);
  box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(223, 185, 88, 0.12);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #fcedc7;
  background: rgba(8, 29, 22, 0.8);
  border: 1px solid rgba(223, 185, 88, 0.4);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  color: #04100c;
  background: #dfb958;
  border-color: #dfb958;
  transform: scale(1.06);
}
@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay { animation: none; }
}

/* Ornament section divider (❖ between hairlines) */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(223, 185, 88, 0.6);
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(223, 185, 88, 0.4));
}
.ornament-divider::after {
  background: linear-gradient(90deg, rgba(223, 185, 88, 0.4), transparent);
}

/* Nav links with growing hairline */
.nav-link {
  position: relative;
  padding: 0.25rem 0;
  color: rgba(252, 237, 199, 0.85);
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: #dfb958;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: #fcedc7; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after { transform: scaleX(1); }

/* Menu typography */
.menu-item { padding: 0.55rem 0; }
.menu-item-name {
  color: #fcedc7;
  font-weight: 500;
  font-size: 0.95rem;
}
.menu-item-price {
  color: #dfb958;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.95rem;
}
.menu-item-desc {
  color: rgba(252, 237, 199, 0.55);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.15rem;
  max-width: 56ch;
}
.menu-dots {
  flex: 1;
  margin: 0 0.6rem;
  border-bottom: 1px dotted rgba(223, 185, 88, 0.3);
  transform: translateY(-4px);
}
.menu-tag {
  font-size: 0.6rem;
  vertical-align: super;
  color: rgba(223, 185, 88, 0.75);
  margin-left: 0.25rem;
}

/* Sticky category chip nav */
.chip-nav {
  position: sticky;
  top: 0.5rem;
  z-index: 15;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
  scrollbar-width: none;
}
.chip-nav::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(223, 185, 88, 0.3);
  background: rgba(8, 29, 22, 0.85);
  color: rgba(252, 237, 199, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.chip:hover { border-color: rgba(223, 185, 88, 0.7); color: #fcedc7; }
.chip.active {
  background: linear-gradient(135deg, #dfb958, #fcedc7 50%, #dfb958);
  color: #04100c;
  font-weight: 600;
  border-color: transparent;
}

/* Genussreise banquet banner (the one terracotta moment) */
.genussreise-banner {
  border: 1px solid rgba(200, 90, 50, 0.55);
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 90, 50, 0.18), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(200, 90, 50, 0.12), transparent 55%),
    rgba(8, 29, 22, 0.8);
  border-radius: 1rem;
}

/* Oma quote */
.oma-quote {
  font-family: 'Alex Brush', cursive;
  font-size: 1.6rem;
  color: #dfb958;
}
.story-script {
  font-family: 'Alex Brush', cursive;
  color: #dfb958;
}

/* Reduced motion: kill the orchestrated entrance */
@media (prefers-reduced-motion: reduce) {
  .hero-shimmer { animation: none; }
  main { animation: none; }
}

/* Focus visibility floor */
a:focus-visible, button:focus-visible {
  outline: 2px solid #dfb958;
  outline-offset: 3px;
  border-radius: 4px;
}
