/* Directions Page Styles */

/* Header Section */
.directions-header {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.directions-header .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 1;
}

.directions-header .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 0 2rem;
}

.directions-header .hero-content .logo {
    font-size: 4rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.directions-header .hero-content .tagline {
    font-size: 1.5rem;
    color: var(--silver);
    letter-spacing: 0.2em;
}

.address-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    border-radius: 2rem;
    color: var(--gold);
}

.address-badge i {
    font-size: 1.2rem;
}

/* Section Title & Description */
.cities-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: transparent;
    background: linear-gradient(
        45deg,
        var(--gold) 0%,
        var(--gold-light) 50%,
        var(--gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 300;
}

.cities-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );
}

.cities-section h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );
}

.section-description {
    text-align: center;
    color: var(--silver);
    margin: 2rem auto 4rem;
    max-width: 800px;
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 1px;
    font-weight: 300;
    opacity: 0.9;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.city-card {
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.08) 0%, 
        rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.city-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.city-info h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0;
}

.distance {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

/* Route Buttons */
.route-buttons {
    display: flex;
    gap: 0.1rem;
}

.route-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.route-btn.google {
    background: #EA4335;
    color: white;
}

.route-btn.apple {
    background: #A2AAAD;
    color: white;
}

.route-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Map Section */
.map-container {
    position: relative;
    height: 600px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 4rem;
}

.directions-map {
    width: 100%;
    height: 100%;
}

/* Map Marker Styles */
.custom-map-marker {
    background: none !important;
    border: none !important;
    z-index: 999 !important;
}

.custom-map-marker i {
    font-size: 120px !important;
    color: var(--gold) !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: markerPulse 2s infinite;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Location Card */
.location-card {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gold);
    backdrop-filter: blur(10px);
    max-width: 300px;
    z-index: 999;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-header i {
    color: var(--gold);
    font-size: 1.5rem;
}

.location-header h3 {
    color: var(--gold);
    margin: 0;
}

.location-card address {
    color: var(--silver);
    margin-bottom: 1.5rem;
    font-style: normal;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-item i {
    color: var(--gold);
}

/* Transport Info */
.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.transport-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.transport-card .icon-3d {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-card i {
    font-size: 2rem;
    color: var(--gold);
}

.transport-card h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.transport-card p {
    color: var(--silver);
    line-height: 1.6;
}

/* Animations */
@keyframes markerPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0.6));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0.6));
    }
}

@keyframes shine {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .directions-header h1 {
        font-size: 2.5rem;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        position: relative;
        top: auto;
        left: auto;
        max-width: none;
        margin-top: 2rem;
    }

    .transport-info {
        grid-template-columns: 1fr;
    }

    .route-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .directions-header {
        min-height: 300px;
    }

    .cities-section h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .transport-card {
        padding: 1.5rem;
    }
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.7; /* Optional: für einen transparenten Effekt */
}