/* Global reset / base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Main container */
main {
    display: flex;
    flex-direction: column;
    /* Column on mobile */
    align-items: stretch;
    /* Stretch children to full width on mobile */
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    /* Center text on small screens by default */
}

/* Image takes full width on mobile */
.image {
    width: 100%;
    border-radius: 8px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2 / 3; /* or whatever fits your photos */
}

/* Content also takes full width on mobile */
.content {
    width: 100%;
    text-align: justify;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    /* A bit of spacing below the image on mobile */
}

/* Contact button */
.contact {
    display: inline-block;
    margin-top: 20px;
    padding: 15px;
    background: #52664a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s ease-in-out;
}

.contact:hover {
    background: #728a68;
}

/* Burger menu button */
#burger-toggle {
    position: fixed;
    top: 30px;
    left: 10px;
    font-size: 30px;
    background: rgba(182, 192, 177, 0.5);
    border: 1px solid #ddd;
    /* Frame */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #52664a;
    height: 50px;
    width: 50px;
    z-index: 1001;
    cursor: pointer;
    animation: leftslide 1s ease 0s 1 normal forwards;
}

#burger-toggle:hover {
    background: rgba(182, 192, 177, 0.7);
}

/* Burger menu panel */
#burger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #fff;
    border: 1px solid #ddd;
    /* Frame */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Drop shadow */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    padding-top: 100px;
}

#burger-menu.open {
    transform: translateX(0);
}

#burger-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#burger-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

#burger-menu li:hover {
    background-color: #f0f0f0;
}

#menu-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

#menu-list li {
    margin: 0;
    padding: 0;
}

#menu-list li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

#menu-list li a:hover {
    background-color: #f5f5f5;
}

@keyframes leftslide {
    0% {
        opacity: 0;
        transform: translateX(-250px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rightslide {
    0% {
        opacity: 0;
        transform: translateX(250px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    /* hidden by default */
    z-index: 999;
    /* just behind the menu which has z-index: 1000 */
}

/* A .show class to make the overlay visible */
#menu-overlay.show {
    display: block;
}

/* Larger screens: put image and content side by side */
@media (min-width: 768px) {
    main {
        flex-direction: row;
        /* Row on desktop */
        text-align: left;
        /* Left-align text on desktop */
    }

    .image {
        max-width: 40%;
        /* or 400px if you prefer a fixed max width */
        margin-right: 20px;
        /* space between image and content */
    }

    .content {
        flex: 1;
        /* Fill remaining space */
        margin-top: 0;
        /* remove top margin so it's aligned with image */
    }
}

p {
    margin: 1em 0;
    /* or whatever spacing you prefer */
}

#language-switcher {
    position: fixed;
    top: 30px;
    right: 10px;
    z-index: 1002;
    font-size: 30px;
    background: rgba(182, 192, 177, 0.5);
    border: 1px solid #ddd;
    /* Frame */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #52664a;
    height: 50px;
    width: 50px;
    cursor: pointer;
    animation: rightslide 1s ease 0s 1 normal forwards;
}

.lang-button {
    border: 1px solid rgba(0, 0, 0, 0.15);
    /* matches the burger menu border */
    background: rgba(245, 245, 245, 0.1);
    /* same transparency as menu */
    cursor: pointer;
    font-size: 28px;
    /* controls flag size */
    line-height: 1;
    border-radius: 6px;
    /* makes it consistent with menu styling */
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.lang-button:hover {
    background: rgba(245, 245, 245, 0.5);
}

.content .contact-wrapper {
    text-align: center;
}
