/* 
 * app-promotion.css - App-Promotion-Sektion Styles
 * LineTrack Website
 */

 .app-promotion {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 60px 0;
}

.app-promotion .section-title,
.app-promotion .section-subtitle {
    color: var(--white);
}

.app-promo-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    align-items: flex-start;
}

/* Features Bereich (links) */
.app-features {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-feature {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.app-feature:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.15);
}

.app-feature .title-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.app-feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 12px;
}

.app-feature h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0;
}

.app-feature p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* App Bild und Download (rechts) */
.app-promo-image {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-promo-image img {
    max-width: 100%;
    max-height: 400px; /* Begrenzt die Höhe des Screenshots */
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.app-download-button {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.app-download-button img {
    height: 50px;
    width: auto;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    border-radius: 0; /* Entfernt jegliche Rundungen */
    background: transparent; /* Stellt sicher, dass der Hintergrund transparent ist */
    padding: 0; /* Entfernt jegliches Padding */
    max-width: none; /* Verhindert das Anwenden von max-width Einschränkungen */
    transform: none; /* Verhindert Transformationseffekte */
}

.app-download-button:hover {
    transform: scale(1.05);
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .app-promo-content {
        flex-direction: column;
    }
    
    .app-promo-image {
        margin-top: 30px;
        order: 2;
    }
    
    .app-features {
        order: 1;
    }
}

@media (max-width: 768px) {
    .app-promo-image img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .app-promo-image img {
        max-height: 300px;
    }
    
    .app-feature {
        padding: 20px;
    }
}