body {
    font-family: system-ui, sans-serif;
}

/* HERO */
.hero {
    background: url('../img/pj_header2.jpg') center/cover no-repeat;
    height: 400px;
    position: relative;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    opacity: 0.9;
}

.hero .btn {
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/*
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.1)
    );

    z-index: 1;
}
*/
/*
.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.65) 100%
    );
}
    */

/* SECTIONS */
.section {
    padding: 80px 0;
}

/* CARDS */
.card-custom {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card-custom:hover {
    transform: translateY(-5px);
}

/* PORTFOLIO */
.portfolio img {
    border-radius: 12px;
    transition: 0.3s;
}

.portfolio img:hover {
    transform: scale(1.05);
}

/* FOOTER */
footer {
    background: #111;
    color: #aaa;
    padding: 30px 0;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.8) !important;
}

.carousel-item img {
    border-radius: 12px;
    transition: 0.3s;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

/* boutons plus visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 15px;
}

/* images */
.portfolio-img {
    cursor: pointer;
    border-radius: 12px;
    transition: 0.3s;
}

.portfolio-img:hover {
    transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}



/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* wrapper centré */
.main-wrapper {
    display: flex;
    justify-content: center;
}

/* image principale portrait */
.main-img {
    max-height: 400px;
    width: auto;
    border-radius: 12px;
    object-fit: contain;
    cursor: pointer;
}

/* THUMBNAILS */
.thumbs-container {
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
}

/* thumbnails plus petits */
.thumb {
    height: 80px;
    width: auto;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.2s;
}

.thumb:hover {
    opacity: 1;
}

.active-thumb {
    opacity: 1;
    outline: 2px solid #198754;
}

.fb-gif {
    max-width: 320px;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-gif:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* CTA BOX */
.cta-box {

/* background: linear-gradient(135deg, #e9f2ff, #f8f9fa);  */
background: linear-gradient(135deg, #ffffff, #ffffff); 
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Contenu */
.cta-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.cta-text {
    color: #6c757d;
    font-size: 0.95rem;
}

/* GIF */
.fb-gif {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-gif:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ------------------------------
   BUTTONS
-------------------------------- */
.btn-primary, 
.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary {
    color: #0d6efd;
}

.btn-outline-primary:hover {
    color: white;
}

.container2  {
    font-size: 1.3em;

    font-weight: 500;
    margin-bottom: 18px;
}

