/*
Theme Name: Wheelie Cleen Elite
Theme URI: https://wheeliecleenni.co.uk
Author: PH CREATIVE
Author URI: https://www.phcreativeni.com
Description: A bespoke, ultra-fast custom theme for Wheelie Cleen.
Version: 1.0.9
*/

/* Elite Base Styles */
body {
    background-color: #061626;
    color: #f3f4f3; 
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #061626; } 
::-webkit-scrollbar-thumb { background: #0b2545; border-radius: 4px; } 
::-webkit-scrollbar-thumb:hover { background: #034db0; } 

/* True Glassmorphism */
.glass {
    background: rgba(11, 37, 69, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gradient Glow Effects */
.glow-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45,183,48,0.15) 0%, rgba(6,22,38,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Form Radio/Checkbox Magic */
.form-radio:checked + div {
    border-color: #2db730;
    background-color: rgba(45, 183, 48, 0.1);
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(45, 183, 48, 0.2);
}
.form-radio:checked + div .text-brand-white { color: #2db730; }
.form-radio:checked + div .price-badge { background-color: #2db730; color: #061626; }

.form-checkbox:checked + div {
    border-color: #034db0;
    background-color: rgba(3, 77, 176, 0.15);
}

/* Override browser autofill styling to maintain dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #061626 inset !important;
    -webkit-text-fill-color: #f3f4f3 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Before/After Slider UI */
.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 1.5rem;
}
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.slider-before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}
.slider-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 4;
}
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #2db730;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}
.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #2db730;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #061626;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 3px solid #061626;
}

/* Intersection Observer Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}