@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F5F0E8;
}

.font-serif-display {
  font-family: 'Playfair Display', 'Georgia', serif;
}

.font-serif-body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.parchment-bg {
  background-color: #F5F0E8;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

.mandala-pattern {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(191, 155, 82, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(191, 155, 82, 0.06) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='%23BF9B52' stroke-width='0.3' opacity='0.12'/%3E%3Ccircle cx='40' cy='40' r='20' fill='none' stroke='%23BF9B52' stroke-width='0.3' opacity='0.08'/%3E%3Ccircle cx='40' cy='40' r='10' fill='none' stroke='%23BF9B52' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E");
}

.gold-border-ornate {
  border: 1px solid rgba(191, 155, 82, 0.3);
  box-shadow: inset 0 0 30px rgba(191, 155, 82, 0.05), 0 4px 30px rgba(0,0,0,0.08);
}

.gold-glow {
  box-shadow: 0 0 40px rgba(191, 155, 82, 0.15), 0 8px 32px rgba(0,0,0,0.1);
}

.gold-text-gradient {
  background: linear-gradient(135deg, #BF9B52 0%, #E8D5A3 40%, #BF9B52 60%, #8B6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.book-shadow {
  box-shadow: -8px 8px 30px rgba(0,0,0,0.3), 0 0 60px rgba(191,155,82,0.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(90deg, #BF9B52 0%, #E8D5A3 25%, #BF9B52 50%, #E8D5A3 75%, #BF9B52 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes bounce-slow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}

.nav-hidden {
  transform: translateY(-100%);
}

.nav-visible {
  transform: translateY(0);
}

.ornate-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.ornate-divider::before,
.ornate-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #BF9B52, transparent);
}

.luxury-input {
  background: rgba(245, 240, 232, 0.72);
  border: 1px solid rgba(191, 155, 82, 0.3);
  transition: all 0.3s ease;
}

.luxury-input::placeholder {
  color: rgba(68, 64, 60, 0.78);
}

.luxury-input:focus {
  border-color: #BF9B52;
  box-shadow: 0 0 0 3px rgba(191, 155, 82, 0.1);
  background: rgba(245, 240, 232, 0.95);
}

.luxury-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(139, 105, 20, 0.8) 50%), linear-gradient(135deg, rgba(139, 105, 20, 0.8) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 3.5rem;
}

.luxury-btn {
  background: linear-gradient(135deg, #BF9B52, #D4AF61, #BF9B52);
  color: #2C1810;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.luxury-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.5s;
}

.luxury-btn:hover::before {
  left: 100%;
}

.luxury-btn:hover {
  box-shadow: 0 4px 20px rgba(191, 155, 82, 0.4);
  transform: translateY(-2px);
}

.corner-ornament {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.2;
}

.corner-ornament svg {
  width: 100%;
  height: 100%;
}
