/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #000000;
  color: #d4af37;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

.hidden {
  display: none !important;
}

a {
  color: #d4af37;
  text-decoration: none;
}

/* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOutSplash 1s ease forwards;
  animation-delay: 4s;
  padding: 20px;
  text-align: center;
}

#splash-logo {
  width: 220px;
  max-width: 60vw;
  height: auto;
  animation: pulseLogo 2s ease-in-out infinite;
}

#splash-title {
  margin-top: 25px;
  font-size: 3rem;
  letter-spacing: 8px;
  color: #d4af37;
  font-weight: bold;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes fadeOutSplash {
  0% { opacity: 1; visibility: visible; }
  99% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #0a0a0a;
  border-bottom: 1px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo {
  height: 45px;
  width: auto;
}

.header-brand {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #d4af37;
  white-space: nowrap;
}

.header-center {
  display: flex;
  gap: 35px;
}

.nav-link {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 5px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-family: inherit;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #d4af37;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active-link::after {
  width: 100%;
}

.nav-link:hover {
  color: #ffffff;
}

/* ===== BURGER BUTTON ===== */
#burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

#burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #d4af37;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#burger-btn.open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
#burger-btn.open span:nth-child(2) {
  opacity: 0;
}
#burger-btn.open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

#nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 999;
}

#nav-overlay.show {
  display: block;
}

/* ===== LANG BUBBLE ===== */
.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-bubble-container {
  position: relative;
}

.lang-bubble {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
}

.lang-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-options {
  position: absolute;
  top: 60px;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 12px;
  background-color: #0a0a0a;
  border: 1px solid #d4af37;
  border-radius: 12px;
  padding: 12px;
  z-index: 1001;
}

.lang-options.show {
  display: flex;
}

.lang-option {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.lang-option:hover {
  border-color: #d4af37;
  transform: scale(1.1);
}

.lang-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-tooltip {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0a0a0a;
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lang-option:hover .lang-tooltip {
  opacity: 1;
}

/* ===== MAIN CONTENT ===== */
#main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px - 100px);
  padding: 40px 8%;
}

.content-section {
  display: none;
  animation: fadeInSection 0.5s ease;
}

.content-section.active-section {
  display: block;
}

@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: justify;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 15px;
}

.content-section p {
  text-align: justify;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #e8dcb0;
}

.highlight-text {
  color: #d4af37 !important;
  font-weight: bold;
}

.sources-text {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== HOME ===== */
.home-text-block {
  max-width: 900px;
  margin: 0 auto;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.cta-button {
  background-color: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: inherit;
}

.cta-button:hover {
  background-color: #d4af37;
  color: #000;
}

/* ===== ABOUT ===== */
.about-quote {
  font-style: italic;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.about-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-photo {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d4af37;
  flex-shrink: 0;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  margin: 20px 0 10px 0;
  color: #ffffff;
}

.about-list {
  list-style: none;
  margin: 10px 0 15px 0;
}

.about-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  text-align: justify;
  color: #e8dcb0;
}

.about-list li::before {
  content: '📌';
  position: absolute;
  left: 0;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.flip-card {
  perspective: 1000px;
  height: 260px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
  border-color: #d4af37;
}

.flip-card-front {
  background-color: #0d0d0d;
  align-items: center;
  text-align: center;
}

.flip-card-front h3 {
  color: #d4af37;
  font-size: 1.15rem;
}

.flip-card-back {
  background-color: #111;
  transform: rotateY(180deg);
  overflow-y: auto;
}

.flip-card-back p {
  font-size: 0.85rem;
  text-align: justify;
  margin-bottom: 10px;
}

.benefits-title {
  font-weight: bold;
  color: #d4af37 !important;
}

/* ===== BOOKING ===== */
.booking-text {
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

#booking {
  text-align: center;
}

#booking .cta-button {
  margin: 0 auto;
}

/* ===== FOOTER ===== */
#main-footer {
  background-color: #0a0a0a;
  border-top: 1px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8%;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 40px;
}

.footer-brand {
  font-weight: bold;
  letter-spacing: 1px;
}

.footer-center iframe {
  width: 300px;
  height: 150px;
  border: 1px solid #d4af37;
  border-radius: 8px;
}

#legal-notice-btn {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

#legal-notice-btn:hover {
  background-color: #d4af37;
  color: #000;
}

/* ===== MODALE MENTIONS LEGALES ===== */
#legal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#legal-modal {
  background-color: #0d0d0d;
  border: 2px solid #d4af37;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

#legal-modal h2 {
  margin-bottom: 20px;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 10px;
}

#legal-modal h3 {
  color: #ffffff;
  margin-bottom: 8px;
}

#legal-modal p {
  text-align: justify;
  margin-bottom: 8px;
  line-height: 1.5;
  color: #e8dcb0;
}

#legal-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #d4af37;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* =========================================================
   RESPONSIVE - TABLETTE (max-width: 1024px)
========================================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-photo {
    width: 220px;
    height: 280px;
  }

  #main-content {
    padding: 30px 5%;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE/TABLETTE NAV (max-width: 900px)
========================================================= */
@media (max-width: 900px) {
  #burger-btn {
    display: flex;
  }

  .header-center {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background-color: #0a0a0a;
    border-left: 1px solid #d4af37;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 25px 25px 25px;
    transition: right 0.4s ease;
    z-index: 1050;
  }

  .header-center.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #222;
    font-size: 1.05rem;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE (max-width: 768px)
========================================================= */
@media (max-width: 768px) {
  .header-brand {
    font-size: 1.1rem;
  }

  .header-logo {
    height: 36px;
  }

  #main-header {
    padding: 0 15px;
  }

  #splash-title {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  #splash-logo {
    width: 160px;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo {
    width: 200px;
    height: 250px;
  }

  .about-text p,
  .about-list li {
    text-align: justify;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 220px;
  }

  #main-footer {
    flex-direction: column;
    text-align: center;
    padding: 25px 5%;
  }

  .footer-center iframe {
    width: 100%;
    max-width: 320px;
  }

  #legal-modal {
    padding: 25px;
  }

  .lang-options {
    top: 55px;
  }
}

/* =========================================================
   RESPONSIVE - PETIT MOBILE (max-width: 480px)
========================================================= */
@media (max-width: 480px) {
  #splash-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  #splash-logo {
    width: 130px;
  }

  .header-brand {
    display: none;
  }

  .content-section h2 {
    font-size: 1.3rem;
  }

  .content-section p,
  .booking-text {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .lang-bubble {
    width: 38px;
    height: 38px;
  }
}