@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-gold {
  background: var(--gold-primary);
  color: #fff;
  border: 2px solid var(--gold-primary);
}
.btn-gold:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
}
.btn-outline:hover {
  background: var(--gold-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-title span { color: var(--gold-primary); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle { margin: 0 auto; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold-primary);
  margin: 16px auto;
  border-radius: 2px;
}

section { padding: 80px 0; }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Utility */
.text-gold { color: var(--gold-primary); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Gold line decorators */
.gold-line::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold-primary);
  margin-top: 12px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--gold-primary); border-radius: 4px; }

/* Toast notification */
#toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.3s ease, fadeOut 0.4s ease 2.6s forwards;
  max-width: 320px;
}
.toast-msg.success { border-left: 4px solid #4CAF50; }
.toast-msg.error   { border-left: 4px solid #f44336; }
.toast-msg.info    { border-left: 4px solid var(--gold-primary); }

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeOut {
  to { opacity:0; transform:translateY(-10px); }
}

/* Gold sparkles */
.sparkle-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE566, #C9A84C 60%, transparent);
  pointer-events: none;
  z-index: 1;
  animation: sparkle-pulse var(--sp-dur, 2s) ease-in-out var(--sp-delay, 0s) infinite;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 0; transform: scale(0.2); }
  50%       { opacity: var(--sp-opacity, 0.7); transform: scale(1); }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .container { padding: 0 16px; }
}
