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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    width: 100%;
    height: 15vh;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(
        to right,
        rgb(55, 122, 223),
        rgb(99, 160, 184),
        rgb(241, 146, 146)
    );
}

.nav { width: 100%; }

.nav ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    margin: 0;
}

.nav ul li { cursor: pointer; }

.nav ul li a,
.nav ul li {
    font-family: 'EB Garamond', serif;
    font-size: 40px;
    text-decoration: none;
    color: hsl(219, 69%, 42%);
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(100, 120, 200, 0.25);
}

.nav ul li a:hover,
.nav ul li:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(180, 100, 160, 0.4);
}

.nav ul li a.active {
    background: linear-gradient(135deg, rgb(55, 122, 223), rgb(241, 146, 146));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav ul li:hover { color: white; }

.footer {
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-family: "EB Garamond", serif;
    background-image: linear-gradient(
        to left,
        rgb(55, 122, 223),
        rgb(99, 160, 184),
        rgb(241, 146, 146)
    );
}

@media (max-width: 768px) {
    .header { height: auto; padding: 16px 20px; }
    .nav ul { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 16px; }
    .nav ul li a, .nav ul li { font-size: 22px; }
}

/* ===== FOTOGALERIE PAGE ===== */

.gallery-section {
    flex: 1;
    background-color: rgba(198, 220, 238, 0.7);
    background-image: url(put5.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    padding: 50px 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 15px 5px rgb(241, 146, 146),
        0 0 30px 10px rgb(99, 160, 184);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 20px 8px rgb(241, 146, 146),
        0 0 40px 15px rgb(99, 160, 184);
}

.photo-wrap { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }

.photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-card:hover .photo-wrap img { transform: scale(1.06); }

.photo-caption {
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(99, 160, 184, 0.2);
}

.photo-caption p {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgb(30, 80, 140);
    font-style: italic;
}

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
    .gallery-section { padding: 30px 20px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
}