/* On the services page, the main content (hero) should start at the top, under the fixed header */
.services-page main {
    padding-top: 0;
}

/* Remove default page-container top padding since the hero handles it */
.services-page .page-container {
    padding-top: 0;
    max-width: 100%; /* Allow hero to be full-width */
    padding-left: 0;
    padding-right: 0;
}

.services-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

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

.service-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

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

.service-card h2 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-card .price {
    font-weight: bold;
    color: var(--text-color);
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

/* Hero section styles for the services page */
.hero {
    text-align: center;
}

.hero-content {
    background: url('/images/logo.jpg') no-repeat center center/cover;
    padding: 200px 20px 80px 20px;
    color: white;
    text-shadow: 1px 1px 2px black;
}

.hero-content .rich-text__inner {
    max-width: 960px;
    margin: 0 auto;
}
