body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
}
html {
    scroll-behavior: smooth;
}
.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 1.5%;
    border-bottom-right-radius: 1.5%;
}
.header-top {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    box-sizing: border-box;
}
.logo {
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Pacifico', cursive;
}
.header-content {}
.header h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.header .subtitle {
    font-size: 1.5em;
    margin-top: 10px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
}
.nav-buttons a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-left: 10px;
    transition: background-color 0.3s;
}
.nav-buttons a:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.gallery-button {
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    background-color: #e74c3c;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s;
    border: 2px solid white;
}
.gallery-button:hover {
    background-color: #c0392b;
}
.main-content {
    margin-top: 60px;
    padding: 20px 20px;
    text-align: center;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 1.5rem;
    background-color: rgba(145, 137, 137, 0.07);
    gap: 20px;
    flex-direction: row;
}
.gallery h2 {
    width: 100%;
    text-align: center;
    text-decoration: underline;
    color: #b43022;
    font-size: 2.1em;
}
.gallery-item {
    width: 30%;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}
.close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
    box-sizing: border-box;
}
.modal-nav button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 10px 15px;
    border-radius: 50%;
}
.modal-nav button:hover {
    background-color: rgba(255, 255, 255, 0.6);
}
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-top-left-radius: 1.5%;
    border-top-right-radius: 1.5%;
}
.footer h3 {
    margin-top: 0;
}
.footer p {
    margin: 5px 0;
}
@media (max-width: 768px) {
    .header {
        min-height: 45vh;
    }
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 15px;
    }

    .nav-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-buttons a {
        background-color: rgba(0, 0, 0, 0.75);
    }
    .logo {
        margin-bottom: 10px;
    }
    .header-content {
        margin-top: 20px;
        text-align: center;
    }
    .header h1 {
        visibility: hidden;
    }
    .header .subtitle {
        font-size: 1.1em;
    }
    .gallery h2 {
        font-size: 1.4em;
    }
    .gallery-item {
        width: 90%;
    }
}
@media (max-width: 480px) {
    .header h1 {
        visibility: hidden;
    }
    .nav-buttons a {
        background-color: rgba(0, 0, 0, 0.75);
    }
    .header .subtitle {
        font-size: 1em;
    }
}