/* Copyright (c) 2026 Florentius Bohn. All Rights Reserved. The content of this website is protected by copyright and may not be reproduced without permission. */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Face Declaration */
@font-face {
    font-family: 'century_schoolbookbold';
    src: url('schlbkb-webfont.woff2') format('woff2'),
         url('schlbkb-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'century_schoolbookbold', Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    min-height: 100vh;
}

a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Parallax Hero Section */
.parallax {
    background-image: url('hintergrundStart.JPG');
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
}

/*-------------------------*/
/* Hero Section Elements */
.logo {
    max-width: 300px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .logo {
        max-width: 200px;
        top: 10px;
        left: 10px;
    }
}

/* Social Links */
.social-links {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(5px);
    border: 1px solid transparent;
}

.social-link:hover,
.social-link:focus {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon-instagram,
.social-icon-tripadvisor,
.social-icon-tiktok {
    font-size: 24px;
    color: white;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-link:hover .social-icon-instagram {
    color: #E4405F;
    transform: scale(1.2);
}

.social-link:hover .social-icon-tripadvisor {
    color: #00AA6C;
    transform: scale(1.2);
}

/* TikTok has a multi-color brand, so we'll use a simple shadow effect on hover */
.social-link:hover .social-icon-tiktok {
    transform: scale(1.2);
}

/* TikTok SVG icon needs specific size */
.social-icon-tiktok {
    width: 22px; /* Slightly smaller to match visual weight of other icons */
    height: 22px;
}

/* Call-to-Action Button */
.cta-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.cta-button {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    font-size: 24px;
    border: 3px solid white;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'century_schoolbookbold', Georgia, serif;
    text-align: center;
    min-width: 200px;
    overflow: visible; /* Ensure pseudo-elements are visible */
}

.cta-button:hover,
.cta-button:focus {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    outline: none;
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 18px;
        padding: 15px 30px;
        min-width: 160px;
    }
}



/* Career Button */
.career-button-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.career-button {
    position: relative;
    padding: 15px 25px;
    background-color: #28a745;
    color: white;
    border: 3px solid white;
    border-radius: 12px;
    font-size: 18px;
    font-family: 'century_schoolbookbold', Georgia, serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.career-button:hover,
.career-button:focus {
    background-color: #218838;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    outline: none;
}

.badge {
    position: absolute;
    top: -15px;
    right: -15px;
    padding: 8px 12px;
    border-radius: 50%;
    background-color: #ffc107;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    font-family: 'century_schoolbookbold', Georgia, serif;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
    100% { transform: rotate(15deg) scale(1); }
}

@media (max-width: 768px) {
    .career-button-container {
        bottom: 10px;
        right: 10px;
    }
    
    .career-button {
        padding: 12px 20px;
        font-size: 16px;
    }
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 15px;
    margin: 2% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #c82333, #a81d2a);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.close {
    color: white;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    float: right;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
    outline: 2px solid white;
    outline-offset: 2px;
}

.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.modal-subtitle {
    font-size: 20px;
    color: #c82333;
    margin: 20px 30px 10px;
    font-weight: bold;
}

.modal-paragraph {
    margin: 15px 30px;
    line-height: 1.6;
    color: #555;
}

.modal-list-heading {
    font-size: 18px;
    color: #c82333;
    margin: 25px 30px 15px;
    font-weight: bold;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

.modal-content ul {
    margin: 15px 30px;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

.modal-content strong {
    color: #c82333;
}

.modal-content h5 {
    font-size: 16px;
    color: #666;
    margin: 20px 30px 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-subtitle {
        font-size: 18px;
        margin: 15px 20px 10px;
    }
    
    .modal-paragraph,
    .modal-list-heading {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* Main Content */
.main-content {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-text h1 {
    font-size: 2.5rem;
    color: #c82333;
    margin-bottom: 20px;
    font-weight: bold;
}

.welcome-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 15px;
    }
    
    .welcome-text h1 {
        font-size: 2rem;
    }
    
    .welcome-text p {
        font-size: 1.1rem;
    }
}

/* Snowflakes */
.snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
    position:fixed;
    top:-5%;
    z-index:9999;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    cursor:default;
    -webkit-animation-name:snowflakes;
    -webkit-animation-duration:10s;
    -webkit-animation-timing-function:linear;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-play-state:running;
    animation-name:snowflakes;
    animation-duration:10s;
    animation-timing-function:linear;
    animation-iteration-count:infinite;
    animation-play-state:running;
}
@keyframes snowflakes {
    0% {transform:translateY(0)}
    100% {transform:translateY(105vh)}
}
@-webkit-keyframes snowflakes {
    0% {transform:translateY(0)}
    100% {transform:translateY(105vh)}
}

.santa-hat {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    width: 100px;
    height: 100px;
    background-image: url('https://www.pngall.com/wp-content/uploads/2016/04/Santa-Hat-PNG-Clipart.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 20;
}