﻿/* Style général */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #e6ded8;
    color: #333;
    padding-top: 80px;
}

/* Header */
header {
    background-color: #004080;
    color: #fff;
    padding: 15px 0;
}

header a {
    color: #fff;
    text-decoration: none;
}

header a:hover {
    color: #ffc107;
}

/* Footer */
footer {
    background-color: #004080;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

/* Jumbotron / accueil */
.jumbotron {
    background-color: #e9ecef;
    padding: 40px 20px;
    border-radius: 10px;
}

/* Cards publications */
.card img {
    height: 200px;
    object-fit: cover;
}

.card-img-top {
    object-fit: contain;
    width: 100%;
    height: auto; /* plus flexible */
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Buttons personnalisés */
.btn-primary {
    background-color: #004080;
    border-color: #004080;
}

.btn-primary:hover {
    background-color: #003366;
    border-color: #003366;
}

/* Formulaires */
input, textarea {
    border-radius: 5px;
}

textarea {
    resize: vertical;
}
label{
    font-weight: bolder;
}

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out; /* transition plus douce */
    z-index: 0;
}

.hero-slideshow .slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(250, 220, 183, 0.324), rgba(192, 79, 101, 0.6));
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
   text-shadow: 2px 2px 6px rgba(0,0,0,0.6); 
}

.hero-text p {
   color: #fff;
    font-size: large;    
    display: inline-block;  
} 

.hero-text h1{
    color: #fc9905;
} 


.navbar .nav-link {
  position: relative;
  padding-bottom: 5px;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff9900, #ff3300);
}

#btnTop {
    display: none; /* caché par défaut */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, #ff8008, #ff512f); /* dégradé orangé */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}
#btnTop:hover {
    opacity: 0.8;
}

.publication-img {
    height: 250px;         
    width: 100%;          
    object-fit: contain;    
    background-color: #f8f9fa; 
}

 /* image home.php */
.action-img {
   height: 250px;              
    width: 100%;
    object-fit: cover;        
    object-position: top;     
    border-radius: 5px; 
}


