/* ========================
   VALONTIER — GLOBAL STYLES
   ======================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

@font-face {
  font-family: 'TAN Pearl';
  src: url('https://fontdownloader.net/wp-content/uploads/download/TAN-Pearl-Font/TAN-PEARL-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-logo: 'TAN Pearl', 'Cormorant Garamond', Georgia, serif;
}

:root {
  --cream: #F7F3EC;
  --ivory: #FDFAF5;
  --charcoal: #181614;
  --gold: #C8A96E;
  --gold-light: #E8D5A3;
  --lavender: #D4CCE8;
  --sage: #B8C9B0;
  --coral: #E8896A;
  --blush: #F2D9D0;
  --midnight: #0F0D0B;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================
   NAVIGATION
   ======================== */

/* ========================
   NAVIGATION
   ======================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), padding 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(24px);
  padding: 12px 48px;
  box-shadow: 0 1px 0 rgba(200, 169, 110, 0.18);
}

/* Left: nav links */
.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
}

.nav-left a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-left a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav-left a:hover::after { width: 100%; }

/* Left takes all remaining space */
.nav-left { flex: 1; }

/* Center: wordmark — absolutely centered so it never shifts layout */
.nav-wordmark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  white-space: nowrap;
}

.nav-wordmark-text {
  font-family: var(--font-logo);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--charcoal);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  transition: color 0.4s, letter-spacing 0.4s var(--ease);
  position: relative;
}

.nav-wordmark-text::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 5px auto 0;
  transition: width 0.5s var(--ease);
}

.nav-wordmark:hover .nav-wordmark-text {
  color: var(--gold);
  letter-spacing: 0.38em;
}

.nav-wordmark:hover .nav-wordmark-text::after {
  width: 100%;
}

/* Right: CTA */
.nav-right {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-cta {
  background: var(--charcoal);
  color: var(--cream);
  padding: 10px 26px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.25s var(--bounce), box-shadow 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.4);
}

/* Legacy — keep for mobile fallback */
.nav-logo {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.2em;
  display: none;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
  display: block;
}

/* ========================
   MARQUEE TICKER
   ======================== */

.marquee-wrap {
  overflow: hidden;
  background: var(--charcoal);
  padding: 14px 0;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 36px;
  flex-shrink: 0;
}

.marquee-track span.dot {
  color: rgba(247,243,236,0.3);
  padding: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========================
   BUTTONS
   ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s, background 0.3s, color 0.3s;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%) skewX(-10deg);
  transition: transform 0.5s var(--ease);
}

.btn:hover::after { transform: translateX(110%) skewX(-10deg); }

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(24, 22, 20, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid currentColor;
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(200, 169, 110, 0.45);
}

.btn svg {
  transition: transform 0.35s var(--bounce);
}

.btn:hover svg { transform: translateX(5px); }

/* ========================
   SECTION COMMONS
   ======================== */

section { position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
}

/* ========================
   REVEAL ANIMATIONS
   ======================== */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.52s; }
.reveal-delay-5 { transition-delay: 0.68s; }

/* ========================
   GRADIENT TEXT
   ======================== */

.text-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================
   TILT CARD
   ======================== */

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* ========================
   FOOTER
   ======================== */

footer {
  background: var(--midnight);
  color: var(--cream);
  padding: 80px 80px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.1);
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(247, 243, 236, 0.45);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(247, 243, 236, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(247, 243, 236, 0.25);
}

/* ========================
   SCROLL PROGRESS
   ======================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  z-index: 9999;
  transition: width 0.1s;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }

  .nav-left { display: none; }
  .nav-right { display: none; }

  /* On mobile the wordmark is no longer absolutely centered — just left-aligned */
  .nav-wordmark {
    position: static;
    transform: none;
    flex: 1;
  }

  .nav-wordmark-text {
    font-size: 1.1rem;
    letter-spacing: 0.22em;
    text-align: left;
  }

  .hamburger { display: flex; }

  footer { padding: 60px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
