/* ==========================================
   JOURNÉE D'ORAN 2026 - PAGE STYLES
   ========================================== */

/* Hero Section */
.journee-hero {
  position: relative;
  height: 5vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0077b6 0%, #08afd1 100%);
}

.journee-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../13fevpic/mascotte.png') center/cover no-repeat;
  opacity: 0.3;
}

.journee-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 30px;
}

.journee-hero .hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeIn 1s ease-out;
}

.journee-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.journee-hero .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8%;
}

/* About Section */
.about-section {
  padding: 100px 8%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-section .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.about-content .intro-text {
  font-size: 1.1rem;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content > p:last-of-type {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 35px;
}

.about-content .cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}


/* Info Section */
.info-section {
  padding: 80px 8%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0077b6, #08afd1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
}

.info-card h4 {
  font-size: 1rem;
  color: #0077b6;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-card p {
  font-size: 0.95rem;
  color: #2c3e50;
  margin: 0;
  font-weight: 500;
}

/* Remerciement Section */
.remerciement-section {
  padding: 100px 8%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.remerciement-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.remerciement-content .intro-text {
  font-size: 1.1rem;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 20px;
}

.remerciement-content > p {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.remerciement-content .signature {
  margin-top: 40px;
  font-size: 1.1rem;
  color: #0077b6;
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 8%;
  background: white;
}

.gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.gallery-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #6c757d;
}

/* Gallery Grid - Matching congres2025.css */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

/* Photo Gallery Grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative !important;
  aspect-ratio: 1 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.05) !important;
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.3) !important;
  z-index: 10 !important;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease, filter 0.5s ease !important;
  will-change: transform !important;
  transform: scale(1) !important;
}

.gallery-item:hover img {
  transform: scale(1.25) !important;
  filter: brightness(1.15) saturate(1.1) !important;
}

.gallery-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 119, 182, 0.65) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

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

.gallery-overlay svg {
  color: white !important;
  width: 56px !important;
  height: 56px !important;
  transform: scale(0.7) !important;
  transition: transform 0.3s ease !important;
}

.gallery-item:hover .gallery-overlay svg {
  transform: scale(1) !important;
}

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

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-content img, .lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-caption {
  color: white;
  margin-top: 20px;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 1024px) {
  .about-section .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual {
    order: -1;
  }

  .programme-timeline::before {
    left: 20px;
  }

  .timeline-item::before {
    left: 11px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-time {
    padding-left: 35px;
  }

  .timeline-content {
    margin-left: 35px;
  }
}

@media (max-width: 768px) {
  .journee-hero {
    height: 40vh;
    min-height: 350px;
  }

  .about-section,
  .programme-section,
  .info-section {
    padding: 60px 5%;
  }

  .about-content .cta-buttons {
    flex-direction: column;
  }

  .about-content .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .timeline-content {
    padding: 20px;
  }

  .mascotte-img {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .journee-hero h1 {
    font-size: 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .timeline-time {
    font-size: 0.85rem;
  }

  .timeline-content h4 {
    font-size: 1rem;
  }
  
  /* Gallery Responsive */
  .gallery-section {
    padding: 60px 5%;
  }
  
  .gallery-header {
    margin-bottom: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .gallery-grid img {
    height: 150px;
  }
  
  .remerciement-section {
    padding: 60px 5%;
  }
}

