body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: red;
    line-height: 1.6;
}

/* HEADER */
header {
    background-color: black;
    color: #fff;
    padding: 32px 0 22px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

header a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 14px;
}

header h1 {
    margin: 0;
    font-size: 36px;
}

/* LOGO */
.logo {
    width: 90px;
    height: 90px;
    display: block;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* NAV */
nav {
    background-color: red;
    color: #fff;
    padding: 12px 0;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: yellow;
    text-decoration: underline;
}

/* SECTIONS */
section {
    padding: 24px;
    max-width: 900px;
    margin: 20px auto;
    background-color: #504c4a;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* PHOTO GRID */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.photo-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.photo-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.1);
}

.photo-grid figcaption {
    margin-top: 11px;
    font-size: 15px;
    color: aqua;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.25px;
}

/* FOOTER */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

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

footer a:hover {
    text-decoration: underline;
}

/* ABOUT SECTION */
.about-photographer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 21px;
    border-radius: 14px;
    text-align: center;
}

.photographer-photo {
    width: 300px;
    height: auto;
    display: flex;
    margin: 20px auto;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.photographer-photo:hover {
    transform: scale(1.1);
    filter: brightness(80%);
}

.about-photographer h2 {
    font-size: 15px;
    color: white;
    line-height: 1.5;
}

.about-photographer p {
    font-size: 14px;
    color: white;
    line-height: 1.5;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

form input,
form textarea,
form button {
    padding: 8px;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
}

/* BUTTON */
form button {
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

form button:hover {
    background-color: yellow;
    color: black;
}