/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Global Styles */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #004080;
    padding: 20px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-toggle-checkbox {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.nav-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    margin-bottom: 5px;
    background-color: #fff;
}

.nav {
    list-style: none;
    margin-top: 10px;
}

.nav li {
    display: inline;
    margin: 0 15px;
}

.nav li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav li a:hover {
    color: #ffcc00;
}

/* Hide the menu by default on small screens */
@media (max-width: 768px) {
    .nav {
        display: none;
        background-color: #004080;
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        text-align: center;
        z-index: 2;
    }

    .nav li {
        display: block;
        margin: 10px 0;
    }

    .nav-toggle-label {
        display: block;
    }

    /* Show the menu when the checkbox is checked */
    .nav-toggle-checkbox:checked + .nav-toggle-label + .nav {
        display: block;
    }
}

/* Hero Section */
#hero {
    background: linear-gradient(to right, #002F6C, #0048A7); /* Dégradé du bleu foncé au bleu clair */
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

#hero .welcome h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#hero .welcome p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

#hero .photographer img {
   position: absolute;
    bottom: -80px; /* Place le logo à cheval entre le bleu et le blanc */
    left: 50%;
    transform: translateX(-50%);
    width: 336px;  /* Largeur de l'ovale */
    height: auto;  /* Hauteur de l'ovale */
    background-color: white; /* Couleur de l'ovale */
    border-radius: 50% / 100%; /* Rend le div ovale */
    border: 5px solid #004080; /* Optionnel : bordure de la même couleur que l'en-tête */
    z-index: 2;    /* S'assure que le logo est au-dessus de la section suivante */
}

/* Section Styles */
section {
    padding: 60px 20px;
    background-color: #fff;
    margin-bottom: 20px;
}

section h2 {
    font-size: 36px;
    color: #004080;
    margin-bottom: 20px;
    text-align: center;
}

section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blurb {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    text-align: justify;
    text-align-last: left;
}

.camera img {
    max-width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
}

/* Link Styles */
.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    margin-bottom: 10px;
}

.links-list li a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

.links-list li a:hover {
    color: #ffcc00;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form input[type="submit"] {
    background-color: #004080;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #003366;
}

/* Footer Styles */
footer {
    background-color: #004080;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #hero {
        padding: 60px 20px;
    }

    #hero .welcome h1 {
        font-size: 36px;
    }

    #hero .photographer img {
        max-width: 200px;
    }

    section h2 {
        font-size: 28px;
    }

    section p {
        font-size: 16px;
    }

    form input, form textarea {
        font-size: 14px;
    }

    form input[type="submit"] {
        font-size: 16px;
    }

}

.back-to-top {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 10px;
}

.back-to-top a {
    text-decoration: none;
    color: #004080;
    font-size: 24px;
    padding: 5px;
    transition: color 0.3s ease;
}

.back-to-top a:hover {
    color: #ffcc00;
}
