/* ================================================================
   AB Performance - Services Page Consolidated CSS (ab-services.css)
   Merged from: services-hero, services-content, services-cta
   Order preserved from original services.php link tags.
   Brand Colours: Red #e1303a, Black #1a1a1a, Gold #E9A329
   ================================================================ */


/* ================================================================
   SECTION: services-hero
   ================================================================ */


.ab-performance-services-hero-section {
    background: #1a1a1a;
    padding: 110px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay */
.ab-performance-services-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(225, 48, 58, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(233, 163, 41, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.ab-performance-services-hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ab-performance-services-hero-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #E9A329;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.ab-performance-services-hero-container h1 {
    font-size: 54px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.ab-performance-services-hero-container p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
    .ab-performance-services-hero-section {
        padding: 90px 20px;
    }
    
    .ab-performance-services-hero-container h1 {
        font-size: 44px;
    }
    
    .ab-performance-services-hero-container p {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .ab-performance-services-hero-section {
        padding: 80px 20px;
    }
    
    .ab-performance-services-hero-label {
        font-size: 10px;
        margin-bottom: 16px;
    }
    
    .ab-performance-services-hero-container h1 {
        font-size: 36px;
    }
    
    .ab-performance-services-hero-container p {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .ab-performance-services-hero-section {
        padding: 70px 20px;
    }
    
    .ab-performance-services-hero-container h1 {
        font-size: 32px;
    }
    
    .ab-performance-services-hero-container p {
        font-size: 16px;
    }
}

/* ================================================================
   SECTION: services-content
   ================================================================ */


.ab-performance-services-content-section {
    padding: 100px 20px;
}

/* Background variations */
.ab-performance-services-content-white {
    background-color: #ffffff;
}

.ab-performance-services-content-grey {
    background: linear-gradient(135deg, #f5f5f5 0%, #eaeaea 100%);
}

.ab-performance-services-content-dark {
    background: #1a1a1a;
}

.ab-performance-services-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ab-performance-services-content-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* Reverse layout for alternating sections */
.ab-performance-services-content-reverse {
    grid-template-columns: 1fr 1.1fr;
}

.ab-performance-services-content-reverse .ab-performance-services-content-text {
    order: 2;
}

.ab-performance-services-content-reverse .ab-performance-services-content-image {
    order: 1;
}

/* --------------------------------
   Text Content
   -------------------------------- */
.ab-performance-services-content-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #e1303a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.ab-performance-services-content-dark .ab-performance-services-content-label {
    color: #E9A329;
}

.ab-performance-services-content-text h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.ab-performance-services-content-dark .ab-performance-services-content-text h2 {
    color: #ffffff;
}

.ab-performance-services-content-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e1303a, #E9A329);
    border-radius: 2px;
}

.ab-performance-services-content-intro {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.5;
}

.ab-performance-services-content-dark .ab-performance-services-content-intro {
    color: rgba(255, 255, 255, 0.9);
}

.ab-performance-services-content-text p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 18px;
}

.ab-performance-services-content-dark .ab-performance-services-content-text p {
    color: rgba(255, 255, 255, 0.7);
}

.ab-performance-services-content-text p:last-child {
    margin-bottom: 0;
}

/* --------------------------------
   Image Content
   -------------------------------- */
.ab-performance-services-content-image {
    position: relative;
}

.ab-performance-services-content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.ab-performance-services-content-dark .ab-performance-services-content-image img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Accent behind image */
.ab-performance-services-content-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e1303a 0%, #E9A329 100%);
    border-radius: 10px;
    z-index: 0;
}

.ab-performance-services-content-reverse .ab-performance-services-content-image::before {
    right: auto;
    left: -20px;
}

/* --------------------------------
   Lightbox
   -------------------------------- */
.ab-performance-services-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.ab-performance-services-lightbox.active {
    display: flex;
}

.ab-performance-services-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.ab-performance-services-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ab-performance-services-lightbox-close:hover {
    background: #e1303a;
}

.ab-performance-services-lightbox-close::before,
.ab-performance-services-lightbox-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
}

.ab-performance-services-lightbox-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.ab-performance-services-lightbox-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
    .ab-performance-services-content-section {
        padding: 80px 20px;
    }
    
    .ab-performance-services-content-layout,
    .ab-performance-services-content-reverse {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ab-performance-services-content-reverse .ab-performance-services-content-text,
    .ab-performance-services-content-reverse .ab-performance-services-content-image {
        order: unset;
    }
    
    .ab-performance-services-content-text h2 {
        font-size: 32px;
    }
    
    .ab-performance-services-content-intro {
        font-size: 17px;
    }
    
    .ab-performance-services-content-text p {
        font-size: 15px;
    }
    
    .ab-performance-services-content-image {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .ab-performance-services-content-image::before {
        top: 15px;
        right: -15px;
    }
    
    .ab-performance-services-content-reverse .ab-performance-services-content-image::before {
        left: -15px;
        right: auto;
    }
}

@media (max-width: 640px) {
    .ab-performance-services-content-section {
        padding: 70px 20px;
    }
    
    .ab-performance-services-content-layout {
        gap: 40px;
    }
    
    .ab-performance-services-content-text h2 {
        font-size: 28px;
    }
    
    .ab-performance-services-content-intro {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .ab-performance-services-content-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .ab-performance-services-content-image::before {
        top: 12px;
        right: -12px;
    }
    
    .ab-performance-services-content-reverse .ab-performance-services-content-image::before {
        left: -12px;
    }
}

@media (max-width: 480px) {
    .ab-performance-services-content-section {
        padding: 60px 15px;
    }
    
    .ab-performance-services-content-text h2 {
        font-size: 26px;
    }
    
    .ab-performance-services-content-intro {
        font-size: 15px;
    }
    
    .ab-performance-services-content-text p {
        font-size: 14px;
    }
    
    .ab-performance-services-content-image::before {
        display: none;
    }
    
    .ab-performance-services-lightbox-close {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ================================================================
   SECTION: services-cta
   ================================================================ */


.ab-performance-services-cta-section {
    background: linear-gradient(135deg, #e1303a 0%, #c72730 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative elements */
.ab-performance-services-cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ab-performance-services-cta-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ab-performance-services-cta-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ab-performance-services-cta-content {
    text-align: center;
}

.ab-performance-services-cta-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.ab-performance-services-cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ab-performance-services-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.ab-performance-services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    color: #e1303a;
    padding: 18px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ab-performance-services-cta-btn span {
    position: relative;
}

.ab-performance-services-cta-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.ab-performance-services-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background-color: #1a1a1a;
    color: #ffffff;
}

.ab-performance-services-cta-btn:hover i {
    transform: translateX(4px);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
    .ab-performance-services-cta-section {
        padding: 80px 20px;
    }
    
    .ab-performance-services-cta-content h2 {
        font-size: 34px;
    }
    
    .ab-performance-services-cta-content p {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .ab-performance-services-cta-section {
        padding: 70px 20px;
    }
    
    .ab-performance-services-cta-label {
        font-size: 10px;
        margin-bottom: 16px;
    }
    
    .ab-performance-services-cta-content h2 {
        font-size: 28px;
    }
    
    .ab-performance-services-cta-content p {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .ab-performance-services-cta-btn {
        padding: 16px 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ab-performance-services-cta-section {
        padding: 60px 15px;
    }
    
    .ab-performance-services-cta-section::before,
    .ab-performance-services-cta-section::after {
        display: none;
    }
    
    .ab-performance-services-cta-content h2 {
        font-size: 26px;
    }
    
    .ab-performance-services-cta-content p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .ab-performance-services-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }
}
