/* ==========================================================================
   About Page - Reviews, Trust Metrics & CTA
   Mirrors shop-landing.css interactive patterns (review cards, CTA button).
   Scoped with .sc-about- prefix to avoid collision with shop styles.
   ========================================================================== */


/* --------------------------------------------------------------------------
   Content Images - subtle zoom + shadow lift on hover
   -------------------------------------------------------------------------- */

.page-template-page-about article .img-fluid {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-template-page-about article .img-fluid:hover {
    transform: scale(1.02);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.15),
        0 4px 10px rgba(0,0,0,0.08);
}


/* --------------------------------------------------------------------------
   Section Dividers - gold accent center dot
   -------------------------------------------------------------------------- */

.page-template-page-about article > hr {
    border: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,190,61,0.25) 40%,
        rgba(255,190,61,0.4) 50%,
        rgba(255,190,61,0.25) 60%,
        transparent
    );
}


/* --------------------------------------------------------------------------
   Trust Metrics - light separator line above
   -------------------------------------------------------------------------- */

.sc-about-metrics {
    margin-top: 1.5rem;
    margin-bottom: 0;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.sc-about-metric {
    transition: transform 0.25s ease;
    animation: sc-about-fadeSlideUp 0.5s ease both;
}

.sc-about-metric:hover {
    transform: translateY(-2px);
}

.sc-about-metric .h2 {
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.25s ease;
}

.sc-about-metric .heading-xxs {
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Reviews Section
   -------------------------------------------------------------------------- */

.sc-about-reviews {
    background:
        radial-gradient(900px 600px at 50% 0%, rgba(255,190,61,0.07), transparent 70%),
        linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 0 2.5rem;
}

.sc-about-reviews-container {
    max-width: 1100px;
}

.sc-about-reviews-eyebrow {
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    margin: 0 0 0.75rem;
}

.sc-about-reviews-title {
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.sc-about-reviews-sub {
    color: rgba(255,255,255,0.65);
    max-width: 760px;
    margin: 0.25rem auto 2rem;
    line-height: 1.7;
}


/* "See All Reviews" link - glow on hover */

.sc-about-reviews-link {
    color: #ffbe3d;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.sc-about-reviews-link:hover {
    color: #ffd877;
    text-shadow: 0 0 6px rgba(255,190,61,0.25);
}

.sc-about-reviews-link:focus-visible {
    outline: 2px solid #ffbe3d;
    outline-offset: 2px;
    text-decoration: underline;
}


/* Review grid */

.sc-about-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}


/* Review card - lift + gold glow on hover, S logo watermark */

.sc-about-review-card {
    position: relative;
    overflow: hidden;
    background: rgba(26,26,26,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* S logo watermark - top-right corner */
.sc-about-review-card::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    background: url("/wp-content/themes/scopione/img/scopione-logo-150x150.png") center / contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.sc-about-review-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(0,0,0,0.25),
        0 0 14px rgba(255,190,61,0.18);
}

.sc-about-review-card:hover::after {
    opacity: 0.22;
}

.sc-about-review-card:focus-visible {
    outline: 2px solid rgba(255,190,61,0.8);
    outline-offset: 2px;
}

.sc-about-stars {
    color: #ffbe3d;
    letter-spacing: 0.06em;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.sc-about-review-copy {
    margin: 0.5rem 0 1rem;
    color: #eaeaea;
    line-height: 1.7;
}

.sc-about-review-author {
    color: #ffbe3d;
    font-weight: 800;
    margin: 0;
}


/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */

.sc-about-cta {
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    color: #f5f5f5;
    padding: 2.5rem 0 3rem;
    text-align: center;
}

.sc-about-cta-title {
    color: #fff;
    margin-bottom: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sc-about-cta-text {
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.25rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}


/* CTA button - ghost solid gold on hover (matches shop CTA) */

.sc-about-cta-btn {
    display: inline-block;
    background: rgba(15,15,15,0.6);
    border: 1px solid #ffbe3d;
    border-radius: 6px;
    padding: 14px 30px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    min-width: 280px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

.sc-about-cta-btn:hover {
    background: #ffbe3d;
    border-color: #ffbe3d;
    color: #000;
    font-weight: 700;
    text-shadow:
        0 0 8px rgba(0,0,0,0.4),
        0 0 16px rgba(0,0,0,0.2);
    box-shadow:
        0 0 25px rgba(255,190,61,0.6),
        0 10px 40px rgba(255,190,61,0.3);
    transform: translateY(-2px);
}

.sc-about-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255,190,61,0.3);
}

.sc-about-cta-btn:focus-visible {
    outline: 2px solid #ffbe3d;
    outline-offset: 3px;
    background: #ffbe3d;
    color: #000;
    font-weight: 700;
    text-shadow:
        0 0 8px rgba(0,0,0,0.4),
        0 0 16px rgba(0,0,0,0.2);
}


/* --------------------------------------------------------------------------
   Touch Devices - disable hover lift, add tap feedback
   -------------------------------------------------------------------------- */

@media (hover: none) {
    .sc-about-review-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    }

    .sc-about-review-card:hover::after {
        opacity: 0.12;
    }

    .sc-about-review-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .sc-about-metric:hover {
        transform: none;
    }

    .page-template-page-about article .img-fluid:hover {
        transform: none;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    }

    .sc-about-cta-btn:hover {
        transform: none;
    }
}


/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .sc-about-reviews-link,
    .sc-about-review-card,
    .sc-about-review-card::after,
    .sc-about-cta-btn,
    .sc-about-metric,
    .page-template-page-about article .img-fluid {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   High Contrast Mode
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {
    .sc-about-review-card {
        border: 2px solid currentColor;
    }

    .sc-about-review-card:focus-visible {
        outline: 3px solid Highlight;
        outline-offset: 2px;
    }

    .sc-about-cta-btn {
        border: 2px solid currentColor;
    }
}


/* --------------------------------------------------------------------------
   Mobile - tighter CTA button
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .sc-about-cta-btn {
        min-width: 200px;
        font-size: 0.8rem;
        padding: 12px 20px;
    }

    .sc-about-reviews {
        padding: 2rem 0 1.5rem;
    }

    .sc-about-cta {
        padding: 2rem 0;
    }
}


/* ==========================================================================
   About Page - Additional UI Enhancements
   Scoped to .page-template-page-about to avoid affecting other pages.
   ========================================================================== */


/* --------------------------------------------------------------------------
   Hero - pronunciation + tagline refinements
   -------------------------------------------------------------------------- */

.page-template-page-about .shop-header .h2 {
    font-weight: 300;
    letter-spacing: 0.08em;
    opacity: 0.6;
    font-style: italic;
}

.page-template-page-about .shop-header .lead em {
    letter-spacing: 0.03em;
}


/* --------------------------------------------------------------------------
   Eyebrow kickers - gold underline accent bar
   -------------------------------------------------------------------------- */

.page-template-page-about article section:not(.sc-about-metrics) .heading-xxs {
    display: block;
    position: relative;
    padding-bottom: 0.5rem;
}

.page-template-page-about article section:not(.sc-about-metrics) .heading-xxs::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background: #ffbe3d;
    border-radius: 1px;
    opacity: 0.6;
}


/* --------------------------------------------------------------------------
   Lead paragraphs - refined typography
   -------------------------------------------------------------------------- */

.page-template-page-about article .lead {
    color: #555;
    font-weight: 400;
    letter-spacing: -0.01em;
}


/* --------------------------------------------------------------------------
   Video embed - hover lift
   -------------------------------------------------------------------------- */

.page-template-page-about .video {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-template-page-about .video:hover {
    transform: translateY(-3px);
    box-shadow: 0 1.8rem 4rem rgba(0,0,0,0.55) !important;
}


/* --------------------------------------------------------------------------
   "Contact Us" link - gold treatment on About page
   -------------------------------------------------------------------------- */

.page-template-page-about .hover-arrow {
    color: #ffbe3d;
    font-weight: 700;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.page-template-page-about .hover-arrow:hover {
    color: #ffd877;
    text-shadow: 0 0 6px rgba(255,190,61,0.25);
    text-decoration: none;
}

.page-template-page-about .hover-arrow:focus-visible {
    outline: 2px solid #ffbe3d;
    outline-offset: 2px;
}


/* --------------------------------------------------------------------------
   Trust metric numbers - gold color on hover
   -------------------------------------------------------------------------- */

.sc-about-metric:hover .h2 {
    color: #d4a017;
}


/* --------------------------------------------------------------------------
   Products section - subtle card treatment for two-column text
   -------------------------------------------------------------------------- */

.page-template-page-about [aria-labelledby="about-products-title"] .col-lg-5,
.page-template-page-about [aria-labelledby="about-products-title"] .col-lg-6 {
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.04);
    background: rgba(0,0,0,0.01);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-template-page-about [aria-labelledby="about-products-title"] .col-lg-5:hover,
.page-template-page-about [aria-labelledby="about-products-title"] .col-lg-6:hover {
    border-color: rgba(255,190,61,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}


/* --------------------------------------------------------------------------
   Enhanced touch + reduced motion coverage for new effects
   -------------------------------------------------------------------------- */

@media (hover: none) {
    .page-template-page-about .video:hover {
        transform: none;
    }

    .page-template-page-about [aria-labelledby="about-products-title"] .col-lg-5:hover,
    .page-template-page-about [aria-labelledby="about-products-title"] .col-lg-6:hover {
        border-color: rgba(0,0,0,0.04);
        box-shadow: none;
    }

    .sc-about-metric:hover .h2 {
        color: #1a1a1a;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-template-page-about .video,
    .page-template-page-about .hover-arrow,
    .page-template-page-about [aria-labelledby="about-products-title"] .col-lg-5,
    .page-template-page-about [aria-labelledby="about-products-title"] .col-lg-6,
    .sc-about-metric .h2 {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   Mobile adjustments for About enhancements
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .page-template-page-about [aria-labelledby="about-products-title"] .col-lg-5,
    .page-template-page-about [aria-labelledby="about-products-title"] .col-lg-6 {
        border: 0;
        background: transparent;
        padding: 0 15px;
    }

    .page-template-page-about article section:not(.sc-about-metrics) .heading-xxs::after {
        width: 1.5rem;
    }
}


/* ==========================================================================
   About Page - Visual Rhythm & Typography Polish
   ========================================================================== */


/* --------------------------------------------------------------------------
   Alternating section backgrounds - subtle depth
   -------------------------------------------------------------------------- */

.page-template-page-about [aria-labelledby="about-who-title"] {
    background: rgba(0,0,0,0.018);
    margin-left: -15px;
    margin-right: -15px;
    padding: 2.5rem 15px 2rem;
    border-radius: 12px;
}

.page-template-page-about [aria-labelledby="about-service-title"] {
    background: rgba(0,0,0,0.018);
    margin-left: -15px;
    margin-right: -15px;
    padding: 2.5rem 15px 2rem;
    border-radius: 12px;
}


/* --------------------------------------------------------------------------
   Section headings (H2) - tighter tracking + subtle underline on hover
   -------------------------------------------------------------------------- */

.page-template-page-about article section .h3 {
    position: relative;
    display: block;
    padding-bottom: 0.35rem;
    transition: color 0.25s ease;
}

.page-template-page-about article section .h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    max-width: 120px;
    height: 2px;
    background: #ffbe3d;
    border-radius: 1px;
    transition: width 0.35s ease, margin-left 0.35s ease;
    margin-left: 0;
}

.page-template-page-about article section .h3:hover::after {
    width: 120px;
    margin-left: -60px;
}


/* --------------------------------------------------------------------------
   Body paragraph refinements
   -------------------------------------------------------------------------- */

.page-template-page-about article section p:not(.heading-xxs):not(.lead):not(.h2):not(.sc-about-stars):not(.sc-about-review-copy):not(.sc-about-review-author) {
    line-height: 1.8;
    color: #444;
}


/* --------------------------------------------------------------------------
   Hero HR - gold gradient to match content dividers
   -------------------------------------------------------------------------- */

.page-template-page-about .shop-header hr {
    border: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,190,61,0.3) 30%,
        rgba(255,190,61,0.5) 50%,
        rgba(255,190,61,0.3) 70%,
        transparent
    );
    margin: 1rem auto 1.25rem;
    max-width: 280px;
}


/* --------------------------------------------------------------------------
   Breadcrumb - softer, tighter
   -------------------------------------------------------------------------- */

.page-template-page-about .shop-header #breadcrumbs {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

.page-template-page-about .shop-header #breadcrumbs a {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
}

.page-template-page-about .shop-header #breadcrumbs a:hover {
    color: #ffbe3d;
}


/* --------------------------------------------------------------------------
   "Questions? We're Here to Help" line - enhance presence
   -------------------------------------------------------------------------- */

.page-template-page-about [aria-labelledby="about-who-title"] .hover-arrow {
    display: inline-block;
    margin-top: 0.15rem;
}


/* --------------------------------------------------------------------------
   Trust metrics - count-up entrance animation
   -------------------------------------------------------------------------- */

@keyframes sc-about-fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sc-about-metric:nth-child(1) { animation-delay: 0s; }
.sc-about-metric:nth-child(2) { animation-delay: 0.1s; }
.sc-about-metric:nth-child(3) { animation-delay: 0.2s; }
.sc-about-metric:nth-child(4) { animation-delay: 0.3s; }


/* --------------------------------------------------------------------------
   Image rounded corners - slightly larger radius
   -------------------------------------------------------------------------- */

.page-template-page-about article .img-fluid.rounded-2 {
    border-radius: 10px !important;
}


/* --------------------------------------------------------------------------
   Touch + reduced motion coverage for new effects
   -------------------------------------------------------------------------- */

@media (hover: none) {
    .page-template-page-about article section .h3:hover::after {
        width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-about-metric {
        animation: none;
    }

    .page-template-page-about article section .h3::after {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   Mobile - disable alternating backgrounds on small screens
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .page-template-page-about [aria-labelledby="about-who-title"],
    .page-template-page-about [aria-labelledby="about-service-title"] {
        background: transparent;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        border-radius: 0;
    }

    .page-template-page-about .shop-header hr {
        max-width: 180px;
    }
}
