* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

a {
    text-decoration: none;
    color: white;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
}

.back-link {
    color: #c9a961;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.back-link:hover {
    color: #fff;
}

.hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-politiques::before {
    background-image: url('../imgPolitique/exemples\ presse\ po\ et\ generale-01.JPG');
}

.hero-celebrites::before {
    background-image: url('../imgCelebrites/exemples-05.webp');
}

.hero-architecture::before {
    background-image: url('../imgArchitecture/ARCHI_exemple-076.webp');
}

.hero-portraits::before {
    background-image: url('../imgPortraits/portraits-20.webp');
}

.hero-reportages::before {
    background-image: url('../imgReportages/exemples presse po et generale-18.webp');
}

.hero-articles::before {
    background-image: url('../imgArticles/Jef Aerosol-06.webp');
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 18px;
    color: #c9a961;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 40px;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-intro h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #c9a961;
}

.gallery-intro p {
    line-height: 1.8;
    color: #ccc;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/*.item-tall {
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}*/

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .photo-caption {
    opacity: 1;
}

.photo-caption h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.photo-caption p {
    font-size: 13px;
    color: #c9a961;
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.cta-section {
    text-align: center;
    padding: 100px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
}

.cta-section p {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 16px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #c9a961;
    color: #c9a961;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cta-button:hover {
    background: #c9a961;
    color: #0a0a0a;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .item-wide,
    .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    header {
        padding: 20px;
    }
}