/* 
 * FKK Point Bruchsal - Main Stylesheet
 * Core styles for layout, typography, and basic components
 */

:root {
    --primary-red: #D10A10;
    --secondary-red: #A00000;
    --gold: #D4AF37;
    --light-gold: #F0E68C;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #303030;
    --dark-gray: #1a1a1a;
    --light-gray: #F0F0F0;
}

/* ===== Global Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Layout & Container Styles ===== */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.container,
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-red);
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-red));
}

.section-header .section-title {
    display: inline-block;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.section-light {
    background-color: var(--white);
    color: var(--black);
}

.section-dark {
    background-color: var(--black);
    color: var(--white);
}

.section-gray {
    background-color: var(--light-gray);
    color: var(--black);
}

/* ===== Header & Navigation ===== */
header {
    background-color: rgba(0,0,0,0.85);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(0,0,0,0.9);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.logo-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.logo-text span {
    color: var(--gold);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 80%;
}

nav ul li a.active {
    color: var(--gold);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background-color: var(--primary-red);
    top: -150px;
    left: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background-color: var(--gold);
    bottom: -100px;
    right: -100px;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background-color: var(--white);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.animated-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

h1 {
    font-size: clamp(40px, 6vw, 60px);
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    line-height: 1.2;
}

h1 span {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 40px;
    color: var(--light-gold);
    font-weight: 400;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-30px) translateX(-50%);}
    60% {transform: translateY(-15px) translateX(-50%);}
}

/* ===== Buttons & CTAs ===== */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    margin: 0 10px 10px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
}

.submit-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
    min-width: 300px;
    color: var(--black);
    padding-right: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-circle-container {
    width: 400px;
    height: 400px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.about-circle {
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    height: 100%;
    background: url('../img/about-bg.jpg') center/cover no-repeat;
}

.about-circle-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--primary-red);
    border: 3px solid var(--gold);
    bottom: -30px;
    right: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-decorative-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.about-circle-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(209, 10, 16, 0.05);
    top: -150px;
    right: -100px;
}

.about-circle-2 {
    width: 200px;
    height: 200px;
    background-color: rgba(212, 175, 55, 0.05);
    bottom: -100px;
    left: -50px;
}

/* ===== Footer ===== */
footer {
    background-color: var(--black);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    float: left;
}

.footer-logo-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 60px;
}

.footer-logo-text span {
    color: var(--gold);
}

.footer-about {
    color: var(--white);
    opacity: 0.7;
    margin-top: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--gold);
    transform: translateY(-5px);
}

.footer-links {
    flex: 1;
    min-width: 180px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 2;
    min-width: 250px;
}

.newsletter-form {
    display: flex;
    margin-top: 25px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.newsletter-btn {
    padding: 0 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: var(--white);
    opacity: 0.7;
    font-size: 14px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(209, 10, 16, 0.3);
    transform: translateY(-2px);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-content:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 15px 20px;
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--gold);
    border-radius: 5px;
    z-index: 1001;
}
/* ===== Neue Menüstruktur mit Submenüs ===== */

/* Hauptmenü */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
    margin-left: 25px;
}

.main-menu > li > a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
    /*display: block;*/
}

.main-menu > li > a:hover {
    color: var(--gold);
}

.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-menu > li > a:hover::after,
.main-menu > li > a.active::after {
    width: 80%;
}

.main-menu > li > a.active {
    color: var(--gold);
}

/* Dropdown-Pfeil für Submenüs */
.has-submenu > a::before {
    content: "\f107"; /* FontAwesome Pfeil-nach-unten Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.has-submenu:hover > a::before {
    transform: rotate(180deg);
}

/* Submenüs */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.95);
    min-width: 200px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 10px 0;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    display: block;
    margin: 0;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: rgba(209, 10, 16, 0.2);
    color: var(--gold);
    padding-left: 25px;
}

/* Hamburger-Menü für Mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Responsives Design */
@media screen and (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: rgba(0,0,0,0.95);
        flex-direction: column;
        padding: 80px 0 30px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .main-menu > li {
        margin: 0;
    }
    
    .main-menu > li > a {
        padding: 15px 25px;
        border-radius: 0;
		display: block
    }
    
    .main-menu > li > a::after {
        display: none;
    }
    
    /* Hamburger-Menü Animationen */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Submenüs im mobilen Ansicht */
    .submenu {
        position: static;
        background-color: rgba(0,0,0,0.3);
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        border-radius: 0;
    }
    
    .has-submenu.active .submenu {
        max-height: 300px;
    }
    
    .submenu li a {
        padding-left: 40px;
    }
    
    .has-submenu > a::before {
        float: right;
        margin-top: 5px;
    }
}