/* ============================================
   Services Page — Specific Styles
   These augment the shared styles.css
   ============================================ */

/* Service cards add interaction to the shared frosted surface. */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 54, 72, 0.05);
    background: rgba(255, 255, 255, 0.95);
}

/* Brand gradient text (reversed direction for this page's hero) */
.services-page .brand-gradient-text {
    background: linear-gradient(to right, #b22350, #fd5d86);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Primary gradient background (same as shared but explicit for this page) */
.services-page .brand-gradient-background {
    background: linear-gradient(135deg, #b22350, #fd5d86);
}

/* Custom staggered grid layout for the services cards */
.services-grid > .service-card:nth-child(odd) {
    margin-top: 24px;
}

.services-hero-collage {
    position: relative;
    min-height: 520px;
}

.services-hero-main,
.services-hero-small {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(24, 33, 50, 0.14);
}

.services-hero-main {
    inset: 36px 80px 36px 0;
    width: calc(100% - 80px);
    height: calc(100% - 72px);
}

.services-hero-small {
    right: 0;
    width: 42%;
    height: 38%;
    border: 8px solid #f8f9fa;
}

.services-hero-small-top {
    top: 0;
}

.services-hero-small-bottom {
    bottom: 0;
}

/* Photo-free artwork for occasion and decor services. */
.service-art {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    padding: 32px;
    text-align: center;
}

.service-art::before,
.service-art::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.18;
}

.service-art::before {
    width: 72%;
    aspect-ratio: 1;
    top: -28%;
    right: -28%;
}

.service-art::after {
    width: 52%;
    aspect-ratio: 1;
    bottom: -22%;
    left: -18%;
}

.service-art__eyebrow,
.service-art__line {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.service-art__number {
    font-family: "Libre Caslon Text", serif;
    font-size: clamp(88px, 12vw, 142px);
    font-weight: 400;
    line-height: 0.78;
}

.service-art__word {
    font-family: "Libre Caslon Text", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 0.92;
}

.service-art__ampersand {
    font-family: "Libre Caslon Text", serif;
    font-size: clamp(92px, 12vw, 138px);
    font-weight: 400;
    font-style: italic;
    line-height: 0.7;
}

.service-art__icon {
    font-size: 38px;
}

.service-art__frame {
    position: absolute;
    inset: 24px;
    z-index: -1;
    border: 1px solid currentColor;
    opacity: 0.3;
}

.service-art--graduation {
    color: #ffd9de;
    background:
        linear-gradient(145deg, rgba(253, 93, 134, 0.18), transparent 55%),
        #182132;
}

.service-art--birthday {
    color: #ffffff;
    background: linear-gradient(145deg, #fd5d86, #b22350);
}

.service-art--baby {
    color: #314d63;
    background: linear-gradient(145deg, #e9f5f4, #d7e9ef);
}

.service-art--wedding {
    color: #784154;
    background: linear-gradient(145deg, #fff7f4, #f4dce3);
}

.service-art--backdrop {
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(253, 93, 134, 0.7) 0 9%, transparent 10%),
        radial-gradient(circle at 82% 76%, rgba(253, 93, 134, 0.45) 0 13%, transparent 14%),
        #2d3648;
}

@media (max-width: 1023px) {
    .services-hero {
        text-align: center;
    }

    .services-hero .flex {
        justify-content: center;
    }

    .services-hero h1,
    .services-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .services-hero-collage {
        min-height: 420px;
        max-width: 640px;
        margin: 24px auto 0;
    }
}

@media (max-width: 767px) {
    .services-hero-collage {
        min-height: 360px;
    }

    .services-hero-main {
        inset: 0;
        width: 100%;
        height: 72%;
    }

    .services-hero-small {
        width: 48%;
        height: 34%;
        border-width: 6px;
    }

    .services-hero-small-top {
        top: auto;
        bottom: 0;
        right: 52%;
    }

    .services-hero-small-bottom {
        right: 0;
    }

    .services-grid > .service-card:nth-child(odd) {
        margin-top: 0;
    }
}
