/**
 * AUTOVION - Enhanced Styles
 * Verbesserte Navigation, Hero & Footer
 */

/* ============================================
   ENHANCED NAVIGATION
   ============================================ */
.navbar {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    box-shadow: 0 2px 24px rgba(35, 31, 32, 0.06) !important;
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(174, 209, 54, 0.1);
}

.navbar-brand {
    padding: 0 !important;
    margin-right: 48px !important;
}

.logo-image {
    height: 40px;
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(35, 31, 32, 0.08));
}

.logo-image:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 8px rgba(174, 209, 54, 0.2));
}

.logo__text {
    font-size: 34px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
}

.logo__text strong {
    position: relative;
    display: inline-block;
}

.logo__text strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.nav-link {
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 12px 24px !important;
    position: relative;
    color: var(--color-primary) !important;
    transition: all 0.3s ease !important;
    border-radius: 8px;
    margin: 0 4px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    background: rgba(174, 209, 54, 0.08);
    color: var(--color-accent) !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 48px);
}

.nav-link.active {
    color: var(--color-accent) !important;
    background: rgba(174, 209, 54, 0.1);
}

/* CTA Button in Navigation */
.navbar .btn-primary {
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(174, 209, 54, 0.25) !important;
    transition: all 0.3s ease !important;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 209, 54, 0.35) !important;
}

/* Top Bar Enhanced */
.top-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-bottom: 1px solid rgba(174, 209, 54, 0.15) !important;
    padding: 12px 0 !important;
}

.top-bar__link {
    font-weight: 500 !important;
    color: var(--color-primary) !important;
}

.top-bar__link svg {
    color: var(--color-accent);
}

/* ============================================
   ENHANCED HERO SECTION - Komplett neu
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1718 0%, #231f20 50%, #2d2829 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 120px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(174, 209, 54, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(174, 209, 54, 0.05) 0%, transparent 50%);
    animation: pulseGradient 10s ease-in-out infinite;
}

@keyframes pulseGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 49%, rgba(174, 209, 54, 0.03) 49%, rgba(174, 209, 54, 0.03) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(174, 209, 54, 0.03) 49%, rgba(174, 209, 54, 0.03) 51%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

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

.text-accent {
    color: var(--color-accent) !important;
    text-shadow: 0 0 30px rgba(174, 209, 54, 0.3);
    position: relative;
    display: inline-block;
}

.hero__subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 48px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero__search-card {
    background: white;
    padding: 48px 56px;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    position: relative;
}

.hero__search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #9bc02d 100%);
    border-radius: 20px 20px 0 0;
}

/* ============================================
   ENHANCED FOOTER - Verbesserte Lesbarkeit
   ============================================ */
.footer {
    background: #2a2627 !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.footer {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-logo .logo__text {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.footer-logo .logo__text strong {
    color: var(--color-accent) !important;
}

.footer-logo .logo__text strong::after {
    height: 3px;
}

.footer-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links a {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff !important;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-contact li {
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
    transition: var(--transition-base);
}

.footer-contact li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.footer-contact a {
    color: #ffffff !important;
    font-weight: 600;
}

.footer-contact strong {
    color: #ffffff !important;
}

.social-link {
    width: 46px !important;
    height: 46px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(174, 209, 54, 0.4);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.footer-legal {
    justify-content: flex-end !important;
}

.footer-legal a {
    position: relative;
    padding: 4px 8px;
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff !important;
}

.footer-legal a:hover::after {
    transform: scaleX(1);
}

.footer-hours {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-hours strong {
    color: #ffffff !important;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero__title {
        font-size: 42px;
    }

    .hero__search-card {
        padding: 28px;
    }

    .footer-legal {
        justify-content: center !important;
    }
}

@media (max-width: 767px) {
    .hero__title {
        font-size: 34px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__search-card {
        padding: 24px;
    }
}
