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

html, body {
  background: #F5EFE2;
  color: #071C2C;
}

body {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ---------- Language toggling (no build step: dual-render + CSS visibility) ---------- */
html[data-lang="en"] [data-ru] { display: none !important; }
html[data-lang="ru"] [data-en] { display: none !important; }

/* ---------- Buttons ---------- */
.btn-gold,
.btn-outline,
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold {
  background: #C79A3B;
  color: #071C2C;
}
.btn-gold:hover {
  background: #D9B45A;
  box-shadow: 0 10px 15px -3px rgba(199, 154, 59, 0.2), 0 4px 6px -4px rgba(199, 154, 59, 0.2);
}
.btn-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(199, 154, 59, 0.6);
  color: #D9B45A;
}
.btn-outline:hover {
  background: #C79A3B;
  color: #071C2C;
}
.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(7, 28, 44, 0.3);
  color: #071C2C;
}
.btn-ghost-light:hover {
  background: #071C2C;
  color: #F5EFE2;
}
.btn-sm {
  padding: 0.625rem 1.25rem !important;
  font-size: 0.75rem !important;
}

/* ---------- Text helpers ---------- */
.section-label {
  color: #C79A3B;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.gold-divider {
  height: 1px;
  width: 4rem;
  background: #C79A3B;
}
.text-balance {
  text-wrap: balance;
}

/* ---------- Inputs ---------- */
.input-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(7, 28, 44, 0.25);
  padding: 0.75rem 0;
  color: #071C2C;
  font: inherit;
  transition: border-color 0.3s;
}
.input-field::placeholder {
  color: rgba(7, 28, 44, 0.4);
}
.input-field:focus {
  outline: none;
  border-bottom-color: #C79A3B;
}
.input-field-light {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 239, 226, 0.3);
  padding: 0.75rem 0;
  color: #F5EFE2;
  font: inherit;
  transition: border-color 0.3s;
}
.input-field-light::placeholder {
  color: rgba(245, 239, 226, 0.4);
}
.input-field-light:focus {
  outline: none;
  border-bottom-color: #D9B45A;
}
label.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(7, 28, 44, 0.6);
  margin-bottom: 0.25rem;
}
.field-error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

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

/* ---------- Decorative ---------- */
.ornament-pattern {
  background-image: radial-gradient(circle at 50% 50%, rgba(199, 154, 59, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
@keyframes scrollIndicator {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
}
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-fade-up { animation: fadeUp 0.9s ease-out forwards; }
.animate-slow-zoom { animation: slowZoom 20s ease-out forwards; }
.animate-scroll-indicator { animation: scrollIndicator 2s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Masonry gallery ---------- */
.masonry {
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) {
  .masonry { columns: 2; }
}
@media (min-width: 1024px) {
  .masonry { columns: 3; }
}
.masonry > * {
  break-inside: avoid;
  margin-bottom: 1rem;
  width: 100%;
  display: block;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #071C2C; }
::-webkit-scrollbar-thumb { background: #C79A3B; border-radius: 4px; }

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}
.mobile-drawer.open {
  visibility: visible;
  opacity: 1;
}
.mobile-drawer-panel {
  transform: translateX(100%);
  transition: transform 0.5s;
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

/* ---------- Active nav link ---------- */
[data-nav-link].nav-active { color: #D9B45A !important; }
[data-lang-btn].lang-active { color: #D9B45A !important; }

/* ---------- Header ---------- */
#site-header {
  transition: all 0.5s;
}
#site-header.bg-solid {
  background: rgba(7, 28, 44, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -5px rgba(7, 28, 44, 0.2);
}
#site-header.bg-transparent-hero {
  background: transparent;
}
#site-header.bg-navy {
  background: #071C2C;
}
