/*
Theme Name: DigitalMadame Business Card
Theme URI: https://digitalmadame.fr/
Author: DigitalMadame
Author URI: https://digitalmadame.fr/
Description: Thème universel pour cartes de visite virtuelles).
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalmadame-business-card
Tags: business, portfolio, onepage, elegant, responsive
*/


/* ========== RESET & BASE ========== */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding-top: 40px; /* Pour header fixe */
}

.site-content {
  margin-top: 20px;
}


/* ========== BOUTON RECHERCHE ========== */
.btn-search {
  background-color: #00CEE3;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-search:hover {
  background-color: #00B8CB;
}

/* ✅ Empêche tout scroll horizontal sur mobile */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

/* ✅ Corrige aussi les décalages liés aux éléments trop larges */
* {
  box-sizing: border-box;
}

/* =========================================================
   🔸 Sections alternées (Business Card)
========================================================= */

.business-alt-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
  margin: 0;               /* supprime toute marge entre sections */
  padding: 0;              /* évite les espaces internes inutiles */
}

.business-alt-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
}

.business-alt-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 60px;
  margin: 0;
}

.business-alt-section {
  display: flex;
  align-items: stretch;
  min-height: 400px;
  margin: 0;
  padding: 0;
}
.business-alt-section + .business-alt-section {
  margin-top: 0;
}
...

/* === Bouton retour en haut === */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #000;
  color: #fff;
  font-size: 22px;
  text-align: center;
  line-height: 45px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

#scrollTopBtn.show {
  opacity: 0.9;
  visibility: visible;
}

#scrollTopBtn:hover {
  background: #c9a44f; /* doré subtil */
  color: #fff;
}

/* === NAVIGATION LUXURY === */
.luxury-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.luxury-nav-inner {
  max-width: 1200px;
  width: 100%;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.luxury-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.luxury-logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* === LUXURY TOP NAV GLOBAL STYLES === */
.luxury-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.luxury-nav-inner {
  max-width: 1200px;
  width: 100%;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.luxury-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.luxury-logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Navigation links */
.luxury-nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}
.luxury-nav-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.luxury-nav-menu a:hover {
  color: #c9a44f;
}

/* === BURGER MENU === */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.burger-menu span {
  width: 24px;
  height: 2px;
  background: #000;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Animation burger → croix */
.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* === MOBILE === */
@media (max-width: 992px) {
  .burger-menu {
    display: flex;
  }
  .luxury-nav-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
    padding: 40px 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
  }

    .luxury-nav-menu.active {
    display: block;
    animation: fadeInDown 0.4s ease forwards;
  }
  .luxury-nav-menu.active {
    display: block;
    animation: fadeInDown 0.4s ease forwards;
  }
  .luxury-nav-menu ul {
    flex-direction: column;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  .luxury-nav-menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }
  .luxury-nav-menu a:hover {
    color: #FDBE35;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}