/**
 * Services Page Styles
 *
 * @package Angry_Elf
 */

/* -------------------------------------------------------
   Quick Navigation Bar
   ------------------------------------------------------- */
.services-quicknav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 9, 26, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(200, 168, 76, 0.2);
}

.services-quicknav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.services-quicknav__link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted, #9b9289);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.services-quicknav__link:hover,
.services-quicknav__link:focus {
    color: var(--color-accent, #c8a84c);
    border-bottom-color: var(--color-accent, #c8a84c);
    text-decoration: none;
}

.services-quicknav__link .dashicons {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
}

/* -------------------------------------------------------
   Service Section — Shared Layout
   ------------------------------------------------------- */
.service-section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-section:nth-child(odd) {
    background: var(--color-bg, #07091a);
}

.service-section:nth-child(even) {
    background: #0c0f26;
}

/* Section Header */
.service-section__header {
    max-width: 780px;
    margin: 0 0 2.5rem;
}

.service-section__eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent, #c8a84c);
    margin-bottom: 0.5rem;
}

.service-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-text, #e0dbd2);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    line-height: 1.1;
}

.service-section__icon {
    color: var(--color-accent, #c8a84c);
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.service-section__lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted, #9b9289);
    margin: 0;
}

/* Two-column body: content + sidebar */
.service-section__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* Content column */
.service-section__content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent, #c8a84c);
    margin: 2rem 0 0.625rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgba(200, 168, 76, 0.15);
}

.service-section__content h3:first-child {
    margin-top: 0;
}

.service-section__content p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted, #9b9289);
    margin: 0 0 0.75rem;
}

/* Bullet lists */
.service-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.375rem;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--color-text, #e0dbd2);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent, #c8a84c);
    font-size: 0.75rem;
    top: 0.15em;
}

/* Action row (buttons side by side) */
.service-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-action-row .btn .dashicons {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    vertical-align: middle;
}

/* -------------------------------------------------------
   Sidebar Cards
   ------------------------------------------------------- */
.service-section__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Fact cards */
.service-fact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 168, 76, 0.18);
    border-radius: 0.5rem;
    padding: 1.25rem 1.375rem;
}

.service-fact-card--dark {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.06);
}

.service-fact-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent, #c8a84c);
    margin: 0 0 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200, 168, 76, 0.15);
}

.service-fact-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.service-fact-card__list li {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted, #9b9289);
}

.service-fact-card__list li strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text, #e0dbd2);
    margin-bottom: 0.125rem;
}

/* Films list */
.service-fact-card__films {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.service-fact-card__films li {
    font-size: 0.8125rem;
    color: var(--color-text-muted, #9b9289);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.service-fact-card__films li:last-child {
    border-bottom: none;
}

.service-fact-card__films li em {
    font-style: italic;
    color: var(--color-text, #e0dbd2);
}

.service-fact-card__films li span {
    font-size: 0.75rem;
    color: rgba(155, 146, 137, 0.7);
    margin-left: 0.25rem;
}

/* Body text inside fact card */
.service-fact-card__body {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--color-text-muted, #9b9289);
    margin: 0 0 1rem;
}

/* Buttons inside fact card */
.service-fact-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* CTA sidebar card */
.service-cta-card {
    background: linear-gradient(135deg, rgba(200, 168, 76, 0.08), rgba(192, 90, 40, 0.05));
    border: 1px solid rgba(200, 168, 76, 0.3);
    border-radius: 0.5rem;
    padding: 1.25rem 1.375rem;
    text-align: center;
}

.service-cta-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted, #9b9289);
    margin: 0 0 0.875rem;
}

/* -------------------------------------------------------
   Platform Tag Grid (Post-Production sidebar)
   ------------------------------------------------------- */
.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.platform-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 3px;
    color: #fff;
    text-transform: uppercase;
}

.platform-tag--netflix   { background: #e50914; }
.platform-tag--prime     { background: #00a8e0; }
.platform-tag--hulu      { background: #1ce783; color: #000; }
.platform-tag--apple     { background: #555; }
.platform-tag--disney    { background: #113ccf; }
.platform-tag--peacock   { background: #fa4616; }
.platform-tag--paramount { background: #0064ff; }
.platform-tag--tubi      { background: #fa4816; }
.platform-tag--plex      { background: #e5a00d; color: #000; }
.platform-tag--youtube   { background: #ff0000; }

.platform-grid__note {
    font-size: 0.75rem;
    color: var(--color-text-muted, #9b9289);
    margin: 0;
    font-style: italic;
}

/* -------------------------------------------------------
   Related Services Section (individual service pages)
   ------------------------------------------------------- */
.section-related-services {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(200, 168, 76, 0.15);
}

/* -------------------------------------------------------
   Service Action Row (inline CTA buttons in content)
   ------------------------------------------------------- */
.service-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

/* -------------------------------------------------------
   CTA Banner (bottom)
   ------------------------------------------------------- */
.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* -------------------------------------------------------
   Responsive — tablet (min-width: 640px)
   ------------------------------------------------------- */
@media (min-width: 640px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* -------------------------------------------------------
   Responsive — desktop (min-width: 960px)
   ------------------------------------------------------- */
@media (min-width: 960px) {
    .service-section {
        padding: 5.5rem 0;
    }

    .service-section__body {
        grid-template-columns: 1fr 320px;
        gap: 3.5rem;
        align-items: start;
    }

    /* Reversed layout: sidebar on the left */
    .service-section__body--reversed {
        grid-template-columns: 300px 1fr;
    }

    .service-section__body--reversed .service-section__sidebar {
        order: -1;
    }

    .service-section__body--reversed .service-section__content {
        order: 1;
    }

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

@media (min-width: 1200px) {
    .service-section__body {
        grid-template-columns: 1fr 360px;
    }

    .service-section__body--reversed {
        grid-template-columns: 340px 1fr;
    }
}
