/*
 * ORA BRANDING - CUSTOM STYLESHEET
 * Author: Abraham ARO & Google AI
 * Version: 1.0
 */

/*--------------------------------------------------------------
# 1. Variables & Globales
--------------------------------------------------------------*/
:root {
  --primary-color: #FE8F05; /* Orange Ora */
  --secondary-color: #021640; /* Bleu Nuit Ora */
  --light-bg: #f8f9fa;
  --dark-bg: #010d23; /* Un bleu encore plus profond pour le footer */
  --text-light: #ffffff;
  --text-dark: #212529;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Lora', serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  padding-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Animation de fondu à l'apparition */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/*--------------------------------------------------------------
# 2. Boutons Personnalisés
--------------------------------------------------------------*/
.btn-primary-ora {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.btn-primary-ora:hover {
  background-color: #e57e04;
  border-color: #e57e04;
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-primary-ora:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.btn-secondary-ora {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.btn-secondary-ora:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.btn-outline-ora {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-ora:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}


/*--------------------------------------------------------------
# 3. Navbar
--------------------------------------------------------------*/
.navbar {
  transition: all 0.3s ease;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.navbar .social-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar .social-icon:hover {
    color: var(--primary-color);
}

.navbar .dropdown-toggle {
    font-family: var(--font-heading);
}

/* Style pour la navbar quand elle est sur un fond sombre */
.navbar.navbar-dark-mode .nav-link,
.navbar.navbar-dark-mode .social-icon,
.navbar.navbar-dark-mode .dropdown-toggle {
    color: var(--text-light) !important; /* Texte blanc */
}

.navbar.navbar-dark-mode .nav-link.active {
    color: var(--primary-color) !important; /* La couleur active reste l'orange */
}

/* Style pour le lien actif dans la navbar */
.navbar .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* On change aussi le logo pour la version blanche */
.navbar.navbar-dark-mode .navbar-brand img {
    /* Pour cela, il faut avoir 2 images dans le HTML et jouer avec display. Modifions le header. */
}

/* On change aussi le "burger" menu sur mobile */
.navbar.navbar-dark-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .logo-light { display: none; }
.navbar .logo-main { display: block; }

.navbar.navbar-dark-mode .logo-light { display: block; }
.navbar.navbar-dark-mode .logo-main { display: none; }
/*--------------------------------------------------------------
# 4. Section Hero (#hero)
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding-top: 120px;
}

#hero .sub-hook {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
}

#hero .main-hook {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem); /* Responsive font size */
  font-weight: 900;
  color: var(--primary-color);
  margin: 0;
  padding: 0;
  line-height: 1;
}

#hero .hook-description {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-top: 20px;
}

#hero .founder-quote {
  margin-top: 4rem !important;
  font-style: italic;
}

#hero .founder-quote .founder-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# 5. Section Process (#process) - La Timeline
--------------------------------------------------------------*/
#process {
    background-color: var(--light-bg);
}

.timeline-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* La ligne verticale pour les petits écrans */
.timeline-container::before {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #d1d5db;
  top: 0;
  bottom: 0;
  left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 60px;
}

.timeline-item.bonus .timeline-icon {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.timeline-header .timeline-number, .timeline-item .timeline-icon {
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border: 4px solid var(--light-bg);
  z-index: 1;
}

.timeline-header h3 {
    margin-left: 1rem;
    font-size: 2rem;
}

.timeline-body {
    background: var(--text-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Effet Loupe au survol */
.loupe-effect-area {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.loupe-effect-area:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.timeline-body .caption {
    font-style: italic;
    color: #6c757d;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

/* Disposition pour les écrans larges */
@media (min-width: 992px) {
  .timeline-container::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 50px;
  }
  .timeline-item:nth-child(even) { /* Items pairs (droite) */
    left: 50%;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-header .timeline-number, .timeline-item .timeline-icon {
    left: 50%;
  }
  .timeline-item:nth-child(odd) .timeline-header h3 {
      text-align: right;
  }
}

/*--------------------------------------------------------------
# 6. Section Impact (#impact) - Portfolio
--------------------------------------------------------------*/
.project-card {
    position: relative;
    margin-bottom: 2rem;
}
.project-card .card-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Cartes postales 3D */
.project-card .card-image-1 { transform: rotate(-8deg) translateY(10px); }
.project-card .card-image-2 { transform: rotate(5deg) translateY(-5px); z-index: 2; }
.project-card .card-image-3 { transform: rotate(2deg) translateY(20px); z-index: 1; }

.project-card:hover .card-image {
    transform: rotate(0deg) scale(1.05) translateY(0);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 3;
}
.project-card .card-image-2 { transition-delay: 0.1s; }
.project-card .card-image-3 { transition-delay: 0.2s; }

.project-card .comment {
    background-color: var(--text-light);
    padding: 20px;
    border-radius: 5px;
    margin-top: 1rem;
    font-style: italic;
    position: relative;
}

.project-card .comment::before {
    content: '“';
    font-family: 'Times New Roman', Times, serif;
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

/*--------------------------------------------------------------
# 7. Section Contact (#contact)
--------------------------------------------------------------*/
#contact .form-control {
    border: 0;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    padding: 10px 0;
    background-color: transparent;
}
#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
#contact #typing-animation::after {
    content: '|';
    animation: blink 0.7s infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}

/*--------------------------------------------------------------
# 8. Footer (Amélioré)
--------------------------------------------------------------*/
.footer-enhanced {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding-bottom: 30px;
}

.footer-enhanced .footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px 0;
}

.footer-enhanced .footer-info .logo {
  line-height: 1;
  margin-bottom: 30px;
}

.footer-enhanced .footer-info .logo img {
  max-height: 40px;
}

.footer-enhanced .footer-info p {
  font-size: 14px;
  font-family: var(--font-body);
}

.footer-enhanced .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 10px;
  transition: 0.3s;
}

.footer-enhanced .social-links a:hover {
  color: var(--text-light);
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.footer-enhanced .footer-links {
  margin-bottom: 30px;
}

.footer-enhanced .footer-links h4 {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-light);
  position: relative;
  padding-bottom: 12px;
}

.footer-enhanced .footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
}


.footer-enhanced .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-enhanced .footer-links ul li:first-child {
  padding-top: 10px;
}

.footer-enhanced .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  padding: 8px 0;
  text-decoration: none;
}

.footer-enhanced .footer-links ul a:hover {
  color: var(--text-light);
}

.footer-enhanced .footer-links p, .footer-enhanced .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-enhanced .footer-newsletter form {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
}

.footer-enhanced .footer-newsletter form input[type=email] {
  border: 0;
  padding: 8px;
  width: calc(100% - 110px);
  background: transparent;
  color: white;
}
.footer-enhanced .footer-newsletter form input[type=email]::placeholder{
    color: rgba(255, 255, 255, 0.5);
}


.footer-enhanced .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  margin: 3px;
  background: var(--primary-color);
  color: var(--text-light);
  transition: 0.3s;
  border-radius: 50px;
  font-family: var(--font-heading);
}

.footer-enhanced .copyright {
  text-align: center;
  padding-top: 30px;
}

.footer-enhanced .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-enhanced .credits a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    text-decoration: none;
    font-weight: bold;
}
.footer-enhanced .credits a:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# 9. Modal
--------------------------------------------------------------*/
.modal-content {
    border: none;
    border-radius: 10px;
}
.modal-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-bottom: 3px solid var(--primary-color);
}
.modal-header .modal-title {
    color: var(--text-light);
}

/*--------------------------------------------------------------
# 10. Page À Propos (About)
--------------------------------------------------------------*/
/* Style pour l'en-tête de page générique */
.page-header {
    position: relative;
    z-index: 1; /* S'assure que le fond est bien derrière */
}
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 22, 64, 0.7); /* Overlay plus sombre */
    z-index: -1;
}

/* Section Valeurs */
.values-section .icon-box {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.values-section .icon-box .icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    line-height: 60px; /* Aligne l'icône verticalement */
    font-size: 28px;
    transition: all 0.3s ease;
}

.values-section .icon-box .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--secondary-color);
}

.values-section .icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}
.values-section .icon-box:hover .icon {
    background: var(--secondary-color);
}

/* Section CTA (Call to Action) */
.cta-section {
    background-color: var(--light-bg);
}

/* Style pour les cartes du blog */
.blog-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-card .title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}
.blog-card .title a:hover {
    color: var(--primary-color);
}


/*--------------------------------------------------------------
# 11. Page Projet v2 (Project Details V2)
--------------------------------------------------------------*/
.project-details-v2 .project-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem); /* Titre responsive */
  font-weight: 900;
  color: var(--secondary-color);
}

.project-details-v2 .gallery-container .main-image-wrapper {
  background-color: var(--light-bg);
  border-radius: 0.5rem;
}

.project-details-v2 .gallery-container #main-gallery-image {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 1rem;
}

.project-details-v2 .gallery-container .thumbnail {
  height: 80px;
  width: auto;
  cursor: pointer;
  border-radius: 0.25rem;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
  opacity: 0.7;
}

.project-details-v2 .gallery-container .thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.project-details-v2 .gallery-container .thumbnail.active {
  border-color: var(--primary-color);
  opacity: 1;
}

.project-details-v2 .project-info-box {
  background-color: var(--light-bg);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.project-details-v2 .project-info-box h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.project-details-v2 .project-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-details-v2 .project-info-box ul li {
  margin-bottom: 0.5rem;
}

.project-details-v2 .project-story-content h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.project-details-v2 .project-story-content blockquote {
  font-style: italic;
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-body);
}

.project-details-v2 .project-navigation a {
  color: var(--secondary-color);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: color 0.3s ease;
}

.project-details-v2 .project-navigation a:hover {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# 12. Blog - Bloc Auteur & Sidebar
--------------------------------------------------------------*/
.author-box {
  background-color: var(--light-bg);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.author-box .author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box .author-name {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}

.author-box .author-position {
  color: #6c757d;
  font-size: 0.9rem;
}

.author-box .social-links a {
  color: #6c757d;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.author-box .social-links a:hover {
  color: var(--primary-color);
}


/* Styles pour la Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px; /* Doit être un peu plus que la hauteur de votre navbar */
}

.sidebar-widget {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.sidebar-widget .widget-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget ul li a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.sidebar-widget ul li a:hover {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# 13. Composants - Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  background-color: var(--light-bg); /* Utilise votre couleur de fond clair pour la cohérence */
  padding: 80px 0 15px 0;
  border-bottom: 1px solid #e9ecef; /* Une ligne de séparation très subtile */
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

.breadcrumbs ol li a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs ol li a:hover {
  color: var(--primary-color);
}

/* Style pour la page actuelle dans le breadcrumb */
.breadcrumbs ol li:last-child {
  color: #6c757d; 
}

/*--------------------------------------------------------------
# 14. Marque dans la Navbar (Brand Name)
--------------------------------------------------------------*/
.navbar-brand .brand-name {
  font-family: var(--font-heading); /* On utilise votre police de titre : Outfit */
  font-weight: 700;
  font-size: 1.25rem;
  vertical-align: middle; /* Assure un alignement parfait avec l'image */
  color: var(--secondary-color); /* Couleur par défaut (texte noir) */
  transition: color 0.3s ease;
}

/* On s'assure que le nom passe en blanc quand la navbar est en mode sombre */
.navbar-dark .navbar-brand .brand-name {
  color: var(--text-light); /* Texte blanc */
}
/*--------------------------------------------------------------
# 15. Page de Contenu Légal (Privacy Policy)
--------------------------------------------------------------*/
.legal-content {
  line-height: 1.8; /* Augmente l'interligne pour une meilleure lisibilité */
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--secondary-color);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 20px;
}