/* ============================================
   FSX Multiplayerforum - Custom Styles
   ============================================ */

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

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Hauptcontainer mit Hintergrundbild */
#mainContainer {
    min-height: 100vh;
    background: #000 url('../Logo_4K.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Overlay für bessere Lesbarkeit */
#mainContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 20, 0.75);
    z-index: 0;
}

/* Animation: Hintergrund einblenden */
@keyframes fadeInBackground {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-in-bg {
    animation: fadeInBackground 1s ease-in forwards;
}

/* Animation: Navigation und Inhalt einblenden */
@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-nav {
    opacity: 0;
    animation: fadeInContent 1s ease-in forwards;
    animation-delay: 1s; /* Startet nach dem Hintergrund */
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background: transparent !important;
    backdrop-filter: none;
    padding: 1rem 2rem;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #4a90e2 !important;
    transform: translateX(5px);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
}

/* Content Container */
.content-container {
    flex: 1;
    padding: 3rem 1rem;
    padding-top: 6rem; /* Platz für fixierte Navigation */
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.9);
}

.content-card:hover,
.content-card:hover .section-title,
.content-card:hover h3,
.content-card:hover p,
.content-card:hover .lead {
    color: #000;
}

.content-card:hover .section-title {
    border-bottom-color: rgba(44, 62, 80, 0.5);
}

.content-card:hover a:not(.btn) {
    color: #0056b3;
}

.content-card:hover a:not(.btn):hover {
    color: #003d82;
}

.content-card:hover .fab.fa-youtube.text-danger {
    color: #dc3545 !important;
}

.content-card:hover .fas.fa-folder-open {
    color: #2c3e50;
}

.content-card a {
    color: #88b4ff;
}

.content-card a:hover {
    color: #ffffff;
}

.content-card .lead {
    color: rgba(255, 255, 255, 0.9);
}

.content-card p {
    color: rgba(255, 255, 255, 0.85);
}

.content-card h3 {
    color: #ffffff;
}

.content-card .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Custom Spacing */
.mb-6 {
    margin-bottom: 5rem !important;
}

.mb-7 {
    margin-bottom: 6rem !important;
}

.section-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 0.5rem;
}

.section-title i {
    margin-right: 0.5rem;
}

/* Project Cards */
.project-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 2rem;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.project-card:hover {
    transform: translate3d(0, -10px, 0) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer p {
    margin: 0;
}

/* Impressum Seite spezifische Styles */
.impressum-container {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 2rem auto;
    color: #ffffff;
}

.impressum-container a {
    color: #88b4ff;
}

.impressum-container a:hover {
    color: #ffffff;
}

.impressum-container p,
.impressum-container ul,
.impressum-container li {
    color: rgba(255, 255, 255, 0.85);
}

.impressum-container .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.impressum-container h2 {
    color: #ffffff;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.impressum-container h3 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.impressum-container .warning-box {
    background: rgba(255, 243, 205, 0.36);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    color: #ffffff;
}

.impressum-container .info-box {
    background: rgba(209, 236, 241, 0.36);
    border-left: 4px solid #17a2b8;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    color: #ffffff;
}

/* Responsive Design */

/* Tablets (Portrait) */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem;
    }
    
    .content-card {
        padding: 2rem;
    }
    
    .content-container {
        padding: 2rem 1rem;
    }
}

/* Mobile Geräte */
@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .project-icon {
        font-size: 2.5rem;
    }
    
    .impressum-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Kleine Mobile Geräte */
@media (max-width: 575px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .content-container {
        padding: 1.5rem 0.5rem;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
}

/* Über mich Seite - Profile Image Placeholder */
.profile-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.profile-image-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Über mich - About Content */
.about-content h3 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-content h3 i {
    margin-right: 0.5rem;
    color: #ffffff;
    opacity: 0.8;
}

/* Interest Items */
.interest-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    height: 100%;
}

.interest-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.18);
}

.interest-item i {
    font-size: 2rem;
    color: #ffffff;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.interest-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.interest-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-links .btn {
    transition: all 0.3s ease;
}

.social-links .btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-3px);
}

.social-links .btn-outline-primary:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
}

.social-links .btn-outline-info:hover {
    background: #0dcaf0;
    color: #fff;
    transform: translateY(-3px);
}

.social-links .btn-outline-dark:hover {
    background: #212529;
    color: #fff;
    transform: translateY(-3px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Bessere Übergänge für alle interaktiven Elemente */
a, button, .btn {
    transition: all 0.3s ease;
}
