/* 
* Seaside Media Services Section Styles
*/

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 350px;
    border: 2px solid white;
}

/* Blur effect styles */
.blur-effect-container .blur-effect-card {
    transition: transform 0.4s, filter 0.4s, opacity 0.4s;
    position: relative;
}

/* Hover Effect for Individual Cards in the Custom Row */
.blur-effect-container .blur-effect-card:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* Non-Hovered Cards in the Custom Row Blur and Scale Down */
.blur-effect-container:hover .blur-effect-card:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9);
    opacity: 80%;
}

.service-content {
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    color: var(--white);
}

/* Add a dark overlay for better text readability */
.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: -1;
}

/* Image styles removed as they're now backgrounds */

.service-content h3 {
    color: var(--white);
    margin-top: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.service-content p {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Responsive styles for services section */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
}
