@font-face {
    font-family: 'ScalaSans';
    src: url('../font/ScalaSans Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #b39801;
    --secondary-hover: #8f7a01;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
}

body {
    font-family: 'ScalaSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    /* background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);*/
    background-color: #fff;
    color: #000;
    /*color: white;*/
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 1rem 1.5rem;
    text-align: center;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
    /*border-bottom: 1px solid rgba(179, 152, 1, .4);*/
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.sidebar-header img {
    max-width: 175px;
    height: auto;
}

.sidebar-nav {
    padding: 2rem 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    /*color: rgba(255, 255, 255, 0.8);*/
    color: #000;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:has(.badge) {
    justify-content: space-between;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    /*color: white;*/
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--secondary-color);
}

.nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.nav-link-content {
    display: flex;
    align-items: center;
}

/* Dropdown for "Über uns" */
.dropdown-menu {
    background: rgba(44, 62, 80, 0.95);
    border: none;
    border-radius: 0;
    margin-left: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-left: 2px solid transparent;
}

.dropdown-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
}

/* Submenu for "Angebot" */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    /*background: rgba(26, 32, 44, 0.95);*/
    background: #eee;
    margin-left: 0;
    border-left: none;
}

.submenu.open {
    max-height: 280px;
}

.submenu-item {
    /*color: rgba(255, 255, 255, 0.8);*/
    color: #000;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    font-size: 0.9rem;
}

.submenu-item:hover {
    /*color: white;*/
    color: var(--secondary-color);
    /*background: rgba(179, 152, 1, 0.2);*/
    border-left-color: var(--secondary-color);
}

.submenu-item.active {
    /*color: white;*/
    color: var(--secondary-color);
    /*background: rgba(179, 152, 1, 0.2);*/
    border-left-color: var(--secondary-color);
}

.submenu-item i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

/* Chevron animation */
#angebotChevron {
    transition: transform 0.3s ease;
}

#angebotChevron.rotated {
    transform: rotate(180deg);
}

#eventChevron {
    transition: transform 0.3s ease;
}

#eventChevron.rotated {
    transform: rotate(180deg);
}

#ueberUnsChevron {
    transition: transform 0.3s ease;
}

#ueberUnsChevron.rotated {
    transform: rotate(180deg);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    background: var(--light-bg);
}

.onboarding-content {
    background: var(--light-bg);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/lib/img/event/VIP_2595_3-resized.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 0rem;
    /* Dynamic depending on logo height */
}

.event-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/lib/img/event/VIP_2589_1-2-resized.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 0rem;
    /* Dynamic depending on logo height */
}

.experience-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/lib/img/experience/DSC_9861.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 0rem;
    /* Dynamic depending on logo height */
}

/* Video Section */
.videography-section {
    position: relative;
    display: flex;
    height: 100vh;
    justify-content: center;
    background-color: #000;
}

.videography-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.videography-section .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
}

.videography-section .logo-container {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0;
}

.videography-section .logo-container img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.videography-section .content-container {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0;
}

/* Video Section */

.map-container {
    width: 100%;
}

.map-container svg {
    width: 100%;
    height: auto;
}

.map-container #points circle {
    fill: var(--secondary-color);
    stroke: white;
    stroke-width: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 6rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0;
}

.logo-container img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-hero {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Imprint Section */
.normal-text {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Introduction Section */
.intro-text {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.normal-text strong,
.intro-text strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Custom Primary Button Styles */
.btn-primary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
    color: white !important;
}

.btn-primary:focus {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
    box-shadow: 0 0 0 0.2rem rgba(179, 152, 1, 0.25) !important;
}

.btn-outline-primary {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(179, 152, 1, .5) !important;
}

/* Text Primary Color */
.text-primary {
    color: var(--secondary-color) !important;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.first-section {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.content-section {
    padding: 2rem 0;
}

.last-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.login-section {
    padding: 5rem 0;
    height: 100vh;
}

.admin-section {
    padding: 5rem 0;
    min-height: 100vh;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.offer-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.offer-card {
    color: #000;
}

.offer-card-link {
    text-decoration: none !important;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .location-overlay {
    opacity: 1;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(179, 152, 1, 0.25);
}

.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(179, 152, 1, 0.25);
}

.flatpickr-input {
    background-color: #fff !important;
}

.flatpickr-day.selected {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    background: var(--secondary-color) !important;
    color: white !important;
}

/* Footer */
.footer {
    background: #fff;
    color: #000;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer a {
    color: #000;
    text-decoration: none;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: background 0.3s ease;
}

.social-links a:hover {
    color: #eee;
    background: var(--secondary-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .sidebar-header img {
        max-width: 125px;
    }

    .sidebar.show {
        transform: translateX(0);
        flex: 1;
        overflow-y: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--secondary-color);
    border: none;
    color: white;
    /*padding: 0.5rem;*/
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* LightGallery Thumbnail Primary Color Hover */
.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
    border-color: var(--secondary-color) !important;
}

/* Accordion */
.accordion-item {
    border: 1px solid #eee !important;
    border-radius: 5px;
}

.accordion-header,
.accordion-button,
.accordion-button:focus {
    border: 1px solid transparent;
    border-radius: 5px;
}

.accordion-button::after {
    width: 2.25rem;
    height: 2.25rem;
    background-position: center;
    border-radius: 50%;
    transition: all .35s;
    background-repeat: no-repeat;
    background-size: 0.625rem;
    background-color: #f3f6ff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23000'%3e%3cpath d='M225.813 48.907L128 146.72 30.187 48.907 0 79.093l128 128 128-128z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-color: #f3f6ff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23000'%3e%3cpath d='M225.813 48.907L128 146.72 30.187 48.907 0 79.093l128 128 128-128z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-button {
    font-weight: 500;
}

.accordion-button:focus,
.accordion-button:active,
.accordion-button:not(.collapsed) {
    color: #000;
    font-weight: 500;
    box-shadow: none;
    background-color: #fff;
}

.accordion-item {
    color: #000;
    background-color: #fff;
}

.accordion-body {
    color: #1a1a1a;
    padding-top: 0;
    font-size: .875rem;
}

/* Legal Links */
.legal-link {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
}

.legal-link:hover {
    color: var(--secondary-hover);
}

/* Badge */
.form-check-input:focus {
    box-shadow: none;
    border-color: #ddd;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    box-shadow: none;
    border-color: var(--secondary-color);
}

.badge.bg-secondary {
    color: #000;
    font-weight: 400;
    border: 1px solid var(--secondary-color);
    background-color: transparent !important;
}

/* Admin */
.link-card {
    color: var(--dark-text);
    text-decoration: none;
}

.link-card:hover {
    color: var(--secondary-color);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    color: white;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary:active:focus {
    box-shadow: none;
}

/* Lightgallery */
.gallery-image {
    cursor: pointer;
}

/* Card Link */
.card-link {
    text-decoration: none;
    color: #000;
}

.card-link:hover {
    color: var(--secondary-color);
}

.card-link .card-title {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.25rem;
}