/* Der Feuervogel - Phoenix Theme CSS (Exact copy from Flask version) */

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* CSS Custom Properties */
:root {
    /* Phoenix Color Palette with Turquoise Accents */
    --phoenix-red: #FF6B35;
    --phoenix-orange: #F7931E;
    --phoenix-gold: #FFD700;
    --phoenix-dark: #2A5D5D; /* Dark Turquoise instead of gray */
    --phoenix-light: #FFF8DC;
    --phoenix-green: #27AE60;
    --phoenix-turquoise: #2A4040; /* Footer turquoise - 1 shade lighter */
    --phoenix-secondary: #4A7C7C; /* Medium Turquoise */
    
    /* Gradients */
    --phoenix-gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
    --phoenix-gradient-dark: linear-gradient(135deg, #2A5D5D 0%, #4A7C7C 100%);
    
    /* Shadows */
    --phoenix-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
    --phoenix-shadow-hover: 0 15px 40px rgba(255, 107, 53, 0.2);
    
    /* Transitions */
    --phoenix-transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--phoenix-dark);
}

/* Logo Sizing */
.navbar-logo {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
}

.footer-logo {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
}

/* Text Colors */
.text-phoenix-red { color: var(--phoenix-red) !important; }
.text-phoenix-orange { color: var(--phoenix-orange) !important; }
.text-phoenix-gold { color: var(--phoenix-gold) !important; }
.text-phoenix-dark { color: var(--phoenix-dark) !important; }
.text-phoenix-light { color: var(--phoenix-light) !important; }
.text-phoenix-green { color: var(--phoenix-green) !important; }

/* Background Colors */
.bg-phoenix-red { background-color: var(--phoenix-red) !important; }
.bg-phoenix-orange { background-color: var(--phoenix-orange) !important; }
.bg-phoenix-gold { background-color: var(--phoenix-gold) !important; }
.bg-phoenix-dark { background-color: var(--phoenix-dark) !important; }
.bg-phoenix-light { background-color: var(--phoenix-light) !important; }
.bg-phoenix-green { background-color: var(--phoenix-green) !important; }

/* Button Hover Effects */
.btn-outline-phoenix-orange.hover-fill {
    border: 2px solid var(--phoenix-orange);
    color: var(--phoenix-orange);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-phoenix-orange.hover-fill:hover {
    background: linear-gradient(135deg, var(--phoenix-red), var(--phoenix-orange), var(--phoenix-gold));
    color: white;
    border-color: var(--phoenix-orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Button Styles */
.btn-phoenix-primary {
    background: var(--phoenix-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--phoenix-transition);
    box-shadow: var(--phoenix-shadow);
}

.btn-phoenix-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--phoenix-shadow-hover);
    color: white;
}

.btn-phoenix-secondary {
    background-color: var(--phoenix-dark);
    border: 2px solid var(--phoenix-dark);
    color: #f8f9fa !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--phoenix-transition);
    text-decoration: none !important;
}

.btn-phoenix-secondary * {
    color: #f8f9fa !important;
}

.btn-phoenix-secondary:visited,
.btn-phoenix-secondary:link,
.btn-phoenix-secondary:active {
    color: #f8f9fa !important;
}

.btn-phoenix-secondary:hover {
    background-color: transparent;
    color: var(--phoenix-dark) !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.btn-outline-phoenix-primary {
    border: 2px solid var(--phoenix-red);
    color: var(--phoenix-red);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--phoenix-transition);
    background: transparent;
}

.btn-outline-phoenix-primary:hover {
    background: var(--phoenix-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-outline-phoenix-secondary {
    border: 2px solid var(--phoenix-dark);
    color: var(--phoenix-dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--phoenix-transition);
    background: transparent;
}

.btn-outline-phoenix-secondary:hover {
    background-color: var(--phoenix-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-phoenix-gold {
    background: linear-gradient(135deg, var(--phoenix-gold), #FFA500);
    border: none;
    color: var(--phoenix-dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--phoenix-transition);
    box-shadow: var(--phoenix-shadow);
}

.btn-phoenix-gold:hover {
    background: linear-gradient(135deg, #FFA500, var(--phoenix-gold));
    color: var(--phoenix-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Phoenix Gradient Button */
.btn-phoenix-gradient {
    background: var(--phoenix-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px !important;
    transition: var(--phoenix-transition);
    box-shadow: var(--phoenix-shadow);
}

.btn-phoenix-gradient:hover {
    background: linear-gradient(135deg, var(--phoenix-red) 0%, var(--phoenix-orange) 50%, var(--phoenix-gold) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--phoenix-shadow-hover);
}

/* Border Colors */
.border-phoenix-red { border-color: var(--phoenix-red) !important; }
.border-phoenix-orange { border-color: var(--phoenix-orange) !important; }
.border-phoenix-gold { border-color: var(--phoenix-gold) !important; }
.border-phoenix-dark { border-color: var(--phoenix-dark) !important; }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.3) 30%, 
        rgba(0, 0, 0, 0.1) 60%, 
        rgba(0, 0, 0, 0.0) 100%);
    z-index: 2;
}

.hero-content-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    max-width: 750px;
    margin-left: auto;
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 1.2rem;
    font-weight: 300 !important;
}

/* Override Bootstrap button font-weight */
.btn.fw-bold {
    font-weight: 400 !important;
}

/* Force light font weight for hero subtitle */
.hero-subtitle,
.hero-subtitle *,
p.hero-subtitle {
    font-weight: 100 !important;
}

/* Force light font weight for newsletter text - all possible selectors */
.text-phoenix-dark.fs-5,
.text-phoenix-dark.fs-5 *,
p.text-phoenix-dark.fs-5,
section p.text-phoenix-dark.fs-5 {
    font-weight: 100 !important;
}

/* Bootstrap override for paragraph tags */
.fs-5 {
    font-weight: 100 !important;
}

p.fs-5 {
    font-weight: 100 !important;
}

/* Force override any Bootstrap fs-5 defaults */
section p.text-phoenix-dark {
    font-weight: 100 !important;
}

/* Footer Newsletter Styling - Very Specific */
footer .footer-newsletter label.form-label.text-phoenix-orange {
    color: #F7931E !important;
    font-weight: 500 !important;
}

footer .footer-newsletter .input-group .btn {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 0 25px 25px 0 !important;
}

footer .footer-newsletter .input-group .form-control {
    border-radius: 0.375rem 0 0 0.375rem !important;
    border-right: none !important;
}

/* Footer column spacing override */
footer .row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
}

footer .row > div {
    flex: 1 !important;
    margin-right: 2rem !important;
}

footer .row > div:last-child {
    margin-right: 0 !important;
}

/* Copyright single line layout */
footer .d-flex:not(.row) {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* Hero subtitle specific override */
.hero-section .hero-subtitle,
.hero-section p.hero-subtitle {
    font-weight: 100 !important;
}

/* Newsletter section override */
#newsletter p.text-phoenix-dark,
section#newsletter p.text-phoenix-dark,
.text-phoenix-dark.mb-5 {
    font-weight: 100 !important;
}



@media (max-width: 991px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-content-box {
        padding: 2rem;
        margin-top: 2rem;
        max-width: none;
    }
    
    .hero-background-image {
        object-position: center center;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(0, 0, 0, 0.6) 100%);
    }
}

.hero-section .container {
    z-index: 3;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Navigation */
.navbar {
    background-color: white !important;
    transition: var(--phoenix-transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: var(--phoenix-transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: var(--phoenix-transition);
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
}

.navbar-brand:hover img {
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.5));
}

.nav-link {
    font-weight: 500;
    color: var(--phoenix-dark) !important;
    transition: var(--phoenix-transition);
    position: relative;
    text-decoration: none !important;
}

.navbar-brand {
    color: var(--phoenix-dark) !important;
}

.navbar-brand:hover {
    color: var(--phoenix-orange) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--phoenix-gradient);
    transition: var(--phoenix-transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Cards */
.card {
    border-radius: 15px;
    transition: var(--phoenix-transition);
    border: none;
}

.phoenix-card {
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.phoenix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.phoenix-link-primary {
    color: var(--phoenix-dark) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phoenix-link-primary:hover {
    color: var(--phoenix-orange) !important;
    text-decoration: none !important;
}

.phoenix-badge-orange {
    background: linear-gradient(135deg, var(--phoenix-orange), #FF8C42);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.btn-outline-phoenix-orange {
    border: 2px solid var(--phoenix-orange);
    color: var(--phoenix-orange);
    background: transparent;
    font-weight: 500;
    border-radius: 25px;
    padding: 0.375rem 1rem;
    transition: all 0.3s ease;
}

.btn-outline-phoenix-orange:hover {
    background: var(--phoenix-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--phoenix-dark) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    color: var(--phoenix-orange) !important;
    text-decoration: none !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--phoenix-shadow-hover);
}

.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.article-card {
    transition: var(--phoenix-transition);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-image-container {
    text-align: center;
}

.about-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: var(--phoenix-transition);
    padding: 12px 16px;
}

.form-control:focus {
    border-color: var(--phoenix-orange);
    box-shadow: 0 0 0 0.2rem rgba(247, 147, 30, 0.25);
}

.form-check-input:checked {
    background-color: var(--phoenix-orange);
    border-color: var(--phoenix-orange);
}

/* Newsletter Section */
#ebook-download .card {
    border: 2px solid rgba(247, 147, 30, 0.2);
}

/* Pricing Section */
.pricing-guideline {
    border: 2px solid rgba(247, 147, 30, 0.3);
}

.supporter-benefits {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(247, 147, 30, 0.1));
}

/* Article Categories */
.article-category .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Contact Section */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--phoenix-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.contact-info .contact-item {
    padding: 1rem;
    border-radius: 10px;
    transition: var(--phoenix-transition);
}

.contact-info .contact-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

/* Footer */
.footer {
    background: var(--phoenix-gradient-dark);
    color: white;
}

.footer a {
    color: var(--phoenix-light);
    transition: var(--phoenix-transition);
}

.footer a:hover {
    color: var(--phoenix-gold);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

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

.smooth-scroll {
    color: inherit;
    text-decoration: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: var(--phoenix-transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1050;
}

.reading-progress-bar {
    height: 100%;
    background: var(--phoenix-gradient);
    width: 0%;
    transition: width 0.3s ease;
}

/* Related Topics Styling */
.related-topics {
    margin-top: 3rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.related-topics .badge {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Related Articles Section */
.related-articles {
    background: var(--phoenix-light);
    margin-top: 4rem;
}

/* Enhanced Hero Section for Blog */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    background: linear-gradient(135deg, var(--phoenix-red) 0%, var(--phoenix-orange) 50%, var(--phoenix-gold) 100%);
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.hero-divider {
    width: 60px;
    height: 4px;
    background: var(--phoenix-gold);
    border-radius: 2px;
    margin-top: 2rem;
}

.min-vh-50 {
    min-height: 50vh;
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content-box {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Blog and Article Styles */
.blog-header {
    background: var(--phoenix-gradient);
    color: white;
    padding: 4rem 0;
}

.text-shadow-strong {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.8);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2,
.article-content h3 {
    color: var(--phoenix-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-content-box {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .service-card .card-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content-box {
        padding: 1rem;
    }
    
    .pricing-guideline,
    .supporter-benefits {
        margin-bottom: 2rem;
    }
    
    .contact-info .contact-item {
        text-align: center;
        margin-bottom: 1rem;
    }
}



/* Contact Card Styles */
.contact-card .contact-icon {
    color: var(--phoenix-orange) !important;
}

.contact-card a {
    color: var(--phoenix-dark) !important;
    text-decoration: none;
}

.contact-card h6 {
    font-size: 1.1rem;
}

/* Footer Newsletter Styles */
.footer-newsletter {
    margin-top: 1rem;
}

.footer-newsletter .form-label {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-newsletter .input-group .form-control {
    border-radius: 0.375rem 0 0 0.375rem !important;
    border-right: none;
}

.footer-newsletter .input-group .btn {
    border-radius: 0 0.375rem 0.375rem 0 !important;
    border-left: none;
}

/* Footer Contact Icons */
.footer-contact i {
    color: #fff !important;
}

/* Contact Form Width Matching */
.contact-form .row {
    max-width: 800px;
    margin: 0 auto;
}

/* Pricing Info Hover Effect */
.pricing-info {
    transition: all 0.3s ease;
}

.pricing-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
}

/* Contact Cards and Form Hover Effects */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.contact-form {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

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

/* Blog Card Hover Effects */
.blog-card {
    transition: all 0.3s ease;
}

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



/* Footer Column Distribution */
.footer .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer .col-lg-3 {
    flex: 1;
    min-width: 0;
}

/* Remove existing left margin rule */
.footer .col-lg-3:nth-child(2) {
    margin-left: 0;
}