/* Essential fixes for LegalCare template - DO NOT override template styling */

/* =================================================================
   NAVBAR FIXES - Ensure navbar is visible and properly styled
   ================================================================= */

/* Dark navbar background and positioning */
.navbar.navbar-dark,
.navbar.bg-dark,
.ftco_navbar {
    background-color: #1f2937 !important;
    background: #1f2937 !important;
    position: relative;
    z-index: 1000;
    width: 100%;
    display: block !important;
    order: -1; /* Ensure navbar comes first */
}

/* Force navbar to expand on desktop */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

/* Navbar text colors */
.navbar-dark .nav-link {
    color: #ffffff !important;
}

.navbar-dark .nav-link:hover {
    color: #3b82f6 !important;
}

.navbar-brand {
    color: #ffffff !important;
}

.navbar-brand:hover {
    color: #3b82f6 !important;
}

.navbar-brand span {
    color: #3b82f6 !important;
}

/* Mobile menu toggle */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =================================================================
   FLOATING CTA WIDGET (if it exists in LegalCare)
   ================================================================= */

.claim-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.claim-widget.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================================================
   HERO SECTION FIXES - Essential layout for page-hero
   ================================================================= */

.page-hero {
    background: #ffffff;
    color: #1f2937;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.page-hero h1 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.page-hero .breadcrumb {
    margin-bottom: 1.5rem;
}

.page-hero .breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.page-hero .breadcrumb a:hover {
    color: #3b82f6;
}

.page-hero .breadcrumb span {
    color: #9ca3af;
    margin: 0 0.5rem;
}

.page-hero .smartengeld-range {
    color: #1f2937;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.page-hero .range-label {
    color: #6b7280;
    font-weight: 500;
}

.page-hero .range-amount {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.3rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.highlight {
    color: #3b82f6;
}

/* Responsive hero */
@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* =================================================================
   END OF ESSENTIAL FIXES
   ================================================================= */
