/* ----- FOND + FILIGRANE ----- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    background: url('images/banner.jpg') center/cover fixed no-repeat;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1;
}

/* ----- BANDEAU ----- */
.top-bar {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 18px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.70),
        rgba(0,0,0,0.45)
    );
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.25);

    box-sizing: border-box;
}

/* ----- RETOUR ----- */
.return-link {
    color: white !important;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-home svg {
    width: 20px;
    height: 20px;
    fill: white !important;
}

/* ----- TITRE ----- */
.page-title {
    color: white;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    font-size: 16px; /* même taille que RETOUR */
    letter-spacing: 2px;
}

/* ----- PORTFOLIO ----- */
.portfolio-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 40px auto;
    padding: 10px 30px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portfolio-item {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* ----- LIGHTBOX ----- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

