/* Custom CSS for Bootstrap Enhancement */

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

/* Custom hover effects for cards */
.hover-card {
    transition: all 0.3s ease;
    border-radius: 15px !important;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.15) !important;
}

.hover-card:hover .bg-success {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hover-card .bg-success {
    transition: transform 0.3s ease;
}

/* Custom green color variations to match logo */
:root {
    --bs-success: #4CAF50;
    --bs-success-rgb: 76, 175, 80;
}

.text-success {
    color: #4CAF50 !important;
}

.btn-success {
    background-color: #2E7D32;
    border-color: #2E7D32;
}

.btn-success:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
}

.btn-outline-success {
    color: #4CAF50;
    border-color: #4CAF50;
}

.btn-outline-success:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

/* Navbar enhancements */
.navbar-brand:hover {
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: #4CAF50 !important;
}

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

.navbar-nav .nav-link.active {
    color: #2E7D32 !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    background: #2E7D32;
}

/* Footer styling for better readability */
footer {
    color: white !important;
}

footer p, footer a, footer li {
    color: white !important;
}

footer a:hover {
    color: #4CAF50 !important;
    transition: color 0.3s ease;
}

footer .text-light-emphasis {
    color: white !important;
}

/* Additional spacing for sections */
section {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    /* Reduzierte Navbar-Abstände auf mobilen Geräten */
    .navbar-nav .nav-link {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }
    
    /* Zusätzlicher Abstand zwischen Button und Icon auf allen Hero-Sections */
    .hero .col-lg-8,
    .hero .col-lg-7,
    .hero .col-lg-6 {
        margin-bottom: 3rem;
    }
    
    /* Allgemeine Verbesserung für mobile Hero-Sections */
    .hero .row > [class*="col-"] {
        margin-bottom: 2rem;
    }
    
    .hero .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    /* Tags in Stellenausschreibungen - besseres Wrapping auf mobilen Geräten */
    .d-flex.gap-2 {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    /* Badge-Größe für mobile Geräte anpassen */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        white-space: nowrap;
    }
}
