/* Allgemeine Stile */
:root {
    --primary-color: #182941;
    --secondary-color: #e8e7e5;
    --text-color: #182941;
    --light-bg: #e8e7e5;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation - Startseite */
.navbar {
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
    opacity: 0;
    height: 25px;
}

.navbar.scrolled .navbar-brand img {
    opacity: 1;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar .nav-link {
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-link {
    color: var(--secondary-color) !important;
}

.navbar .nav-link:hover {
    opacity: 0.8;
}

.navbar .container {
    position: relative;
}

.navbar .navbar-nav {
    margin-left: 662px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Profil Section */
#about {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

#about .section-title {
    color: var(--secondary-color);
}

/* Skills Section */
#skills {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

#skills .section-title {
    color: var(--primary-color);
}

/* Project Section */
#project {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

#project .section-title {
    color: var(--secondary-color);
}

/* Contact Section */
#contact {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

#contact .section-title {
    color: var(--primary-color);
}

/* Skills Section */
.skill-bar {
    height: 10px;
    background-color: rgba(24, 41, 65, 0.1);
    border-radius: 5px;
    margin: 10px 0;
    position: relative;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item .d-flex {
    margin-bottom: 5px;
}

.skill-item span:first-child {
    font-weight: 500;
}

.skill-item span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-description {
    font-size: 0.95em;
    color: #666;
    margin-top: 2px;
    margin-bottom: 8px;
}

.accordion-button {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    padding: 15px;
    border: 1px solid rgba(24, 41, 65, 0.1);
    border-radius: 5px !important;
    margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 20px;
    background-color: rgba(24, 41, 65, 0.05);
    border-radius: 0 0 5px 5px;
}

/* Project Section */
.project-teaser {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.category-skill-bar {
    width: 100px;
    height: 6px;
    background-color: rgba(24, 41, 65, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.category-skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.category-level {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) .category-level {
    color: var(--secondary-color);
}

.accordion-button:not(.collapsed) .category-skill-progress {
    background-color: var(--secondary-color);
}

.accordion-button .category-level {
    margin-left: 12px;
    margin-right: 16px;
}

/* Contact Form */
.form-control {
    border: 1px solid rgba(24, 41, 65, 0.2);
    padding: 12px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #fff;
    color: var(--primary-color);
}

.form-control::placeholder {
    color: rgba(24, 41, 65, 0.6);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0;
    position: relative;
    min-height: 200px;
    background-image: url('footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 41, 65, 0.9);
}

.footer .container {
    position: relative;
    z-index: 1;
    padding: 30px 0;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        height: 70vh;
    }
}

.scroll-down-arrow {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.7;
    animation: arrow-bounce 1.5s infinite;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.scroll-down-arrow:hover {
    color: #0d1a2b;
    opacity: 1;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(20px);
    }
}

html {
    scroll-behavior: smooth;
}

#thinkwiki {
    background: var(--primary-color);
    color: var(--secondary-color);
}
#thinkwiki .section-title,
#thinkwiki h3,
#thinkwiki h5,
#thinkwiki p {
    color: var(--secondary-color);
}
#thinkwiki .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
}
#thinkwiki .btn-primary:hover {
    background: #e8e7e5;
    color: var(--primary-color);
}
#thinkwiki img {
    background: none;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(24,41,65,0.10);
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#thinkwiki .section-title {
    margin-bottom: 32px;
}
#thinkwiki h3 {
    font-weight: 700;
    margin-bottom: 8px;
}
#thinkwiki h5,
#thinkwiki .text-muted {
    color: var(--secondary-color) !important;
}
@media (max-width: 768px) {
    #thinkwiki .row {
        flex-direction: column;
    }
    #thinkwiki .col-md-5, #thinkwiki .col-md-7 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    #thinkwiki img {
        margin-bottom: 24px;
    }
}

/* ThinkWiki Unterseite */
.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.tech-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tech-item i {
    color: var(--primary-color);
}

.tech-item p {
    color: var(--text-color);
    font-weight: 500;
}

.project-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 15px;
    }
    
    .tech-item {
        margin-bottom: 10px;
    }
}

/* ThinkWiki Segmente */
.segment {
    padding: 120px 0;
    position: relative;
}

.segment:nth-child(odd) {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.segment:nth-child(even) {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Spezifische Segment-Farben */
#overview {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

#autolink {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

#chatbot {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

#tech {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

#video {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

/* Anpassung der Icons und Listenpunkte */
#overview .feature i,
#chatbot .feature i,
#video .feature i {
    color: var(--primary-color);
}

#autolink .feature i,
#tech .feature i {
    color: var(--secondary-color);
}

#overview .feature-list li:before,
#chatbot .feature-list li:before,
#video .feature-list li:before {
    color: var(--primary-color);
}

#autolink .feature-list li:before,
#tech .feature-list li:before {
    color: var(--secondary-color);
}

#overview .tech-card i,
#chatbot .tech-card i,
#video .tech-card i {
    color: var(--primary-color);
}

#autolink .tech-card i,
#tech .tech-card i {
    color: var(--secondary-color);
}

.segment-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.segment .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.key-features {
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.feature i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.segment:nth-child(even) .feature i {
    color: var(--secondary-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.segment:nth-child(even) .feature-list li:before {
    color: var(--secondary-color);
}

.tech-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.tech-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.segment:nth-child(even) .tech-card i {
    color: var(--secondary-color);
}

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

.tech-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.tech-card ul li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

/* Navigation Anpassungen */
.navbar .nav-link:hover {
    opacity: 0.8;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .segment {
        padding: 80px 0;
    }
    
    .segment-title {
        font-size: 2rem;
    }
    
    .tech-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .row.align-items-center {
        text-align: center;
    }
    
    .row.align-items-center img {
        margin-bottom: 2.5rem;
    }
    
    .feature {
        justify-content: center;
    }
}

/* ThinkWiki Button Styles */
.btn-thinkwiki {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 2rem auto;
}

.btn-thinkwiki:hover {
    background-color: #0d1a2b;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-thinkwiki i {
    margin-right: 8px;
}

/* Zentrierter Button-Container */
.btn-container {
    text-align: center;
    width: 100%;
    margin-top: 2rem;
}

/* Zurück-Button Styles */
.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.btn-back {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background-color: #0d1a2b;
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.btn-back i {
    font-size: 1.1rem;
}

/* Anpassung der Segmente für fehlende Navbar */
.segment {
    padding-top: 80px;
}

/* Footer Button Anpassung */
.footer .btn-back {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer .btn-back:hover {
    background-color: #d8d7d5;
    color: var(--primary-color);
}

/* ThinkWiki Header - Projektseite */
.thinkwiki-header {
    background-color: var(--secondary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.thinkwiki-header h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

/* Anpassung der Segmente für Header */
.segment {
    padding-top: 100px;
}

/* Anpassung des Zurück-Buttons */
.back-link {
    top: 70px;
}

/* Social Links */
.social-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    opacity: 0.8;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
} 