@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

:root {
    --primary: white;
}

body {
    background-color: #dadbde;
    font-family: "Special Elite", monospace;
    letter-spacing: 0.1em;
    color: black;
    margin: 0;
    padding: 0;
    text-align: center;
}

button {
    font-family: "Special Elite", monospace;
}

/* Navbar */

.mobile-logo {
    display: none;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dadbde;
    padding: 25px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.nav-center {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 45%;
    max-width: 75%;
    position: relative;
    overflow: visible;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 10%;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center li {
    position: relative;
}

.nav-center li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    display: inline-block;
}

.nav-center li:not(.nav-logo):not(.btn-reservation):hover a,
.nav-center li.active:not(.btn-reservation) a {
    background-color: #4e4949;
    border-radius: 5px;
    color: white;
}

.nav-center .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -35px;
    z-index: 10;
}

.nav-center .nav-logo img {
    height: 85px;
    display: block;
}

.btn-reservation a {
    background-color: #4e4949;
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.btn-reservation a:hover {
    background-color: #3b3a3a;
    border-radius: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* ADMIN NAVBAR ONLY */

.admin-navbar .nav-bar-right {
    position: absolute;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.admin-navbar .nav-bar-right a {
    background-color: #c0392b;
    color: white;
}

.admin-navbar .nav-bar-right a:hover {
    background-color: #e74c3c;
}


/* Fonts */

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #dadbde;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: black;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #dadbde;
}

a {
    color: #2E4535;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/* Footer */

.site-footer {
    background-color: #333;
    padding: 20px 20px 20px;
    color: #f8f8f8;
    font-size: 0.9rem;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    max-width: 60%;
    margin: 0 auto 20px;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #f8f8f8;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 150px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--primary);
    border-bottom: 3px solid #2E4535;
    padding-bottom: 5px;
}

.footer-column p,
.footer-column a {
    margin: 7px 0;
    color: #c5c4ca;
    text-decoration: none;
}

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

.footer-bottom {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    color: #c5c4ca;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: #c5c4ca;
    text-decoration: none;
}

/* Cookies Bar */

.cookie-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.cookie-bar.hidden {
    display: none !important;
}

.cookie-bar button {
    padding: 8px 16px;
    background: #4caf50;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-bar button:hover {
    background: #45a049;
}

.cookie-bar a {
    color: #ff9800;
    text-decoration: underline;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

[data-map] iframe:not([src]) {
    display: none;
}

.map-info-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10%;
}

.map-info-text a {
    color: #2E4535;
    text-decoration: underline;
    font-weight: bold;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-bar .cookie-buttons button {
    padding: 8px 16px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

#accept-cookies {
    background: #4caf50;
}

#accept-cookies:hover {
    background: #45a049;
}

#reject-cookies {
    background: #f44336;
}

#reject-cookies:hover {
    background: #d32f2f;
}

/* Media */
@media (max-width: 1600px) {

    .footer-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 80%;
    }
}

@media (max-width: 1400px) {
    .mobile-logo {
        display: block;
        position: absolute;
        top: 5px;
        left: 20px;
        height: 50px;
        z-index: 1200;
    }

    .mobile-logo img {
        height: 60px;
        width: auto;
    }

    .navbar {
        padding: 0 30px;
        height: 70px;
    }

    .hamburger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 30px;
        background: none;
        border: none;
        z-index: 1100;
    }

    .nav-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-color: #dadbde;
        position: fixed;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: none;
        padding: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1050;
    }

    .nav-center.open {
        transform: translateX(0);
    }

    .nav-left,
    .nav-right {
        display: contents;
    }

    .nav-center li {
        margin: 0.5rem 0;
    }

    .nav-center .nav-logo {
        display: none;
    }

    .btn-reservation a {
        display: block;
        text-align: center;
    }

    .services-container {
        display: block;
    }

    /* Footer Section */
    .footer-columns {
        max-width: 80%;
        gap: 50px;
    }

    .cookie-bar {
        display: block !important;
        text-align: center;
        left: -15px;
    }

    .cookie-bar p {
        margin: 0 auto 15px auto;
        max-width: 90%;
    }

    .cookie-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .cookie-bar .cookie-buttons button {
        width: auto;
        min-width: 100px;
    }

    .admin-navbar .admin-nav-center {
        width: 100%;
    }

    .admin-navbar .nav-bar-right {
        position: static;
        right: auto;
        top: auto;
        transform: none;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 1000px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.hamburger.open span:nth-child(1) {
    transform: rotate(37.5deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-37.5deg);
}