/* Services page — loads AFTER home.css and about.css (reuses .page-hero, header, buttons, reveal) */

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0,0,0,0.14);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #eee;
}
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.08); }

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.service-card:hover .service-media::after { opacity: 1; }

.service-body {
    padding: 22px 22px 26px;
}
.service-body h3 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 8px;
    color: var(--ink);
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 10px;
}
.service-body h3::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 2px;
    background: var(--teal);
    transition: width .35s var(--ease);
}
.service-card:hover .service-body h3::after { width: 64px; }

.service-body p {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
    margin: 10px 0 16px;
}

.service-book {
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    transition: color .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover .service-book {
    color: var(--teal-dark);
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .services-grid { padding: 50px 18px 20px; gap: 20px; }
    .service-body { padding: 18px 18px 22px; }
    .service-body h3 { font-size: 22px; }
}
