/* ==============================
   STYLE LUXE BLANC DOMINANT
   ============================== */

/* -------- VARIABLES -------- */
:root {
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-text: #111111;
  --color-text-light: #666666;
  --color-border: #000000;
  --color-hover: #000000;
  --transition: all 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* -------- CONTAINERS -------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* -------- HEADER -------- */

.site-logo a {
  text-decoration: none;
  color: inherit;
}

.site-logo a:hover {
  opacity: 0.8;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.site-logo {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* -------- NAVIGATION -------- */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 400;
  transition: var(--transition);
}

.nav-list a:hover {
  color: var(--color-hover);
}

/* Burger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
}

/* -------- HERO -------- */
.hero {
  height: 100vh;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn:hover {
  background: var(--color-hover);
  color: #fff;
}

/* -------- SECTIONS -------- */
section {
  padding: 6rem 0;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 3rem;
}

/* -------- ABOUT -------- */
.about-section {
  background-color: var(--color-bg-alt);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: var(--color-text-light);
  font-size: 1rem;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* -------- GALLERIES -------- */
.gallery-section {
  background-color: var(--color-bg);
}

.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.category-btn {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 0.7rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover {
  background: var(--color-hover);
  color: #fff;
}

.gallery-full {
  position: fixed;
  inset: 0;
  background: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  overflow-y: auto;
  transition: var(--transition);
  padding: 4rem 2rem;
}

.gallery-full.active {
  display: flex;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border: 1px solid #000;
  transition: var(--transition);
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.close-gallery {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #000;
  transition: var(--transition);
}

.close-gallery:hover {
  transform: rotate(90deg);
}

/* -------- CONTACT -------- */
.contact-section {
  background-color: var(--color-bg-alt);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid #ddd;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-border);
}

.form-status {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--color-text-light);
}

/* -------- FOOTER -------- */
.site-footer {
  background-color: var(--color-bg-alt);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  border-top: 1px solid #eee;
}

/* -------- ANIMATIONS -------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.active,
.reveal-left.active,
.reveal-up.active,
.reveal-zoom.active {
  opacity: 1 !important;
  transform: none !important;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    text-align: center;
    background-color: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1.5rem 0;
  }

  .nav.active .nav-list {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}


/* -------- LIGHTBOX -------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.lightbox-img:hover {
  transform: scale(1.02);
}

.close-lightbox {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-lightbox:hover {
  transform: rotate(90deg);
}

/* --- MENU DÉROULANT GALERIES --- */
.nav-list .dropdown {
  position: relative;
}

.nav-list .dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: #000;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #000;
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Pour les écrans mobiles (menu burger ouvert) */
.nav.active .dropdown-menu {
  position: static;
  border: none;
  background: none;
  display: flex;
}
.dropdown-menu.show {
  display: flex;
}


/* --- BOUTONS DE GALERIE STYLE CARRÉ --- */
.gallery-categories a.category-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  margin: 0.4rem;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.gallery-categories a.category-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

body.category-page .hero {
  border-bottom: none;
}

/* -------- LIGHTBOX -------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.close-lightbox {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-lightbox:hover {
  transform: rotate(90deg);
}

.gallery-item img {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: white;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  padding: 0 15px;
  user-select: none;
  transition: opacity 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  user-select: none;
}

.contact-form.sent {
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

#send-btn {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#send-btn:disabled {
  cursor: not-allowed;
  transform: scale(0.98);
}

.gallery-item img {
  will-change: transform;
}

 /* FOND DE LA POPUP */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
  }

  /* CONTENU */
  .popup-content {
    background: #ffffff;
    padding: 2.5rem;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(0,0,0,0.15);
    text-align: center;
    font-family: 'Inter', sans-serif;
    animation: popupFade 0.4s ease;
  }

  .popup-content h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }

  .popup-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .popup-btn {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s;
  }

  .popup-btn:hover {
    background: #333;
  }

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

  /* -------- FOOTER SOCIALS -------- */
.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.footer-socials .social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-socials .social-icon svg {
  width: 100%;
  height: 100%;
  fill: #111; /* noir luxe */
  transition: fill 0.3s ease, transform 0.3s ease;
}

.footer-socials .social-icon:hover svg {
  fill: #000;  /* tu peux mettre du gold (#B5985A) si tu veux */
  transform: scale(1.12);
}

.footer-socials .social-icon:hover {
  opacity: 0.7;
}
