﻿/* ==========================================================================
   PUBLIC PAGES STYLESHEET (Scoped to .akins-public-wrapper)
   ========================================================================== */

/* --- GLOBAL DARK THEME OVERRIDE --- */
.akins-public-wrapper {
    background-color: var(--brand-dark) !important;
    color: #ffffff !important;
}

    /* Ensure all headings inside the wrapper are white */
    .akins-public-wrapper h1,
    .akins-public-wrapper h2,
    .akins-public-wrapper h3,
    .akins-public-wrapper h4,
    .akins-public-wrapper h5,
    .akins-public-wrapper h6 {
        color: #ffffff !important;
    }

    /* Ensure muted text is light gray, not dark gray */
    .akins-public-wrapper .text-muted {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    /* --- CONTACT SECTION IMAGE FIX --- */
    /* This forces the image column to be the exact same height as the form */
    .akins-public-wrapper .contact-row {
        align-items: stretch; /* vital for equal height */
    }

    .akins-public-wrapper .contact-image-col {
        height: 100%;
        min-height: 100%;
    }

        .akins-public-wrapper .contact-image-col img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* This crops the image to fit the box without stretching */
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
            display: block;
        }

/* Mobile fix for image border radius */
@media (max-width: 991px) {
    .akins-public-wrapper .contact-image-col img {
        border-radius: 0 0 8px 8px;
        min-height: 250px;
    }
}

/* --- 1. GLOBAL FIXES --- */
/* Ensure Navbar sits on top of Hero sections */
body .app-header {
    position: relative;
    z-index: 1050 !important;
}

/* --- 2. SCOPED WRAPPER --- */
.akins-public-wrapper {
    /* Local Variables */
    --brand-lime: #08ac10;
    --brand-dark: #033028;
    --brand-grey: #6c757d;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

    /* Typography Overrides */
    .akins-public-wrapper h1,
    .akins-public-wrapper h2,
    .akins-public-wrapper h5,
    .akins-public-wrapper .stat-num {
        font-family: 'Manrope', sans-serif;
    }

    .akins-public-wrapper .fw-800 {
        font-weight: 800;
    }

    .akins-public-wrapper .text-brand-lime {
        color: var(--brand-lime) !important;
    }

    .akins-public-wrapper .text-brand-dark {
        color: var(--brand-dark) !important;
    }

    .akins-public-wrapper .bg-brand-dark {
        background-color: var(--brand-dark) !important;
    }

    /* --- 3. HERO SECTION --- */
    .akins-public-wrapper .hero-section {
        position: relative;
        background-color: var(--brand-dark);
        min-height: 650px;
        display: flex;
        align-items: center;
        z-index: 0;
        overflow: hidden;
    }

    .akins-public-wrapper .hero-bg-split {
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background-image: url('/images/site/computer-build-2-internals-1-1.jpg');
        background-size: cover;
        background-position: center;
        z-index: 1;
        transform: translateZ(0); /* GPU Fix */
    }

    .akins-public-wrapper .hero-content {
        position: relative;
        z-index: 5;
        padding-right: 2rem;
    }

/* --- 4. BUTTONS & ANIMATIONS --- */
@keyframes akins-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 172, 16, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(8, 172, 16, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 172, 16, 0);
    }
}

.akins-public-wrapper .btn-circle-action {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: var(--brand-lime);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    animation: akins-pulse 2s infinite;
    transition: transform 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
    margin-left: auto;
    margin-right: -65px;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

    .akins-public-wrapper .btn-circle-action:hover {
        transform: scale(1.1) translateZ(0);
    }

/* --- 5. FLOATING COMPONENTS --- */
.akins-public-wrapper .experience-float {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top-left-radius: 4px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 6;
    transform: translateZ(0);
}

.akins-public-wrapper .trophy-icon {
    width: 50px;
    height: 50px;
    background-color: var(--brand-lime);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}

/* --- 6. GENERAL SECTIONS --- */
.akins-public-wrapper .section-padding {
    padding: 100px 0;
}

.akins-public-wrapper .section-trusted {
    background-color: #fff;
    padding: 100px 0;
}

.akins-public-wrapper .section-choose {
    background-color: #f8f9fa;
    padding: 100px 0;
}

/* Service Cards */
.akins-public-wrapper .service-card {
    background: white;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 8px;
    transform: translateZ(0);
}

    .akins-public-wrapper .service-card:hover {
        transform: translateY(-10px) translateZ(0);
        border-top: 4px solid var(--brand-lime);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.akins-public-wrapper .service-icon-box {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: rgba(8, 172, 16, 0.1);
    border-radius: 12px; /* Rounded Square per video */
    margin-bottom: 25px;
    transition: 0.3s;
}

    .akins-public-wrapper .service-icon-box i {
        font-size: 1.8rem;
        color: var(--brand-lime);
    }

.akins-public-wrapper .service-card:hover .service-icon-box {
    background-color: var(--brand-lime);
}

    .akins-public-wrapper .service-card:hover .service-icon-box i {
        color: white;
    }

/* Stats */
.akins-public-wrapper .section-stats {
    background-color: var(--brand-dark);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.akins-public-wrapper .stat-icon {
    font-size: 2.5rem;
    color: var(--brand-lime);
    margin-bottom: 15px;
    display: block;
}

.akins-public-wrapper .stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-lime);
    line-height: 1;
    margin-bottom: 10px;
}

/* Steps */
.akins-public-wrapper .step-icon {
    font-size: 3rem;
    color: var(--brand-dark);
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

/* --- 7. NEW BANNER & FORM STYLES --- */
.akins-public-wrapper .banner-image-cody {
    height: 350px;
    object-fit: contain;
    object-position: bottom left;
    position: absolute;
    bottom: 0;
    left: 5%;
    z-index: 1;
}

.akins-public-wrapper .contact-split-container {
    margin-top: -60px; /* Pulls form up over the green banner */
    position: relative;
    z-index: 10;
}

.akins-public-wrapper .contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    height: 100%;
}

.akins-public-wrapper .form-control {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 12px 15px;
    margin-bottom: 20px;
}

    .akins-public-wrapper .form-control:focus {
        border-color: var(--brand-lime);
        box-shadow: none;
        background-color: white;
    }

.akins-public-wrapper .contact-image-col {
    position: relative;
    min-height: 400px;
}

    .akins-public-wrapper .contact-image-col img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

/* Play button overlay on chipset image */
.akins-public-wrapper .play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--brand-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    animation: akins-pulse 2s infinite;
}

/* --- 1. Fix the "Simple Steps" Colors --- */
/* This forces the icons to be Akin's Lime and text to be White */
.section-choose .step-icon-wrapper i {
    color: var(--brand-lime) !important;
}

.section-choose h5,
.section-choose p {
    color: #ffffff !important;
}

    .section-choose p.small {
        color: rgba(255, 255, 255, 0.7) !important; /* Slightly dimmed for hierarchy */
    }

/* --- 2. Fix Cody's Picture (The Crop Job) --- */
.cody-frame-wrapper {
    /* This creates the box you asked for */
    border: 4px solid var(--brand-lime);
    background-color: #fff; /* White background behind him to hide jagged pixels */
    border-radius: 8px; /* Rounded corners */
    padding: 0;
    overflow: hidden; /* Cuts off anything sticking out */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Drop shadow to lift it off the page */
    /* Dimensions to fit the column */
    max-width: 100%;
    display: inline-block;
}

    .cody-frame-wrapper img {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: -5px; /* Fixes tiny gap at bottom of images in some browsers */
    }

/* --- 3. The Services List (Right Side) --- */
.service-list-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    border-left: 5px solid transparent; /* Invisible border until hover */
    transition: 0.2s;
}

    .service-list-card:hover {
        border-left: 5px solid var(--brand-lime); /* Green indicator on hover */
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.service-icon-small {
    color: var(--brand-lime);
    font-size: 24px;
    margin-right: 15px;
    width: 50px;
    text-align: center;
}

/* --- 1. STATS FIXES (White & Larger) --- */
.akins-public-wrapper .section-stats .stat-num {
    color: #ffffff !important; /* Force White */
}

.akins-public-wrapper .section-stats .stat-label {
    color: #ffffff !important; /* Force White */
    font-size: 1.1rem !important; /* Make text larger */
    font-weight: 600;
    opacity: 1 !important; /* Remove the "dimmed" look */
}

/* --- 2. CODY BANNER FIX (Unified Green Box) --- */
.akins-cta-banner {
    background-color: var(--brand-lime);
    border-radius: 0; /* Sharp edges or use 8px for rounded */
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-top: 50px;
    margin-bottom: 50px;
}

    /* Overlay image for subtle lightning bolt pattern if you have it, otherwise just solid green */
    .akins-cta-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Optional: Linear gradient to give it depth like the screenshot */
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
        pointer-events: none;
    }

.cody-banner-img {
    max-height: 380px; /* Increased slightly for better proportions */
    width: auto;
    display: block;
    position: relative;
    z-index: 2;
    vertical-align: bottom; /* Fixes gap at bottom */
    /* Center on mobile */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .cody-banner-img {
        margin: 0;
    }
}

/* Remove the previous large padding on desktop, just need a little breathing room now */
@media (min-width: 992px) {
    .cta-content-col {
        padding-left: 30px !important; /* Just a small gap between image and text */
        text-align: left !important;
    }
}

    .cta-content-col {
        padding-left: 250px; /* Make room for Cody on desktop */
    }
}

/* --- 8. RESPONSIVE --- */
@media (max-width: 991px) {
    .akins-public-wrapper .hero-section {
        display: block;
        height: auto;
    }

    .akins-public-wrapper .hero-bg-split {
        position: relative;
        width: 100%;
        height: 400px;
    }

    .akins-public-wrapper .hero-content {
        padding: 60px 0;
        text-align: center;
        padding-right: 0;
    }

    .akins-public-wrapper .btn-circle-action {
        margin: -65px auto 0 auto;
    }

    .akins-public-wrapper .experience-float {
        position: relative;
        width: 100%;
        right: auto;
        bottom: auto;
    }

    .akins-public-wrapper .banner-image-cody {
        display: none;
    }

    .akins-public-wrapper .contact-split-container {
        margin-top: 0;
    }
}

/* ==========================================================================
   FINAL POLISH FIXES
   ========================================================================== */

/* 1. FIX THE "HOVER CARDS" ILLEGIBILITY */
/* This overrides the global "All Text White" rule specifically for inside the white cards */
.akins-public-wrapper .service-list-card h4,
.akins-public-wrapper .service-list-card p,
.akins-public-wrapper .service-list-card i,
.akins-public-wrapper .service-list-card .small {
    color: var(--brand-dark) !important;
}

/* Ensure the card background stays white so it pops against the dark page */
.akins-public-wrapper .service-list-card {
    background-color: #ffffff !important;
}

/* 2. FIX THE 2 REMAINING WHITE SECTIONS */
/* Forces the "We Repair PCs" and "Services" sections to match the dark theme */
.akins-public-wrapper .section-padding,
.akins-public-wrapper .section-trusted {
    background-color: var(--brand-dark) !important;
    /* Ensure no white borders or shadows linger */
    border: none !important;
}

/* 3. FIX CONTACT FORM SECTION BACKGROUND */
/* Keeps the form card white, but makes the section behind it dark */
.akins-public-wrapper .contact-split-container {
    background-color: var(--brand-dark) !important;
}

/* Fix Contact Form Text (Needs to be dark inside the white form card) */
.akins-public-wrapper .contact-form-card h2,
.akins-public-wrapper .contact-form-card h5,
.akins-public-wrapper .contact-form-card label,
.akins-public-wrapper .contact-form-card input,
.akins-public-wrapper .contact-form-card textarea {
    color: var(--brand-dark) !important;
}

/* ==========================================================================
   FIX REMAINING 2 ITEMS
   ========================================================================== */

/* 1. FIX "SIMPLE STEPS" SECTION BACKGROUND */
/* This was missing from the previous list. Adding .section-choose turns it Dark Green. */
.akins-public-wrapper .section-choose {
    background-color: var(--brand-dark) !important;
    border: none !important;
}

/* 2. FIX "TROPHY/EXPERIENCE" BOX TEXT */
/* The box is white, so we must force the text back to dark so it's visible */
.akins-public-wrapper .experience-float h6,
.akins-public-wrapper .experience-float .text-muted,
.akins-public-wrapper .experience-float .small,
.akins-public-wrapper .experience-float i {
    color: var(--brand-dark) !important;
}

/* Optional: Ensure the Trophy Icon itself stays Green if needed */
.akins-public-wrapper .experience-float .trophy-icon {
    color: white !important; /* The icon inside the green square should be white */
    background-color: var(--brand-lime) !important;
}

/* ==========================================================================
   SPACING & CONTACT FORM REDUCTION
   ========================================================================== */

/* 1. REDUCE VERTICAL SPACING BETWEEN SECTIONS */
/* Changed from 100px to 50px */
.akins-public-wrapper .section-padding,
.akins-public-wrapper .section-trusted,
.akins-public-wrapper .section-choose,
.akins-public-wrapper .section-stats {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* 2. COMPACT THE CONTACT FORM CARD */
.akins-public-wrapper .contact-form-card {
    padding: 25px !important; /* Reduced from 40px */
}

    /* Reduce space between input fields inside the form */
    .akins-public-wrapper .contact-form-card .form-control {
        margin-bottom: 15px !important; /* Reduced from 20px */
        padding: 10px 12px; /* Slightly smaller input padding */
        height: auto;
    }

    /* Reduce the margin under the "Get In Touch" title */
    .akins-public-wrapper .contact-form-card h2 {
        margin-bottom: 1.0rem !important;
    }

/* 3. ENSURE IMAGE MATCHES THE NEW SHORTER HEIGHT */
/* The previous object-fit: cover rule will handle the resizing automatically,
   but we ensure the container doesn't force extra height. */
.akins-public-wrapper .contact-image-col {
    height: auto !important;
    min-height: 100% !important;
}