@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('//apis.agestis.com/Font-Awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
}

#logo	{max-height:36px;}

.bg-ora{
	color: black;
	
 --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) !important;

	background-image:
  linear-gradient(to bottom, rgba(200, 200, 200, 0.8), rgba(255, 255, 255, 0.9)),
  url("/bibliotheque/charte-graphique/siege-social-ora.jpg");
}
	
	
}
:root {
    --primary-color: #f0ad4e;
    --dark-color: #222;
}

.navbar {
    transition: background-color 0.5s ease, padding 0.5s ease;
    padding: 20px 0;
    background-color: #FFF;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9); /* Blanc semi-transparent au défilement */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Ajout d'une légère ombre */
}

/* Ajustement des liens pour la navbar claire */
.navbar-light .navbar-nav .nav-link {
    color: #333; /* Couleur de texte foncée pour les liens */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color) !important; /* Couleur d'accentuation au survol */
}

.navbar-light .navbar-brand {
    color: #333; /* Couleur de texte foncée pour le brand */
}

.navbar-light .navbar-toggler-icon {
    filter: invert(1); /* Pour que l'icône du toggler soit visible sur fond clair */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-quote {
    border-color: var(--primary-color);
    border-radius: 20px;
    padding: 8px 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-quote:hover {
    background-color: #e89a2e;
    border-color: #e89a2e;
}

/* --- Hero Section --- */
.hero-section {
    height: 70vh;
    background: url('/bibliotheque/charte-graphique/recrutement-cadre-BTP-travaux-publics.jpg') no-repeat top center;
	background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-color: rgba(0, 0, 0, 0.5); */
}

.hero-section .container {
    position: relative; /* To be on top of the overlay */
}

.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 600;
}

.hero-section .btn-primary:hover {
    background-color: #e89a2e;
    border-color: #e89a2e;
}

/* --- Sections --- */
section {
    padding: 80px 0;
}

section h2 {
    color: var(--dark-color);
}

/* --- Services Section --- */
.service-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.service-card i {
    color: var(--primary-color);
}

/* --- Projects Section --- */
.offre-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.offre-item img {
    transition: transform 0.4s ease;
}

.offre-item:hover img {
    transform: scale(1.1);
}

.offre-overlay {
	z-index : 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.offre-overlay h5 {
    font-weight: 700;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.offre-item:hover .offre-overlay h5 {
    transform: translateY(0);
}

.offre-bg {
	height: 250px; /* hauteur ajustable selon vos besoins */
    position: relative;
	padding:10px;
	text-align: center;
}

.offre-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(85, 85, 85, 0.3); /* fond gris transparent */
}

.offre-text {
    position: relative;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    z-index: 1;

    /* Bordure noire (contour du texte) */
    -webkit-text-stroke: 1px black;

    /* Ombre portée */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Effet hover : disparition du texte */
.offre-item:hover .offre-text {
    opacity: 0;
}

a:hover {
	font-weight: bold;
	font-style: oblique;
}

#cookieChoiceInfo a {
	text-decoration: none;
}

#footer a {
    color: #e89a2e;
	text-decoration: none;
} 

#footer a:hover {
    color: var(--primary-color) !important;
} 

#footer .social-icons a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

/* Corrige le masquage de la hero section par la navbar fixe */
#GUI_Content {
    margin-top: 90px; /* ajuster selon la hauteur réelle de la navbar */
}

html {
    scroll-padding-top: 90px; /* évite le masquage lors du scroll vers une ancre */
}

.hero-section h1, 
.hero-section p.h5 {
    text-shadow:
        0 0 6px rgba(255,255,255,0.7),   /* halo clair */
        3px 3px 8px rgba(0,0,0,0.9);    /* ombre portée */
}

/* Ouvre le menu au survol uniquement pour les écrans larges */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* évite un décalage */
  }
}

.dropdown-menu {
width:300px;
background-color: #333;
}

.dropdown-menu .nav-link {
color: white !important;
}

.dropdown-menu  .nav-link:hover,
.dropdown-menu  .nav-link:focus {
    background-color: rgba(255,255,255,0.8) !important; /* optionnel : léger fond pour feedback */
}

