﻿/* ============================================================
   Services Page – Brandbook Red + Grey, Monospace Font,
   Icon Hover Animation, Simplified Bottom Button
   ============================================================ */

:root {
    --services-radius-sm: 8px;
    --services-radius-md: 12px;
    --services-radius-lg: 20px;
    --services-transition: 0.2s ease-in-out;
    --services-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --services-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --services-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
}

body {
    font-family: monospace, sans-serif;
}

/* --------------------------------------------
   Overview Section
   -------------------------------------------- */
.services-overview {
    background-color: var(--color-bg-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.services-overview-text {
    max-width: 800px;
    margin: 0 auto;
}

.services-overview .landing-heading-lg {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.services-overview .landing-text-body {
    margin: 0 auto;
    max-width: 650px;
    color: var(--color-primary);
}

/* --------------------------------------------
   Detailed Service Cards – White cards on light grey section
   -------------------------------------------- */
.services-detail {
    background-color: var(--color-bg-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.services-service-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: #fff;
    border-radius: var(--services-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--services-shadow-sm);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

    .services-service-card:hover {
        box-shadow: var(--services-shadow-md);
        transform: translateY(-2px);
    }

/* Header row: icon + title */
.services-service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Icon wrapper – grey tint, smooth scale & background on card hover */
.services-service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(156, 155, 155, 0.08); /* subtle grey, like landing page */
    border-radius: 50%;
    padding: 16px;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.services-service-card:hover .services-service-icon {
    transform: scale(1.12);
    background-color: rgba(156, 155, 155, 0.18); /* stronger grey on hover */
}

.services-service-icon img {
    width: 100%;
    height: 100%;
    /* Red tint */
    filter: brightness(0) saturate(100%) invert(22%) sepia(87%) saturate(2511%) hue-rotate(346deg) brightness(92%) contrast(116%);
}

.services-service-title {
    flex: 1;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.services-service-desc {
    max-width: none; /* remove the 60ch constraint */
    font-size: 1.25rem; /* 1.25× base size */
    text-align: left; /* left align */
    margin: 0;
    color: var(--color-primary);
    line-height: 1.6;
}

/* Bullet list – two columns, red dots */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.services-list-item {
    position: relative;
    padding-left: 1.5rem; /* room for the bullet */
    padding-top: 0;
    padding-bottom: 0.25rem;
    color: var(--color-primary);
    line-height: 1.3;
    list-style: none;
}

.services-list-item::before {
    content: "•";
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.55rem;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    transform: translateY(-0.20rem);
}

/* --------------------------------------------
   Methodology / How we work
   -------------------------------------------- */
.services-methodology {
    background-color: var(--color-bg-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

    .services-methodology .landing-heading-lg {
        color: var(--color-primary);
    }

.services-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.services-step {
    background: #fff;
    border-radius: var(--services-radius-md);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--services-shadow-sm);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.25s ease, transform 0.25s ease; /* added transform transition */
}

    .services-step:hover {
        box-shadow: var(--services-shadow-md);
        transform: translateY(-3px); /* subtle lift */
    }

.services-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.services-step-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--color-primary);
}

.services-step-text {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------
   Bottom contact button (replaces old CTA)
   -------------------------------------------- */
.services-bottom-cta {
    text-align: center;
    padding: 3rem 0;
}

.services-contact-btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: var(--landing-btn-radius);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.3px;
}

    .services-contact-btn:hover {
        background-color: #cc0029;
        border-color: #cc0029;
    }

.services-btn-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
/* --------------------------------------------
   Responsive
   -------------------------------------------- */
@media (max-width: 991px) {
    .services-service-card {
        padding: 2rem;
        gap: 1.5rem;
    }

    .services-service-icon {
        width: 64px;
        height: 64px;
        padding: 12px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-service-card {
        padding: 1.5rem;
        border-radius: var(--services-radius-md);
    }

    .services-service-title {
        font-size: 1.3rem;
    }

    .services-list-item {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .services-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
