﻿/* -- index.html - Page-specific styles -- */

/* Fix bold logo on French index.html only - force normal weight */
html[lang="fr"] header a[href="index.html"] .font-heading > span:first-child,
html[lang="fr"] header a[href="index.html"] .font-heading > div > span {
  font-weight: 400 !important;
}

/* -- CUSTOM PROPERTIES -- */
:root {
  --gold: #F2B54A;
  --gold-dim: rgba(242, 181, 74, 0.12);
  --ink: #1D0D06;
  --cream: #FAFAF9;
}

/* -- NOISE OVERLAY -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* -- SCROLLBAR -- */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* -- SELECTION -- */
::selection {
  background: rgba(242, 181, 74, 0.15);
  color: #1D0D06;
}

/* -- HERO -- */
.hero-bg {
  background: var(--ink);
}

.hero-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  animation: slowPan 50s ease-in-out infinite alternate;
  filter: brightness(0.55) contrast(1.1);
}

.hero-overlay {
  background: linear-gradient(170deg,
      rgba(29, 13, 6, 0.0) 0%,
      rgba(29, 13, 6, 0.3) 40%,
      rgba(29, 13, 6, 0.82) 75%,
      rgba(29, 13, 6, 1) 100%);
}

.hero-side-gradient {
  background: linear-gradient(to right, rgba(29, 13, 6, 0.7), transparent 40%, transparent 60%, rgba(29, 13, 6, 0.7));
}

@keyframes slowPan {
  from {
    transform: scale(1.06) translate(0, 0);
  }

  to {
    transform: scale(1.14) translate(-2%, 1%);
  }
}

/* -- MARQUEE -- */
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* -- ANIMATED LINE -- */
.line-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 1.8s ease-out 0.5s forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* -- HERO TEXT ENTRANCE -- */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(20deg);
  animation: wordReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* -- FLOATING BADGE -- */
.floating-badge {
  animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

/* -- STAT COUNTER -- */
.stat-block {
  position: relative;
  border-radius: 1.5rem;
}

/* -- FEATURE TAG -- */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(242, 181, 74, 0.2);
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(242, 181, 74, 0.06);
}

/* -- GOLD DIVIDER -- */
.gold-divider {
  width: 3rem;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}



/* -- HERO COUNTER -- */
.hero-scroll-indicator {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeInUp 1s 1.8s forwards;
  z-index: 20;
}

@media (max-width: 768px) {
  .hero-scroll-indicator {
    bottom: 2.4rem;
  }

  .stat-block {
    padding: 1.5rem 1rem !important;
  }

  .stat-block p:first-child {
    font-size: 2.75rem !important;
  }

  .stat-block p:first-child span {
    font-size: 1.5rem !important;
  }

  .stat-block p:last-child {
    font-size: 8px !important;
    letter-spacing: 0.15em !important;
  }

  /* -- HERO & MAIN SPACING OVERRIDES -- */
  main.flex-grow {
    padding-top: 9rem !important;
  }

  #hero-index {
    padding-top: 0 !important;
    padding-bottom: 0.5rem !important;
  }

  #hero-index h1 {
    margin-top: 0 !important;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
  }
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(242, 181, 74, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.6;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 1;
  }
}

/* -- PERSPECTIVE CARD -- */
.perspective-wrap {
  perspective: 1200px;
}

.tilt-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* Extra specific styles for cards */
.card-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(50, 22, 10, 0.04);
  font-style: italic;
  pointer-events: none;
  transition: color 0.5s;
}

.luxury-card:hover .card-number {
  color: rgba(242, 181, 74, 0.08);
}

.card-icon-box {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(29, 13, 6, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--ink);
  background: rgba(29, 13, 6, 0.04);
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.luxury-card:hover .card-icon-box {
  transform: none;
}
