/* Main Styles for Pflegewunder.de */

:root {
    --primary-color: #7a5af8;
    --secondary-color: #6c757d;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --lavender-color: #e6e6fa;
    --light-blue-color: #add8e6;
    --purple-light: rgba(122, 90, 248, 0.1);
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 30px 0;
    height: auto;
}

.navbar.navbar-sticky {
    padding: 8px 0;
}

/* Add a hero overlay for better text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: linear-gradient(135deg, rgba(230, 230, 250, 0.85), rgba(173, 216, 230, 0.85));
    z-index: 0;
}

/* Full-width dropdown mega menu */
.position-static {
    position: static;
}

.full-width-dropdown {
    width: 100%;
    margin-top: 0;
    left: 0;
    right: 0;
    animation: fadeIn 0.3s ease;
       scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}
.full-width-dropdown::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.mega-menu {
    min-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
    border-radius: 8px;
}

/* Make the navbar dropdowns scrollable on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .dropdown-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
    background-color: #062367 !important;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(13, 110, 253);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Form Styles */
.form-check-custom {
    position: relative;
    padding: 0;
}

.form-check-custom .form-check-input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.form-check-custom .form-check-label {
    display: block;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 5px;
}

.form-check-custom .form-check-input:checked + .form-check-label {
    border-color: var(--primary-color);
    background-color: var(--purple-light);
}

.range-slider {
    position: relative;
    margin-bottom: 30px;
}

.range-value {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
}

/* Steps for availability checker */
.step-container {
    display: none;
}

.step-container.active {
    display: block;
}

/* Services */
.icon-box {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--purple-light);
    border-radius: 50%;
}

/* Testimonials */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), #5e48e8);
}

/* Parallax Section */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
}

.counter-box {
    padding: 20px;
    border-radius: 5px;
    color: white;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: #343a40;
}

.social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sticky Contact Button */
.sticky-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.sticky-contact .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Sidebar navigation */
.sidebar-nav {
    margin-left: -10px;
}

.side-link {
    border-radius: 5px;
    padding: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.side-link:hover {
    background-color: var(--purple-light);
    color: var(--primary-color);
}

.link-arrow {
    transition: transform 0.3s ease;
}

.side-link:hover .link-arrow {
    transform: translateX(5px);
}

/* Breadcrumb styling */
.breadcrumb {
    padding: 10px 0;
}

.breadcrumb-item a {
    color:  rgb(13, 110, 253);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .mega-menu {
        min-width: auto;
        width: 100%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .full-width-dropdown {
        margin-top: 0;
        padding: 10px;
    }
}

@media (max-width: 767.98px) {
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    .sticky-contact .btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .counter {
        font-size: 2rem;
    }
}

/* Accessibility */
.btn:focus, 
.form-control:focus, 
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(122, 90, 248, 0.25);
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}