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

body {
    background-color: #c6d79b;
    min-height: 100vh;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #c6d79b;
    z-index: 1000;
}

.name {
    color: #1b9918;
    font-size: 60px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 140px 0 40px 0;
    text-align: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #1b9918;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(198, 215, 155, 0.95);
    list-style: none;
    min-width: 180px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #1b9918;
    font-size: 16px;
}

.dropdown-menu a:hover {
    background-color: rgba(168, 201, 122, 0.5);
    opacity: 1;
}

.centered-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 150px;
    width: 100%;
}

.centered-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 150px;
    width: 100%;
}

.italy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 40px 150px;
    width: 100%;
}

.image-grid img,
.italy-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.image-grid img:hover,
.italy-grid img:hover {
    transform: scale(1.02);
}

.centered-image img {
    cursor: pointer;
    transition: transform 0.2s;
}

.centered-image img:hover {
    transform: scale(1.02);
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 40px;
}

.image-overlay.active {
    display: flex;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 10001;
}

.close-button:hover {
    opacity: 0.7;
}

footer {
    background-color: #c6d79b;
    padding: 40px 80px;
    width: 100%;
    text-align: center;
}

footer p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1b9918;
    margin: 0;
}
