/* Kurikka Frontpage Styles - Matching atkhuoltokurikka.fi */
.kurikka-frontpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.kurikka-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #005cb9 0%, #003a75 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.kurikka-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
}

.services-section {
    width: 100%;
    margin-bottom: 40px;
}

.services-section h2 {
    color: #005cb9;
    border-bottom: 2px solid #005cb9;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: #f8f9fa !important;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #005cb9;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    background: #005cb9;
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.service-link:hover {
    background: #003a75;
    color: white !important;
    text-decoration: none;
}

.kurikka-content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.facebook-embed-section {
    flex: 1;
    min-width: 300px;
}

.facebook-embed-section h2 {
    color: #005cb9;
    border-bottom: 2px solid #005cb9;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.facebook-embed-wrapper {
    background: #f8f9fa !important;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facebook-embed-wrapper iframe {
    max-width: 100%;
    border: none;
    background: transparent !important;
}

.facebook-placeholder {
    text-align: center;
    padding: 30px;
    color: #666;
    background: #f8f9fa !important;
    border-radius: 8px;
}

.facebook-placeholder a {
    color: #005cb9;
    text-decoration: none;
    font-weight: bold;
}

.facebook-placeholder a:hover {
    text-decoration: underline;
}

.contact-section {
    flex: 1;
    min-width: 300px;
}

.contact-section h2 {
    color: #005cb9;
    border-bottom: 2px solid #005cb9;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info-box {
    background: #ffffff !important;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    color: #333333 !important;
}

.contact-details strong {
    color: #005cb9;
    display: inline-block;
    min-width: 120px;
}

.google-maps {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    background: #ffffff !important;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kurikka-content-section {
        flex-direction: column;
    }
    
    .kurikka-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-details strong {
        min-width: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Force background colors for specific elements */
.kurikka-frontpage-container .facebook-embed-wrapper,
.kurikka-frontpage-container .facebook-placeholder,
.kurikka-frontpage-container .service-card {
    background: #f8f9fa !important;
}

.kurikka-frontpage-container .contact-info-box {
    background: #ffffff !important;
}
