/*
 * Nordic Transport Group - Corporate Website
 * Nordisches Speditions-Design mit Bootstrap 5
 */

/* ===== Variablen ===== */
:root {
    --nordic-blue: #0A1F44;
    --ice-blue: #7BBDE9;
    --rock-grey: #6E747A;
    --snow-white: #FFFFFF;
    --light-bg: #F5F7FA;
    --success-green: #28a745;
    
    --primary: var(--ice-blue);
    --dark: var(--nordic-blue);
    --secondary: var(--rock-grey);
}

/* ===== Typography ===== */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--nordic-blue);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    letter-spacing: 2px;
}

/* ===== Navigation ===== */
.navbar {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.98) 0%, rgba(10, 31, 68, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 31, 68, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--snow-white) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--ice-blue) !important;
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--ice-blue);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover {
    color: var(--ice-blue) !important;
}

.navbar .btn-primary {
    background: var(--ice-blue);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    background: var(--nordic-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 189, 233, 0.4);
}

/* ===== Hero Section mit Truck-Banner ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(10, 31, 68, 0.9) 0%, rgba(10, 31, 68, 0.85) 100%),
        url('./../images/website1.png') center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, transparent 0%, rgba(10, 31, 68, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(123, 189, 233, 0.2);
    border: 1px solid rgba(123, 189, 233, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.hero-badge i {
    color: var(--ice-blue);
    font-size: 1.2rem;
}

.hero-badge span {
    color: var(--ice-blue);
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-section h1 {
    font-size: 5rem;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    color: var(--ice-blue);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--ice-blue);
    border: none;
    box-shadow: 0 10px 30px rgba(123, 189, 233, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: var(--snow-white);
    color: var(--nordic-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 189, 233, 0.5);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--ice-blue);
    border-color: var(--ice-blue);
    color: var(--snow-white);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    margin-top: 4rem;
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.hero-stats .stat-item:hover {
    background: rgba(123, 189, 233, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--ice-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--nordic-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--snow-white);
    font-family: 'Bebas Neue', cursive;
    line-height: 1;
}

.stat-label {
    color: var(--ice-blue);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Schnee-Overlay entfernt - kein animiertes Muster mehr */

/* ===== Section Badges ===== */
.badge {
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Info Box ===== */
.info-box {
    background: var(--snow-white);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-box .btn-primary {
    background: var(--ice-blue);
    border: none;
    font-weight: 600;
}

.info-box .btn-primary:hover {
    background: var(--nordic-blue);
    transform: translateY(-2px);
}

/* ===== Feature Box ===== */
.feature-box {
    padding: 2rem;
    background: var(--snow-white);
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 189, 233, 0.2);
    border-color: var(--ice-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--nordic-blue) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--snow-white);
    margin-bottom: 1rem;
}

.feature-box h5 {
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--rock-grey);
    margin: 0;
}

/* ===== Hub Features ===== */
.hub-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.hub-feature-item:hover {
    background: var(--snow-white);
    box-shadow: 0 5px 20px rgba(123, 189, 233, 0.15);
    transform: translateX(5px);
}

.hub-feature-item i {
    font-size: 1.8rem;
    color: var(--ice-blue);
    margin-top: 0.2rem;
}

.hub-feature-item strong {
    display: block;
    color: var(--nordic-blue);
    margin-bottom: 0.3rem;
}

/* ===== Carousel ===== */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(10, 31, 68, 0.9));
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
}

.carousel-caption h5 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ===== Tour Cards ===== */
.tour-card {
    background: var(--snow-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 189, 233, 0.2);
    border-color: var(--ice-blue);
}

.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.driver-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ice-blue);
}

.driver-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--nordic-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 1.5rem;
}

.tour-route {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.route-point {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.route-point i {
    font-size: 1.3rem;
    color: var(--ice-blue);
    margin-top: 0.2rem;
}

.route-point strong {
    display: block;
    color: var(--nordic-blue);
    margin-bottom: 0.2rem;
}

.route-arrow {
    font-size: 1.5rem;
    color: var(--rock-grey);
}

.tour-stats {
    display: flex;
    gap: 1rem;
}

.tour-stats .stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.tour-stats .stat i {
    font-size: 1.3rem;
    color: var(--ice-blue);
    margin-bottom: 0.5rem;
}

.tour-stats .stat span {
    font-weight: 600;
    color: var(--nordic-blue);
}

/* ===== Requirements ===== */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.requirement-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--snow-white);
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 189, 233, 0.2);
    border-color: var(--ice-blue);
}

.requirement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--nordic-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--snow-white);
    margin: 0 auto 1rem;
}

.requirement-card h5 {
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
}

.requirement-card p {
    color: var(--rock-grey);
    margin: 0;
}

/* ===== Application Box ===== */
.application-box {
    background: var(--snow-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--ice-blue);
    opacity: 0.3;
}

.timeline-number {
    min-width: 45px;
    height: 45px;
    background: var(--ice-blue);
    color: var(--snow-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Bebas Neue', cursive;
}

.timeline-content h6 {
    color: var(--nordic-blue);
    margin-bottom: 0.3rem;
}

.timeline-content p {
    color: var(--rock-grey);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== Gallery ===== */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(123, 189, 233, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 31, 68, 0.95));
    color: var(--snow-white);
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Team Cards ===== */
.team-card {
    text-align: center;
    padding: 2rem;
    background: var(--snow-white);
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(123, 189, 233, 0.2);
    border-color: var(--ice-blue);
}

.team-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ice-blue);
    box-shadow: 0 10px 30px rgba(123, 189, 233, 0.3);
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--nordic-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--snow-white);
    border: 4px solid var(--ice-blue);
}

.team-role-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: var(--ice-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--snow-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-role-badge i {
    color: var(--snow-white);
    font-size: 1.2rem;
}

.team-info h5 {
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--ice-blue);
    font-weight: 600;
    margin: 0;
}

.team-placeholder {
    border: 2px dashed var(--ice-blue);
    background: var(--light-bg);
}

.team-placeholder .team-avatar-placeholder {
    background: linear-gradient(135deg, rgba(123, 189, 233, 0.3) 0%, rgba(10, 31, 68, 0.3) 100%);
}

.team-placeholder .team-info h5 {
    color: var(--ice-blue);
    font-size: 1rem;
}

.team-placeholder .team-role {
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--nordic-blue) 0%, #1a3a5c 100%);
    color: var(--snow-white);
    margin-top: 5rem;
}

.footer h5, .footer h6 {
    color: var(--ice-blue);
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(123, 189, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--ice-blue);
    transform: translateY(-5px);
    text-decoration: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--ice-blue);
    transform: translateX(5px);
    text-decoration: none;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--ice-blue);
    color: var(--snow-white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(123, 189, 233, 0.3);
    z-index: 1000;
}

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

.scroll-top:hover {
    background: var(--nordic-blue);
    transform: translateY(-5px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        margin-top: 3rem;
    }
    
    .stat-item {
        margin-bottom: 0.5rem;
    }
    
    .tour-route {
        flex-direction: column;
    }
    
    .route-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .tour-stats {
        flex-direction: column;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Utilities ===== */
.btn-primary {
    background: var(--ice-blue);
    border: none;
}

.btn-primary:hover {
    background: var(--nordic-blue);
}

.text-primary {
    color: var(--ice-blue) !important;
}

.bg-primary {
    background: var(--ice-blue) !important;
}