/* Frontend CSS voor SEO Lead Pages Generator */

/* Lead Form Styling - Default styles (will be overridden by dynamic CSS) */
.seo-lead-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.seo-lead-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.seo-lead-form h3 {
    margin-top: 0;
    color: #0073aa;
    font-size: 1.6em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.seo-lead-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.contact-info {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin: 8px 0;
    color: #495057;
    font-size: 0.95em;
    display: flex;
    align-items: center;
}

.contact-info p::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #333333;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.submit-button {
    background: #0073aa;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 115, 170, 0.3);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    box-shadow: 0 2px 8px rgba(114, 28, 36, 0.1);
}

/* Landing Page Templates */
.landing-page-template,
.landing-page-modern,
.landing-page-classic,
.landing-page-minimal,
.landing-page-local {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3em;
    margin: 0 0 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3em;
    margin: 0 0 40px;
    opacity: 0.9;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-primary {
    background: white;
    color: #667eea;
}

.cta-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.service-description,
.location-info,
.contact-section,
.intro-section,
.services-section,
.location-section,
.content-section,
.local-benefits,
.location-details,
.local-contact {
    padding: 60px 20px;
}

.service-description {
    background: #f8f9fa;
}

.location-info {
    background: white;
}

.contact-section {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-description h2,
.location-info h2,
.contact-section h2,
.intro-section h2,
.services-section h2,
.location-section h2,
.content-section h2,
.local-benefits h2,
.location-details h2,
.local-contact h2 {
    font-size: 2.5em;
    margin: 0 0 30px;
    color: #333;
    text-align: center;
}

.service-description p,
.location-info p,
.intro-section p,
.location-section p,
.content-section p,
.location-details p,
.local-contact p {
    font-size: 1.1em;
    margin: 0 0 20px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #667eea;
    margin: 0 0 15px;
    font-size: 1.3em;
}

.feature-item p {
    color: #666;
    margin: 0;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.benefit h3 {
    color: #667eea;
    margin: 0 0 15px;
    font-size: 1.3em;
}

.benefit p {
    color: #666;
    margin: 0;
}

/* Lists */
.services-section ul,
.services-section li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-section li {
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
}

/* Local Hero */
.local-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.local-hero h1 {
    font-size: 3em;
    margin: 0 0 20px;
    font-weight: 700;
}

.local-hero p {
    font-size: 1.3em;
    margin: 0 0 40px;
    opacity: 0.9;
}

.local-cta {
    margin-top: 30px;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.contact-form-section h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-description,
    .location-info,
    .contact-section,
    .intro-section,
    .services-section,
    .location-section,
    .content-section,
    .local-benefits,
    .location-details,
    .local-contact {
        padding: 40px 20px;
    }
    
    .service-description h2,
    .location-info h2,
    .contact-section h2,
    .intro-section h2,
    .services-section h2,
    .location-section h2,
    .content-section h2,
    .local-benefits h2,
    .location-details h2,
    .local-contact h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .service-description,
    .location-info,
    .contact-section,
    .intro-section,
    .services-section,
    .location-section,
    .content-section,
    .local-benefits,
    .location-details,
    .local-contact {
        padding: 30px 15px;
    }
    
    .contact-form-section {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .cta-buttons,
    .contact-form-section {
        display: none;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .hero-section h1 {
        color: black !important;
    }
    
    .hero-subtitle {
        color: black !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cta-button,
    .feature-item {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .seo-lead-form {
        border: 2px solid #000;
    }
    
    .submit-button {
        border: 2px solid #000;
    }
    
    .form-row input,
    .form-row textarea {
        border: 2px solid #000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .seo-lead-form {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        color: #e2e8f0;
        border-color: #4a5568;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    .seo-lead-form h3 {
        color: #e2e8f0;
    }
    
    .contact-info {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .contact-info p::before {
        background: #667eea;
    }
    
    .form-row label {
        color: #e2e8f0;
    }
    
    .form-row input,
    .form-row textarea {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .form-row input:focus,
    .form-row textarea:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }
    
    .submit-button {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .form-message.success {
        background: linear-gradient(135deg, #1a5f1a 0%, #2d5a2d 100%);
        color: #a8e6a8;
        border-color: #2d5a2d;
    }
    
    .form-message.error {
        background: linear-gradient(135deg, #5f1a1a 0%, #5a2d2d 100%);
        color: #e6a8a8;
        border-color: #5a2d2d;
    }
}
