/* ============================================
   TEMPLATE NOS RÉALISATIONS - FABRE MÉTAL
   ============================================ */

/* Variables CSS */
:root {
  --primary-blue: #0056b3;
  --accent-gold: #ffd700;
  --dark-blue: #0a1628;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --transition: 0.4s ease-in-out;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-realisations {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 20px 80px 20px !important;
  margin-top: 0 !important;
  overflow: hidden;
}

.hero-video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.7), rgba(0, 86, 179, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: var(--white);
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  color: var(--accent-gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid var(--accent-gold);
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
}

/* ============================================
   SECTION FILTRES
   ============================================ */

.section-filtres {
  padding: 40px 20px;
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filtres-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.filtre-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--light-gray);
  border: 2px solid transparent;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.filtre-btn .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: rgba(0, 86, 179, 0.1);
  border-radius: 12px;
  font-size: 13px;
  color: var(--primary-blue);
}

.filtre-btn:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}

.filtre-btn.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.filtre-btn.active .count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* ============================================
   GRILLE DE RÉALISATIONS
   ============================================ */

.section-realisations-grid {
  padding: 60px 20px;
  background: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .realisation-image {
    height: 200px;
  }
}

.realisation-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  opacity: 1; /* Changé de 0 à 1 pour affichage immédiat */
  transform: translateY(0); /* Changé de 20px à 0 */
}

.realisation-card.show {
  opacity: 1;
  transform: translateY(0);
}

.realisation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.realisation-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.realisation-image img,
.realisation-image .image-placeholder-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.realisation-image .image-placeholder-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.realisation-card:hover .realisation-image img,
.realisation-card:hover .realisation-image .image-placeholder-svg {
  transform: scale(1.1);
}

.realisation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.realisation-card:hover .realisation-overlay {
  opacity: 1;
}

.btn-voir-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-gold);
  color: var(--dark-blue);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-voir-details:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.realisation-content {
  padding: 25px;
}

.realisation-category {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 86, 179, 0.1);
  color: var(--primary-blue);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.realisation-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

.realisation-subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.realisation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #777;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.no-realisations {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 18px;
}

/* ============================================
   MODAL
   ============================================ */

.realisation-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.realisation-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.4s ease-out;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--accent-gold);
  transform: rotate(90deg);
}

.modal-close svg {
  stroke-width: 2.5;
}

.modal-body {
  padding: 40px;
}

/* Modal Gallery */
.modal-gallery {
  margin-bottom: 30px;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 500px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 5;
}

.gallery-nav:hover {
  background: var(--accent-gold);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: var(--accent-gold);
}

.gallery-thumb.active {
  border-color: var(--primary-blue);
}

/* Modal Info */
.modal-info {
  padding-top: 20px;
}

.modal-category {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 86, 179, 0.1);
  color: var(--primary-blue);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.modal-info h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: var(--light-gray);
  border-radius: 8px;
}

.modal-meta-grid .meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.meta-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.meta-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.meta-value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.modal-description {
  margin-bottom: 30px;
}

.modal-description h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 15px;
}

.modal-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.modal-cta {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.btn-contact-modal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent-gold);
  color: var(--dark-blue);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-contact-modal:hover {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* ============================================
   SECTION CTA
   ============================================ */

.section-cta-realisations {
  position: relative;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition);
}

.cta-button.primary {
  background: var(--accent-gold);
  color: var(--dark-blue);
}

.cta-button.primary:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--dark-blue);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .realisations-grid {
    grid-template-columns: 1fr;
  }
  
  .filtres-container {
    flex-direction: column;
  }
  
  .filtre-btn {
    width: 100%;
    justify-content: center;
  }
  
  .gallery-main {
    height: 300px;
  }
  
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-info h2 {
    font-size: 24px;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  
  .gallery-nav.prev {
    left: 10px;
  }
  
  .gallery-nav.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }
  
  .cta-content h2 {
    font-size: 26px;
  }
}


/* ============================================
   SINGLE REALISATION PAGE - DESIGN MODERNE
   ============================================ */

/* Hero Section */
.single-realisation-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 80px 0 !important;
  margin-top: 0 !important;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.single-realisation-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.4), rgba(0, 86, 179, 0.8));
  z-index: 1;
}

.hero-content-single {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--white);
}

.single-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.15);
  backdrop-filter: blur(10px);
  color: var(--accent-gold);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

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

.hero-content-single h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.single-subtitle {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 900px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Section Info */
.single-realisation-info {
  padding: 80px 0;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  position: relative;
}

.single-realisation-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--accent-gold);
  border-radius: 3px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border-radius: 16px;
  border-left: 5px solid var(--accent-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent);
  transition: width 0.4s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-item:hover::before {
  width: 100%;
}

.info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
  transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
  transform: rotate(360deg);
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
}

.info-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.3;
}

/* Section Description */
.single-realisation-description {
  padding: 80px 0;
  background: var(--white);
}

.description-content {
  max-width: 900px;
  margin: 0 auto;
}

.single-realisation-description h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--dark-blue);
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}

.single-realisation-description h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  border-radius: 3px;
}

.description-text {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 16px;
  border-left: 5px solid var(--primary-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.single-realisation-description p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

.single-realisation-description p:last-child {
  margin-bottom: 0;
}

/* Section Galerie */
.single-realisation-gallery {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.single-realisation-gallery h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 50px;
  color: var(--dark-blue);
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.single-realisation-gallery h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  border-radius: 3px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.btn-view-image {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--accent-gold);
  color: var(--dark-blue);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-view-image:hover {
  background: #ffed4e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent-gold);
  color: var(--dark-blue);
  border-color: var(--accent-gold);
  transform: scale(1.1);
}

.lightbox-close {
  top: 30px;
  right: 30px;
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Section CTA */
.single-realisation-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  position: relative;
  overflow: hidden;
}

.single-realisation-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-cta-primary {
  background: var(--accent-gold);
  color: var(--dark-blue);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3);
}

.btn-cta-primary:hover {
  background: #ffed4e;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-cta-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Section Navigation */
.single-realisation-navigation {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid #e0e0e0;
}

.navigation-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: var(--dark-blue);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex: 1;
  max-width: 400px;
}

.nav-link:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  transform: translateX(-5px);
}

.nav-link.next:hover {
  transform: translateX(5px);
}

.nav-link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-link:hover .nav-link-icon {
  background: var(--accent-gold);
}

.nav-link-content {
  flex: 1;
}

.nav-link-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 5px;
}

.nav-link-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.nav-all-projects {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background: var(--accent-gold);
  color: var(--dark-blue);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-all-projects:hover {
  background: #ffed4e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive pour single page */
@media (max-width: 968px) {
  .single-realisation-hero {
    min-height: 500px;
    padding: 150px 0 60px 0 !important;
  }
  
  .hero-content-single h1 {
    font-size: 42px;
  }
  
  .single-subtitle {
    font-size: 18px;
  }
  
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .cta-content h2 {
    font-size: 36px;
  }
  
  .navigation-content {
    flex-direction: column;
  }
  
  .nav-link {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .single-realisation-hero {
    min-height: 450px;
    padding: 130px 0 50px 0 !important;
  }
  
  .hero-content-single h1 {
    font-size: 34px;
  }
  
  .single-subtitle {
    font-size: 17px;
  }
  
  .single-realisation-info,
  .single-realisation-description,
  .single-realisation-gallery,
  .single-realisation-cta {
    padding: 60px 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .single-realisation-description h2,
  .single-realisation-gallery h2 {
    font-size: 32px;
  }
  
  .description-text {
    padding: 30px 25px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cta-content h2 {
    font-size: 30px;
  }
  
  .cta-content p {
    font-size: 18px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-nav.prev {
    left: 15px;
  }
  
  .lightbox-nav.next {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .single-realisation-hero {
    min-height: 400px;
    padding: 120px 0 40px 0 !important;
  }
  
  .hero-content-single h1 {
    font-size: 26px;
  }
  
  .single-subtitle {
    font-size: 15px;
  }
  
  .single-category {
    font-size: 11px;
    padding: 8px 18px;
  }
  
  .info-item {
    padding: 20px;
    gap: 15px;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
  }
  
  .info-value {
    font-size: 16px;
  }
  
  .single-realisation-description h2,
  .single-realisation-gallery h2 {
    font-size: 26px;
  }
  
  .description-text {
    padding: 25px 20px;
  }
  
  .single-realisation-description p {
    font-size: 15px;
  }
  
  .cta-content h2 {
    font-size: 24px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 14px 30px;
    font-size: 15px;
  }
  
  .nav-link {
    padding: 15px 20px;
  }
  
  .nav-link-title {
    font-size: 14px;
  }
}
