/* --- START OF FILE style.css --- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
  --color-gold: #b8860b;
  --color-dark: #121212;
  --color-light: #f9f9f9;
  --color-white: #ffffff;
  --afro-pattern: repeating-linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold) 2px,
    transparent 2px,
    transparent 10px
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  color: var(--color-dark);
  margin-bottom: 20px;
  text-align: center;
}

/* --- HERO --- */
.hero {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: 0 20px;
}
@media (min-width: 1025px) {
  .hero {
    background-attachment: fixed;
  }
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
}
.hero h1 {
  font-size: 3em;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 15px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 15px 35px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--color-gold);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--color-gold);
}

/* --- HEADER ET BANDE NOIRE --- */
header {
  background-color: transparent;
  padding: 5px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

/* C'EST CETTE PARTIE QUI FAIT LA BANDE NOIRE */
header.scrolled {
  background-color: rgba(18, 18, 18, 0.98) !important;
  padding: 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
  border-bottom: 3px solid var(--color-gold) !important;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  position: relative;
  padding: 0 20px;
}
.text-gold {
  color: var(--color-gold) !important;
}
.logo-link {
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
  margin-right: 20px;
}
.logo-img {
  height: 90px;
  width: auto;
  transition: height 0.3s ease;
  margin-top: 5px;
}
header.scrolled .logo-img {
  height: 70px;
}
nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
nav ul {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: nowrap;
}
nav ul li {
  position: relative;
  list-style: none !important;
}
nav ul li a {
  color: var(--color-gold);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  display: block;
  text-shadow: none;
  white-space: nowrap;
  text-decoration: none;
}
nav ul li a:hover {
  color: var(--color-white);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 10px;
  flex-shrink: 0;
}
.lang-switch a {
  color: #ccc;
  font-size: 0.7em;
  font-weight: 500;
  text-shadow: none;
}
.lang-switch a.active-lang {
  color: var(--color-gold);
  font-weight: 800;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-dark);
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  top: 100%;
  left: 0;
  border-top: 3px solid var(--color-gold);
  padding: 0;
}
.dropdown-content li {
  display: block;
  width: 100%;
}
.dropdown-content li a {
  color: #ccc !important;
  padding: 15px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 0.85em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.show {
  display: block !important;
  animation: slideUp 0.3s ease forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-intro,
.container {
  text-align: center;
}
.section-intro h2,
.container h2 {
  text-align: center;
  width: 100%;
  display: block;
  margin-bottom: 30px;
}
h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--afro-pattern);
  margin: 15px auto 0 auto;
}

.newsletter-section {
  background-color: var(--color-dark);
  padding: 80px 0;
  text-align: center;
  border-top: 5px solid var(--color-gold);
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
}
.newsletter-section h2 {
  color: #cccccc;
  margin-bottom: 5px;
}
.newsletter-section p {
  color: #bbbbbb;
  font-style: italic;
  margin-bottom: 30px;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
}
.newsletter-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  padding: 10px 5px;
  width: 100%;
  color: white;
  font-family: "Montserrat";
  font-size: 0.9em;
  outline: none;
}
.newsletter-form input:focus {
  border-bottom: 1px solid var(--color-gold);
}

.gold-btn {
  background: linear-gradient(
    180deg,
    #fff0b4 0%,
    #d4af37 50%,
    #b8860b 100%
  ) !important;
  color: #3e2702 !important;
  border: 1px solid #fff0b4 !important;
  padding: 12px 25px !important;
  min-width: 200px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 4px;
  cursor: pointer;
}

.features-grid,
.themes-grid-individuels,
.packs-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.pack-card,
article {
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pack-card:hover .card-image {
  transform: scale(1.05);
}
.content {
  padding: 30px 25px;
  flex-grow: 1;
  text-align: left;
}

footer {
  background-color: var(--color-dark) !important;
  color: white;
  padding: 50px 20px;
  text-align: center;
}
.payment-methods {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pay-icon {
  background: white;
  padding: 5px 10px;
  border-radius: 4px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.form-section {
  padding: 80px 0;
  background-color: #f4f4f4;
}
.form-section .container {
  background: white;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--color-gold);
  max-width: 900px;
  text-align: left;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-gold);
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  background: #fafafa;
  font-family: "Montserrat";
  font-size: 0.95em;
  border-radius: 2px;
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--color-dark);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.btn-submit:hover {
  background: var(--color-gold);
  color: white;
}
.travel-plan-box {
  background-color: #fffbf0;
  border: 1px solid var(--color-gold);
  border-left: 5px solid var(--color-gold);
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

.btn-download,
.btn-wedding {
  background-color: var(--color-gold);
  color: white !important;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  margin: 20px 0;
  transition: background 0.3s ease;
}
.btn-download:hover,
.btn-wedding:hover {
  background-color: #966f09;
}

.burger {
  display: none;
  cursor: pointer;
  z-index: 2001;
}
.burger div {
  width: 28px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 6px;
  transition: all 0.3s ease;
}

@media (max-width: 1300px) {
  header .container {
    justify-content: space-between;
    padding: 0 20px;
  }
  .logo-link {
    position: absolute;
    left: 20px;
    z-index: 2000;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .burger {
    display: block;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
  }
  nav {
    position: fixed;
    right: 0;
    height: 100vh;
    top: 0;
    background-color: var(--color-dark);
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    padding-top: 100px;
    overflow-y: auto;
    z-index: 1500;
    flex-direction: column;
    justify-content: flex-start;
  }
  nav.nav-active {
    transform: translateX(0%);
  }
  nav ul {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    padding: 0;
  }
  .dropdown-content {
    position: relative;
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    top: 0;
    padding: 0;
  }
  .dropdown-content li a {
    color: #999 !important;
    padding: 15px;
    padding-left: 30px;
  }
  .newsletter-form {
    flex-direction: column;
    padding: 0 20px;
  }
  .gold-btn {
    width: 100%;
    margin-top: 15px;
  }
  .form-section .container {
    padding: 20px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- CHATBOT --- */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}
.chat-button {
  width: 60px;
  height: 60px;
  background-color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.chat-window {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: white;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.chat-header {
  background: var(--color-dark);
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px 10px 0 0;
}
.chat-body {
  padding: 20px;
}
.lang-selector-chat {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
}
.lang-btn-chat {
  cursor: pointer;
  font-size: 0.8em;
  padding: 3px 8px;
  border-radius: 3px;
  background: #eee;
}
.lang-btn-chat.active {
  background: var(--color-gold);
  color: white;
}
.bot-msg {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  font-size: 0.9em;
  margin-bottom: 20px;
}
.chat-options button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 15px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  font-size: 0.9em;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.chat-options button i {
  margin-right: 10px;
  color: var(--color-gold);
}
.chat-options button:hover {
  background: #e8e8e8;
  border-color: var(--color-gold);
}
/* Animation de la croix pour le menu mobile */
.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger.toggle .line2 {
  opacity: 0;
}
.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
