/*
  Global styles for nouveauvoyage.site
  Palette: burgundy + brass, dark but not pure black, off-white but not pure white.
  Uses Bootstrap 5.3.3 as the foundation, with a thin layer of custom BEM utilities.
  TODO: fine-tune section spacings and AOS offsets once all pages are live.
*/

:root {
  --nv-burgundy: #5c0a1b;
  --nv-burgundy-dark: #3e0512;
  --nv-burgundy-light: #7d1a30;
  --nv-brass: #c5a059;
  --nv-brass-light: #e0c98c;
  --nv-brass-dark: #8a6d3b;
  --nv-dark: #1a0b10;
  --nv-light: #f8f4ef;
  --nv-cream: #fffbf5;
  --nv-overlay: rgba(26, 11, 16, 0.7);

  /* Bootstrap overrides */
  --bs-primary: var(--nv-brass);
  --bs-secondary: var(--nv-burgundy);
  --bs-light: var(--nv-light);
  --bs-dark: var(--nv-dark);
  --bs-body-color: #2c181e;
  --bs-body-bg: var(--nv-light);
  --bs-primary-rgb: 197, 160, 89;
  --bs-secondary-rgb: 92, 10, 27;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--nv-brass-light);
}

a {
  color: var(--nv-burgundy-light);
  text-decoration: none;
}

a:hover {
  color: var(--nv-brass-dark);
  text-decoration: underline;
}

/* --- Brand utilities --- */
.nv-color-burgundy, .text-nv-burgundy { color: var(--nv-burgundy); }
.nv-color-brass, .text-nv-brass { color: var(--nv-brass); }
.nv-color-cream, .text-nv-cream { color: var(--nv-cream); }

.nv-bg-burgundy { background-color: var(--nv-burgundy); }
.nv-bg-burgundy-dark { background-color: var(--nv-burgundy-dark); }
.nv-bg-dark { background-color: var(--nv-dark); }
.nv-bg-light { background-color: var(--nv-light); }
.nv-bg-cream { background-color: var(--nv-cream); }

/* --- Buttons --- */
.btn-nv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  border-radius: 50rem;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-nv-primary {
  background: linear-gradient(135deg, var(--nv-brass), var(--nv-brass-light));
  color: var(--nv-dark);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-nv-primary:hover {
  background: var(--nv-brass-light);
  color: var(--nv-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
}

.btn-nv-outline {
  border-color: var(--nv-brass);
  color: var(--nv-brass);
  background: transparent;
}

.btn-nv-outline:hover {
  background: var(--nv-brass);
  color: var(--nv-dark);
}

/* --- Sections --- */
.nv-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .nv-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.nv-section--hero {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.nv-section--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nv-section--bg .container {
  position: relative;
  z-index: 2;
}

/* Decorative brass line */
.nv-deco-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--nv-brass), var(--nv-brass-light));
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.nv-deco-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* Decorative circle blob */
.nv-deco-blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.nv-deco-blob--top-right {
  top: -120px;
  right: -120px;
}

.nv-deco-blob--bottom-left {
  bottom: -120px;
  left: -120px;
}

/* --- Cards --- */
.nv-card {
  background: var(--nv-cream);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.nv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(26, 11, 16, 0.12);
}

.nv-card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 160, 89, 0.3);
  color: var(--nv-cream);
}

.nv-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--nv-burgundy), var(--nv-burgundy-light));
  color: var(--nv-brass-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* --- 18+ and cookie --- */
.nv-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--nv-burgundy);
  color: var(--nv-cream);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.nv-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nv-dark);
  color: var(--nv-cream);
  padding: 1rem 1.5rem;
  z-index: 1080;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.nv-cookie-banner.is-visible {
  transform: translateY(0);
}

.nv-cookie-banner a {
  color: var(--nv-brass-light);
  text-decoration: underline;
}

/* --- Header / Footer helpers --- */
.nv-topbar {
  background: var(--nv-burgundy-dark);
  color: var(--nv-cream);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.nv-topbar a {
  color: var(--nv-cream);
  opacity: 0.9;
}

.nv-topbar a:hover {
  color: var(--nv-brass-light);
  opacity: 1;
}

.nv-navbar {
  background: rgba(248, 244, 239, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(26, 11, 16, 0.08);
}

.nv-navbar .navbar-brand img {
  max-height: 48px;
}

.nv-navbar .nav-link {
  font-weight: 600;
  color: var(--nv-dark);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nv-navbar .nav-link:hover,
.nv-navbar .nav-link:focus {
  background: rgba(197, 160, 89, 0.12);
  color: var(--nv-burgundy);
}

/* --- Forms --- */
.nv-form .form-control,
.nv-form .form-select {
  border: 1px solid rgba(92, 10, 27, 0.25);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.nv-form .form-control:focus,
.nv-form .form-select:focus {
  border-color: var(--nv-brass);
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

.nv-form__notice {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #e7f5e6;
  color: #1b5e20;
  margin-bottom: 1rem;
}

.nv-form__notice.is-visible {
  display: block;
}

/* --- Tables --- */
.nv-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--nv-dark);
  --bs-table-border-color: rgba(197, 160, 89, 0.25);
}

.nv-table thead th {
  background: var(--nv-burgundy);
  color: var(--nv-cream);
  font-weight: 600;
}

.nv-table tbody tr:nth-child(even) {
  background: rgba(197, 160, 89, 0.08);
}

/* --- Text helpers --- */
.nv-lead {
  font-size: 1.15rem;
  line-height: 1.65;
}

.nv-text-muted-light {
  color: rgba(248, 244, 239, 0.75);
}

/* --- FAQ --- */
.nv-faq .accordion-button:not(.collapsed) {
  background: rgba(197, 160, 89, 0.12);
  color: var(--nv-burgundy);
  box-shadow: none;
}

.nv-faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--nv-brass);
}

/* --- Gallery --- */
.nv-gallery img {
  border-radius: 0.75rem;
  object-fit: cover;
  width: 100%;
  height: 260px;
  transition: transform 0.3s ease;
}

.nv-gallery a:hover img {
  transform: scale(1.03);
}

/* --- Timeline / portfolio --- */
.nv-timeline {
  position: relative;
  padding-left: 2rem;
}

.nv-timeline::before {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--nv-brass), var(--nv-burgundy));
}

.nv-timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.nv-timeline__item::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--nv-brass);
  border: 2px solid var(--nv-cream);
  box-shadow: 0 0 0 2px var(--nv-brass);
}

/* --- Slider --- */
.nv-hero-slide {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.nv-hero-slide .container {
  position: relative;
  z-index: 2;
}

/* --- Partners --- */
.nv-partner {
  background: var(--nv-cream);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease;
}

.nv-partner:hover {
  transform: translateY(-4px);
}

.nv-partner img {
  max-height: 80px;
  width: auto;
}

/* --- Utilities --- */
.nv-rounded-2 {
  border-radius: 1rem;
}

.nv-shadow-soft {
  box-shadow: 0 10px 30px rgba(26, 11, 16, 0.1);
}

.min-vh-75 {
  min-height: 75vh;
}

@media (min-width: 992px) {
  .min-vh-lg-75 {
    min-height: 75vh;
  }
}

/* AOS will use its own animations; we just make sure elements are ready */
[data-aos] {
  pointer-events: auto;
}
