/*
Theme Name: Lexsan
Theme URI:
Author: Lexsan Photography
Author URI:
Description: Thème Lexsan Photography – Photographe & Vidéaste
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lexsan
Tags: photography, dark, minimal
*/

/* ══ BASE ══ */
body {
  background-color: #0a0a0a;
  color: #e5e2e1;
}

/* ══ MATERIAL ICONS ══ */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ══ UTILITAIRES ══ */
.serif-italic { font-family: 'Noto Serif', serif; font-style: italic; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ══ MENU MOBILE ══ */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* ══ SMOOTH SCROLL ══ */
html { scroll-behavior: smooth; }

/* ══ SERVICES BONUS ══ */
#services-bonus {
  background: #000 !important;
  padding: 4rem 2rem !important;
}

#services-bonus > h2 {
  text-align: center !important;
  margin-bottom: 2.5rem !important;
}

.sb-container {
  display: block;
}
.sb-wrapper {
  text-decoration: none !important;
  width: 90% !important;
  max-width: 400px !important;
  margin: 80px auto !important;
  display: block !important;
}

@media (min-width: 768px) {
  #services-bonus {
    padding: 5rem 3rem !important;
  }
  .sb-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
  }
  .sb-wrapper {
    margin: 0 !important;
    flex: 1 1 calc(33.333% - 40px) !important;
    max-width: calc(33.333% - 28px) !important;
    width: auto !important;
    max-width: 380px !important;
  }
}

.sb-bloc {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  display: block !important;
}
.sb-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.48) !important;
  transition: background 0.4s ease;
}
.sb-bloc:hover .sb-overlay {
  background: rgba(0,0,0,0.58) !important;
}
.sb-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.9rem !important;
  padding: 0 2rem !important;
}
.sb-title {
  font-family: 'Noto Serif', serif !important;
  font-style: italic !important;
  font-size: 1.4rem !important;
  color: #fff !important;
  margin: 0 !important;
}
.sb-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.52rem !important;
  letter-spacing: 0.38em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.65) !important;
  margin: 0 !important;
}
.sb-arrow {
  position: absolute !important;
  bottom: 1.4rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 3 !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sb-bloc:hover .sb-arrow {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-5px) !important;
}

/* ══ CARROUSEL HERO ══ */
.c-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.65) grayscale(0.15);
}
.c-slide.active {
  opacity: 1;
}
#c-prev:hover svg polyline,
#c-prev:hover svg line,
#c-next:hover svg polyline,
#c-next:hover svg line {
  stroke: rgba(255,255,255,1);
  transition: stroke 0.2s ease;
}
#c-prev svg polyline,
#c-prev svg line,
#c-next svg polyline,
#c-next svg line {
  stroke: rgba(255,255,255,0.6);
  transition: stroke 0.2s ease;
}
@media (max-width: 640px) {
  #c-prev svg, #c-next svg { width: 120px; }
  #c-prev { left: 1rem; }
  #c-next { right: 1rem; }
}

/* ══ LANGUAGE DROPDOWN ══ */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0;
}

.lang-dropdown__chevron {
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.lang-dropdown.open .lang-dropdown__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.lang-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 60px;
  z-index: 100;
}

.lang-dropdown.open .lang-dropdown__menu {
  display: block;
}

.lang-dropdown__menu li a {
  display: block;
  padding: 0.45rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-dropdown__menu li a:hover {
  color: rgba(255,255,255,1);
}

/* ══ HERO PARTAGÉ — TEMPLATES DE SERVICES (.svc-) ══════════════════════════
   Utilisé par : entreprise, immobilier, restauration,
                 social-media, portrait, mariage
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8vh;
  text-align: center;
}
.svc-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
}
.svc-hero-content {
  position: relative;
  z-index: 1;
}
.svc-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #8e9193;
  margin: 0 0 1rem;
}
.svc-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-style: italic;
  font-weight: 400;
  color: #e5e2e1;
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
  line-height: 1;
}
.svc-rule {
  width: 3rem;
  height: 1px;
  background: #c4c7c9;
  margin: 0 auto 1.5rem;
}
.svc-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #c4c7c9;
  margin: 0;
}
