/* google Webschriften */
@font-face {
    font-family: 'Tillana';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pUAJiSWA2ig1iGf06385wPk_vArhqVIZ0nv9q090hN8.woff2') format('woff2');
    font-display: swap;
}

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

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-family: system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 0.9rem + 0.6vw, 1.5rem);
    line-height: 1.7;
    color: #333;
    background-color: #f6d5e8;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 5px 5px 8px grey;
    background-color: #c93091;
    background-image: url("../img/logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 20vh;
    padding: 5rem 1rem;
    text-align: center;
    z-index: 100;
}

.logo-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    height: 70%;
    cursor: pointer;
    z-index: 1;
}

.main {
    flex: 1;
    min-height: 5rem;
    color: #c93091;
    margin-top: 20vh;
    padding: 3rem 1rem 5rem 1rem;
    text-align: center;
}

.title {
    font-family: 'Tillana', sans-serif;
    font-size: 1.7rem;
    font-weight: bolder;
    color: #cc9019;
    margin-top: 1rem;
}

.sub-title {
    font-family: 'Tillana', sans-serif;
    font-size: 1.2rem;
    color: #cc9019;
    margin-bottom: 2rem;
}

.info-center {
    font-size: 1rem;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.info-left {
    font-size: 1rem;
    color: #333;
    text-align: left;
    max-width: 60rem;
    margin: 1rem auto;
}

.team-image {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    color: #cc9019;
}

h3 {
    font-size: 1.2rem;
    font-weight: bolder;
    color: #cc9019;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

a:link {
    color: #cc9019;
    text-decoration: underline;
}

a:visited {
    color: #333;
    text-decoration: underline;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
    box-shadow: 5px -5px 8px grey;
    background-color: #c93091;
    min-height: 3rem;
    z-index: 100;
}

.footer a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Social Media Icon */
.social-icon {
    position: absolute;
    left: 2rem;
    top: calc(50% + 1.5rem);
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    color: #000 !important;
    transition: color 0.3s ease;
    z-index: 101;
}

.social-icon:hover {
    color: #cc9019 !important;
}

.social-icon:link,
.social-icon:visited {
    color: #000 !important;
}

.social-icon:link:hover,
.social-icon:visited:hover {
    color: #cc9019 !important;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hamburger Menu Button */
.menu-toggle {
    position: absolute;
    left: 2rem;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    z-index: 101;
}

.hamburger-icon {
    width: 2rem;
    height: 2rem;
    color: #000;
    transition: color 0.3s ease;
    display: block;
}

.menu-toggle:hover .hamburger-icon {
    color: #cc9019;
}

/* Menu Overlay Backdrop */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 150;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-out Navigation Menu */
.menu-slide {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 250px;
    background-color: #c93091;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 151;
    padding-top: 8rem;
    overflow-y: auto;
}

.menu-slide.active {
    transform: translateX(0);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.menu-link {
    display: block;
    padding: 1.5rem 2rem;
    color: #000 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.menu-link:visited {
    color: #000 !important;
}

.menu-link:hover,
.menu-link:visited:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #cc9019 !important;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .social-icon {
        left: 1rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .menu-toggle {
        left: 1rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .menu-slide {
        width: 80%;
        max-width: 280px;
        padding-top: 7rem;
    }

    .menu-link {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
    z-index: 200; /* Appear above header and footer */
    cursor: pointer; /* Add a pointer on hover */
}

#overlay-text {
    position: absolute;
    text-align: center;
    top: 55%;
    left: 50%;
    font-size: 2.5rem;
    color: white;
    transform: translate(-50%, -50%);
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(201, 48, 145, 0.8);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(201, 48, 145, 1);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(201, 48, 145, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #c93091;
}

@media (max-width: 600px) {
    .slider-btn {
        padding: 0.6rem 0.8rem;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 0.5rem;
    }

    .slider-btn.next {
        right: 0.5rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Anfahrt Page Styles */
#map {
    height: 400px;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.address-box {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.address-box h3 {
    margin-top: 0;
    color: #333;
}

.address-box p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.anfahrt-content {
    margin-bottom: 6rem;
}

.anfahrt-page .main {
    padding-bottom: 8rem;
}
