/* Dynamic Landing Pages Plugin Styles */

.dlp-shortcode {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.dlp-heading {
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
}

.dlp-info {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.dlp-info p {
    margin: 5px 0;
    font-size: 14px;
}

.dlp-helpers-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.dlp-helper-item {
    background: #fff;
    margin: 10px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #0073aa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dlp-helper-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dlp-helper-name {
    color: #0073aa;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.dlp-helper-description {
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.dlp-helper-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
}

.dlp-distance,
.dlp-rating {
    background: #f0f8ff;
    padding: 4px 8px;
    border-radius: 12px;
    color: #0073aa;
    font-weight: 500;
}

.dlp-rating {
    background: #fff8e1;
    color: #f57c00;
}

.dlp-helper-contact {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dlp-contact-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #0073aa;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.dlp-contact-link:hover {
    background: #0073aa;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.dlp-contact-link.dlp-phone:hover {
    background: #28a745;
}

.dlp-contact-link.dlp-email:hover {
    background: #dc3545;
}

.dlp-contact-link.dlp-website:hover {
    background: #6f42c1;
}

.dlp-no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.dlp-error {
    background: #fff2f2;
    border: 1px solid #ff6b6b;
    color: #d63031;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Style-Varianten */
.dlp-style-minimal .dlp-shortcode {
    background: transparent;
    border: none;
    padding: 0;
}

.dlp-style-card .dlp-helper-item {
    border-left: none;
    border: 1px solid #e0e0e0;
}

.dlp-style-modern .dlp-shortcode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.dlp-style-modern .dlp-heading {
    color: white;
}

.dlp-style-modern .dlp-helper-item {
    background: rgba(255,255,255,0.95);
    color: #333;
}

/* Elementor Widget Styles */
.elementor-widget-dynamic_landing .dlp-shortcode {
    background: transparent;
    padding: 0;
    border: none;
}

.elementor-widget-dynamic_landing .dlp-shortcode h2 {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dlp-shortcode {
        padding: 15px;
        margin: 15px 0;
    }
    
    .dlp-heading {
        font-size: 20px;
    }
    
    .dlp-helper-item {
        padding: 15px;
    }
    
    .dlp-helper-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .dlp-shortcode {
        padding: 10px;
    }
    
    .dlp-helper-item {
        padding: 12px;
    }
}

/* Landing Page Template Styles */
.dlp-landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.dlp-hero {
    text-align: center;
    padding: 60px 0;
    background: white;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dlp-hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.dlp-hero-description {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dlp-hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.dlp-location,
.dlp-service {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.dlp-service {
    background: #e74c3c;
}

.dlp-helpers-section {
    margin-bottom: 60px;
}

.dlp-helpers-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.dlp-helpers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dlp-helper-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dlp-helper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.dlp-helper-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.dlp-helper-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 0;
    flex: 1;
}

.dlp-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.star {
    font-size: 1.2rem;
}

.star.filled {
    color: #f39c12;
}

.rating-text {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-left: 5px;
}

.dlp-helper-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dlp-helper-meta {
    margin-bottom: 20px;
}

.dlp-distance {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.dlp-helper-contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dlp-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dlp-contact-btn.dlp-phone {
    background: #27ae60;
    color: white;
}

.dlp-contact-btn.dlp-phone:hover {
    background: #2ecc71;
    transform: translateY(-2px);
}

.dlp-contact-btn.dlp-email {
    background: #e74c3c;
    color: white;
}

.dlp-contact-btn.dlp-email:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.dlp-contact-btn.dlp-website {
    background: #9b59b6;
    color: white;
}

.dlp-contact-btn.dlp-website:hover {
    background: #8e44ad;
    transform: translateY(-2px);
}

.dlp-info-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.dlp-info-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.dlp-info-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dlp-benefits {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.dlp-benefits h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.dlp-benefits ul {
    list-style: none;
    padding: 0;
}

.dlp-benefits li {
    color: #7f8c8d;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.dlp-no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dlp-no-results p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.dlp-error {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.dlp-error h1 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.dlp-error p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.dlp-error code {
    background: #ecf0f1;
    padding: 5px 10px;
    border-radius: 4px;
    color: #2c3e50;
    font-family: monospace;
}

/* Responsive Design für Landing Page */
@media (max-width: 768px) {
    .dlp-hero h1 {
        font-size: 2rem;
    }
    
    .dlp-hero-description {
        font-size: 1rem;
    }
    
    .dlp-hero-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .dlp-helpers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dlp-helper-card {
        padding: 20px;
    }
    
    .dlp-helper-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .dlp-helper-contact {
        justify-content: center;
    }
    
    .dlp-info-section {
        padding: 20px;
    }
}
