/* ============================================================
   VISIONARY ELITE MARRAKECH — index.css
   Styles spécifiques à la page d'accueil (index.html)
   ============================================================ */

/* ── HERO OVERLAY ────────────────────────────────────── */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(5,13,31,0.75)    0%,
    rgba(10,22,40,0.55)   60%,
    rgba(212,160,23,0.20) 100%
  );
}

/* ── SECTION APROPOS ─────────────────────────────────── */
.apropos-value-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 160, 23, 0.20);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.apropos-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.12);
}

/* ── SECTION CONTACT ─────────────────────────────────── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(212, 160, 23, 0.12);
}
.contact-info-item:last-child {
  border-bottom: none;
}
.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 160, 23, 0.10);
  border: 1px solid rgba(212, 160, 23, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── HERO SLIDESHOW ───────────────────────────────────── */
.hero-slideshow {
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-img-blur {
  filter: blur(1px);
}

/* ── LIGHTBOX ─────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lb-image {
  max-width: 88vw;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 10px;
  transition: opacity 0.18s ease;
}
.lb-caption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  margin-top: 14px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}
.lb-counter {
  color: rgba(212, 160, 23, 0.7);
  font-size: 0.72rem;
  margin-top: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lb-close:hover { background: rgba(212, 160, 23, 0.25); border-color: rgba(212,160,23,0.5); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(212,160,23,0.25); border-color: rgba(212,160,23,0.5); }
@media (max-width: 640px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-prev, .lb-next { width: 42px; height: 42px; }
}

/* ── GALLERY HOVER ────────────────────────────────────── */
.gallery-img {
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.gallery-img:hover {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* ── HERO DOTS PATTERN ────────────────────────────────── */
.hero-dots-pattern {
  background-image: radial-gradient(#D4A017 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── RESULTATS GLOW ───────────────────────────────────── */
.resultats-glow {
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
  opacity: 0.30;
}

/* ── CTA TITLE ────────────────────────────────────────── */
.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* ── GOOGLE MAPS IFRAME ───────────────────────────────── */
.maps-iframe {
  border: 0;
  display: block;
}

