
/* ======= GLOBAL ======= */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h5 {
    font-weight: bold;
}

a {
    text-decoration: none;
}

/* ======= NAVBAR ======= */
.navbar {
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    padding: 10px 0;
}

.navbar .navbar-brand {
    color: #fff;
    font-size: 1.3rem;
}

.navbar .navbar-brand:hover {
    color: #ff9800;
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ff9800;
}

/* Avatar + Dropdown */
.navbar .dropdown-toggle img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle img:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    font-size: 14px;
    min-width: 180px;
}

.dropdown-menu .dropdown-item {
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #e0f7fa;
    padding-left: 10px;
}

/* Icônes navbar */
.navbar .fa {
    font-size: 14px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar .fa:hover {
    transform: scale(1.2);
    color: #fff;
}

/* ======= BANNIÈRE ======= */
.banner {
    position: relative;
    height: 400px;
    background: url('../Images/divers/banniere_carnet.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.banner .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.banner .content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease;
}

.banner h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======= SECTIONS ======= */
section {
    background-color: #f5f5dc;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 8px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease-in-out;
}

section h2 {
    color: #00796b;
    margin-bottom: 15px;
}

section p {
    color: #333;
    line-height: 1.6;
}

/* Passion box */
.passion-box {
    border: 2px solid #00796b;
    border-radius: 10px;
    padding: 30px;
    background-color: #f5f5dc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    text-align: justify;
}

.passion-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 8px;
    background-color: #00796b;
    border-radius: 10px 10px 0 0;
}

/* ======= CAROUSEL ======= */
.carousel-item img {
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    margin: auto;
}

.carousel-caption h5 {
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/* ======= FOOTER ======= */
.footer-modern {
    background: linear-gradient(135deg, #00bcd4, #00796b);
    color: #fff;
    padding: 40px 20px;
    animation: fadeIn 1s ease-in-out;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ff9800;
}

/* Réseaux sociaux */
.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 6px;
    font-size: 15px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.social-links a i {
    font-size: 18px;
}

.social-links a:hover {
    background-color: #879edd;
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Mini galerie */
.mini-gallery img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 5px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-gallery img:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Liste des ressources */
.resources-list {
    list-style: none;
    padding: 0;
}

.resources-list li {
    margin-bottom: 8px;
}

.resources-list a:hover {
    text-decoration: underline;
}

/* ======= ANIMATIONS ======= */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .social-links a {
        display: block;
        margin: 10px auto;
    }
    .banner h1 {
        font-size: 2rem;
    }
    .banner p {
        font-size: 1rem;
    }
}

.btn-livre-or {
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-livre-or:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 32px rgba(0,123,255,0.18);
    background: linear-gradient(90deg,#00bcd4,#2979ff);
    color: #fff !important;
    border: none;
}


