@import url('https://fonts.googleapis.com/css2?family=Diplomata+SC&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Tagesschrift&display=swap');

h2 {
    text-align: center;
}

/* Section */
section {
    padding-top: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid #8d8d8d;
}

section:nth-of-type(odd) {
    background-color: #dadbde;
}

section:nth-of-type(even) {
    background-color: #cccccc;
}

/* Intro Section */
.intro {
    position: relative;
    background-image: url('../images/intro.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.intro-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 0px;
    border-radius: 10px;
    width: 80%;
}

.intro h1 {
    font-size: 2.7em;
    font-family: "Diplomata SC", serif;
    font-weight: 400;
    font-style: normal;
}

.intro h2 {
    font-size: 1.8em;
    font-family: "Diplomata SC", serif;
    font-weight: 400;
    font-style: normal;
    color: #dadbde;
}

.intro h3 {
    font-size: 1.25em;
}

.intro-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-instagram {
    background-color: #5e5959;
    color: #fff;
}

.btn-instagram:hover {
    background-color: #4e4949;
}

.btn-reservation {
    background-color: #2E4535;
    color: white;
}

.btn-reservation:hover {
    background-color: #233529;
}

/* About Section */
.about-section {
    padding: 50px 20px;
    border-radius: 8px;
    text-align: justify;
    padding-bottom: 150px;
}

.about-section h2 {
    font-size: 1.8em;
    font-family: "Diplomata SC", serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 55%;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 15px;
}

.about-photo {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.about-photo img {
    width: 100%;
    max-width: 400px;
    margin-top: 100px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Gallery Section */
.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.gallery h2 {
    font-size: 1.8em;
    font-family: "Diplomata SC", serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 50px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lightbox-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.lightbox-alt {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    padding: 0 15px;
    z-index: 10000;
}

.lightbox-nav.left {
    left: 20px;
}

.lightbox-nav.right {
    right: 20px;
}

/* Services Section */
.services-container {
    display: flex;
    justify-content: center;
}

.services h2 {
    font-size: 1.8em;
    font-family: "Diplomata SC", serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.services-card {
    flex: 1;
    max-width: 300px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #625d5d;
    text-align: center;
    margin: 25px 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.services-card p {
    color: #dadbde;
}

.services-card img {
    width: 300px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}

.services-card button {
    background-color: #2E4535;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.services-card button:hover {
    background-color: #233529;
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}

.contact-container h2 {
    font-size: 1.8em;
    font-family: "Diplomata SC", serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.contact-info,
.map {
    flex: 1;
    box-sizing: border-box;
}

.contact-info,
.map,
iframe {
    border-radius: 15px;
}

.contact-info img {
    max-width: 20%;
}

/* Media Queries */

@media (max-width: 1500px) {
    .map iframe {
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 1300px) {

    .intro-overlay {
        padding: 0px 0px;
    }

    .services-container {
        margin-bottom: 0px;
        gap: 3%;
    }

    .services-card img {
        width: 250px;
    }

    .services-card {
        width: 80%;
        margin: 15px 0;
        box-sizing: border-box;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        gap: 40px;
    }

    .contact-info,
    .map {
        width: 80%;
    }

    .map iframe {
        width: 75%;
    }
}

@media (max-width: 900px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }
}   

@media (max-width: 839px) {
    .about-photo img {
        width: 80%;
        max-width: 400px;
        margin-top: 0px
    } 
} 

@media (max-width: 768px) {
    section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .intro {
        height: 60vh;
        background-attachment: scroll;
    }

    .intro h1 {
        font-size: 1.8em;
    }

    .intro h2 {
        font-size: 1.4em;
    }

    .intro h3 {
        font-size: 1em;
    }

    .about-section {
        padding: 30px 15px;
        padding-bottom: 60px;
    }

    .about-content {
        flex-direction: column;
        margin: 0;
        gap: 30px;
    }

    .about-text,
    .about-photo {
        flex: auto;
        width: 100%;
    }

    .gallery-track {
        margin: 30px 15px;
        gap: 20px;
    }

    .contact-info {
        text-align: center;
    }

    .map iframe {
        width: 100%;
        height: 350px;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0 10px;
    }

    .lightbox-image {
        max-width: 95vw;
    }
}