/* =====================================================================
   VéloBordeaux - Luxury Premium Flexbox CSS
   ===================================================================== */

/* RESET & BASELINE NORMALIZATION */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #f9fcf8;
  color: #1b2224;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #1E5B3C;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #B80000;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* =====================================================================
   BRAND COLORS & LUXURY PALETTE
   ===================================================================== */
:root {
  --primary: #1E5B3C;
  --secondary: #fff;
  --accent: #B80000;
  --gold: #A68A50;
  --gold-light: #F7EDD3;
  --bg: #f9fcf8;
  --text-main: #1b2224;
  --text-light: #fff;
  --dark: #23272A;
  --shadow: rgba(30,91,60,0.08);
  --shadow-strong: rgba(30,91,60,0.16);
}

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700|Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
p, li, ul, ol, table, th, td {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
}

/* Hierarchy spacing for paragraphs & lists */
p, ul, ol {
  margin-bottom: 16px;
  max-width: 700px;
}
strong, b {
  font-weight: 700;
}

/* =====================================================================
   HEADER & NAVIGATION (Desktop & Mobile)
   ===================================================================== */
header {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 2px 16px var(--shadow);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 32px;
  padding: 0 40px;
}
header > a img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  padding: 9px 12px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a:focus {
  background: var(--gold-light);
  color: var(--gold);
}
nav a.cta {
  background: var(--gold);
  color: #fff;
  padding: 10px 22px;
  border-radius: 27px;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 4px 24px var(--shadow);
  letter-spacing: 0.04em;
  border: 1.5px solid var(--gold);
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-left: 12px;
}
nav a.cta:hover, nav a.cta:focus {
  background: #fff;
  color: var(--gold);
  border-color: var(--gold);
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: 18px;
  font-size: 2rem;
  color: var(--primary);
  background: var(--gold-light);
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: box-shadow 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  box-shadow: 0 0 0 3px var(--gold-light);
  background: var(--gold);
  color: #fff;
}

/* =====================================================================
   MOBILE MENU OVERLAY
   ===================================================================== */
.mobile-menu {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(30,91,60,0.96);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.6,.04,.21,1);
  box-shadow: 0 6px 48px var(--shadow-strong);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--gold);
  align-self: flex-end;
  margin: 32px 32px 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  padding: 32px;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 14px 0 14px 6px;
  border-left: 3px solid transparent;
  letter-spacing: 0.03em;
  transition: color 0.19s, border 0.24s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--gold);
  border-left: 3px solid var(--gold);
}
@media (max-width: 1024px) {
  header {
    padding: 0 18px;
  }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

/* =====================================================================
   CONTAINER & FLEX LAYOUTS
   ===================================================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 32px 28px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 34px var(--shadow-strong);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #313132;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 28px;
  flex-direction: row;
  min-width: 270px;
  flex: 1;
  border-left: 5px solid var(--gold);
  transition: box-shadow 0.22s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px var(--shadow-strong);
  border-left: 5px solid var(--accent);
}
.testimonial-card p {
  font-style: italic;
  color: #23272A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 12px;
}

/* Further .card usage (e.g. for tables) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 2px 16px var(--shadow);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
table caption {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  margin: 12px 0 8px 0;
}
thead tr {
  background: var(--gold);
  color: #fff;
}
th, td {
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: left;
  padding: 16px 18px;
}
th {
  font-weight: 700;
}
tbody tr {
  border-bottom: 1px solid #eee;
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: var(--gold-light);
}

/* =====================================================================
   BUTTONS, CTAs, LINKS
   ===================================================================== */
.cta,
button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 12px 32px;
  border-radius: 999px;
  border: none;
  outline: none;
  box-shadow: 0 4px 18px var(--shadow);
  cursor: pointer;
  transition: background 0.21s, color 0.18s, box-shadow 0.23s, border 0.18s;
  border: 1.8px solid var(--gold);
  margin-top: 6px;
}
.cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #fff;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 2px 12px var(--shadow-strong);
}

/* Subtle gold underline for luxury links */
a:not(.cta):not(.mobile-nav a)::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.16s;
}
a:not(.cta):not(.mobile-nav a):hover::after, a:not(.cta):not(.mobile-nav a):focus::after {
  width: 60%;
}

/* =====================================================================
   LAYOUT SPACING & WHITE SPACE
   ===================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
main > section:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    padding: 28px 0;
    margin-bottom: 38px;
  }
}

.content-wrapper {
  gap: 24px;
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
}

/* =====================================================================
   FLEXBOX RESPONSIVE ADJUSTMENTS
   ===================================================================== */
@media (max-width: 992px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 28px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 14px;
    min-width: unset;
  }
}

/* =====================================================================
   CARD LISTS, FEATURES, UL/OL REFINEMENT
   ===================================================================== */
ul, ol {
  margin-bottom: 20px;
  padding-left: 18px;
}
ul li, ol li {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 8px;
  padding-left: 1px;
  position: relative;
  line-height: 1.5;
}
ul li::marker, ol li::marker {
  color: var(--gold);
}
ul li img, ol li img {
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
  height: 24px;
}
ul li h3 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 3px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 -2px 18px var(--shadow);
  padding: 0 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 32px 18px 24px 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 13px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border 0.15s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
}
footer .text-section p {
  color: #fff;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

/* =====================================================================
   LUXURY DETAILS - GOLD LINES / ACCENTS
   ===================================================================== */
section > .container > h2 {
  position: relative;
  display: inline-block;
}
section > .container > h2:after {
  content: '';
  display: block;
  margin-top: 7px;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

hr {
  border: 0;
  border-top: 2px solid var(--gold);
  margin: 38px auto;
  width: 18vw;
  max-width: 200px;
}

/* =====================================================================
   MICRO-INTERACTIONS & ANIMATIONS
   ===================================================================== */
.cta, button, .mobile-menu, .mobile-menu-toggle {
  transition: all 0.2s cubic-bezier(.76,0,.24,1);
}
.testimonial-card, .card {
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card:hover, .card:hover {
  box-shadow: 0 8px 36px var(--shadow-strong);
  border-left-color: var(--accent);
}
.mobile-menu {
  will-change: transform;
}

/* =====================================================================
   COOKIE CONSENT BANNER & MODAL
   ===================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 11000;
  background: #fff;
  color: #1b2224;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 -2px 24px var(--shadow-strong);
  gap: 30px;
  border-top: 2px solid var(--gold);
  animation: cookie-slide-in 0.7s cubic-bezier(.63,0,.27,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #313132;
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 620px;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-button {
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid var(--primary);
  transition: background 0.2s, color 0.2s, border 0.18s;
  cursor: pointer;
}
.cookie-button.settings {
  background: var(--gold-light);
  color: var(--gold);
  border: 1.7px solid var(--gold);
}
.cookie-button.reject {
  background: #fff;
  color: var(--accent);
  border: 1.7px solid var(--accent);
}
.cookie-button.accept:hover {
  background: var(--gold);
  color: #fff;
}
.cookie-button.reject:hover {
  background: var(--accent);
  color: #fff;
}
.cookie-button.settings:hover {
  background: var(--gold);
  color: #fff;
  border: 1.7px solid var(--gold);
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,91,60,0.87);
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
}
.cookie-modal-overlay.open { display: flex; }

.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 90vw;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 12px 48px var(--shadow-strong);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: modal-fade-in 0.4s cubic-bezier(.64,0,.21,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal-category {
  background: var(--gold-light);
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-category input[type='checkbox'] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
}
.cookie-modal-category.essential {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.3rem;
  position: absolute;
  top: 18px; right: 24px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: var(--primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 20px;
  justify-content: flex-end;
}

/* Cookie modal adapts on mobile */
@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 6vw 20px 6vw;
  }
}

/* =====================================================================
   UTILITIES
   ===================================================================== */
.show-on-mobile { display: none; }
@media (max-width: 900px) {
  .show-on-mobile { display: block; }
}
.hide-on-mobile { display: block; }
@media (max-width: 900px) {
  .hide-on-mobile { display: none; }
}

/* Scrollbars (Luxury detail) */
::-webkit-scrollbar {
  width: 10px;
  background: var(--gold-light);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 8px;
}

/* =====================================================================
   FORM ELEMENTS (for contact forms, etc.)
   ===================================================================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 9px;
  border: 1.6px solid var(--gold-light);
  padding: 10px 14px;
  font-size: 1rem;
  background: #fff;
  color: var(--primary);
  margin-bottom: 14px;
  transition: border-color 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 2px 12px var(--shadow);
}
label {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
}

/* =====================================================================
   MISCELLANEOUS
   ===================================================================== */
::-moz-selection { background: var(--gold); color: #fff; }
::selection { background: var(--gold); color: #fff; }

/* Accessibility: Hide elements visually but keep them for screenreaders */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================================
   ENSURE NO OVERLAPS & PROPER CARD SPACING
   ===================================================================== */
.card-container > .card, .content-grid > *, .content-wrapper > *, .section > *, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .content-wrapper {
  gap: 24px;
}

/* Ensure at least 20px separation */
main > section, .section {
  margin-bottom: 60px;
}
main > section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* =====================================================================
   END OF STYLE
   ===================================================================== */