/* Services Page Specific Styles */

/* Hero Section */
.services-hero {
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}


.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
}

.services-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 80px;
    /* Offset for navbar */
    flex-grow: 1;
}


.services-hero .hero-title {
    margin-bottom: 2rem;
}

.services-hero .hero-subtitle {
    margin-bottom: 3.5rem;
    font-size: 1.25rem;
    max-width: 600px;
}


/* Service Cards V3 (Premium Glass + 3D Tilt) */
.service-card-v3 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.service-card-v3:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-v3.popular {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid white;
    /* Crisp White Outline */
    padding-top: 5rem;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.service-card-v3 .card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-v3:hover .card-glow {
    opacity: 1;
}

.service-card-v3 .card-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-transform: capitalize;
    letter-spacing: -0.02em;
}

.service-card-v3 .card-price {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.service-card-v3 .plus-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.feature-list-v3 {
    margin: 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}

.service-card-v3 .service-features-list {
    flex-grow: 1;
    margin: 0;
    margin-top: 1rem;
}

.service-card-v3 .service-features-list li {
    font-size: 0.95rem;
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.service-card-v3 .service-features-list li svg {
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1rem;
    height: 1rem;
    stroke: white;
    /* Changed to white to match image */
    stroke-width: 3;
    fill: none;
}

/* Button Styling Override */
.btn-glow-white {
    background: white;
    color: black !important;
    border-radius: 999px;
    padding: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-glow-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Popular Card Button - Revert to default white */
.popular .btn-glow-white {
    background: white;
    color: black !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}


/* Shine Effect */
.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.13) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.service-card-v3:hover .shine {
    left: 150%;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 10px 24px;
    border-radius: 0 0 12px 12px;
    /* Connected to top, rounded bottom */
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

/* Maintenance Section V2 */
.maintenance-banner-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.banner-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.banner-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.banner-features {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.banner-features span {
    font-size: 0.9rem;
    color: var(--text-primary);
    padding-left: 1.5rem;
    position: relative;
}

.banner-features span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.maintenance-card-v2 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.maintenance-card-v2 .card-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.maintenance-card-v2 .price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.maintenance-card-v2 .price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.5;
}

.maintenance-card-v2 .visits {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
}

.maintenance-card-v2 .card-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-style: italic;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Info Cards */
.info-card-premium {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 2rem;
}

.info-card-premium h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 1.5rem;
}

/* Booking CTA Panel V2 */
.cta-panel-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.cta-content {
    padding: 4rem;
}

.cta-image {
    height: 100%;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}


/* Responsive */
@media (max-width: 1024px) {
    .services-hero {
        height: 60vh;
        min-height: 400px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .maintenance-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cta-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        height: auto;
        padding: 6rem 0;
    }

    .grid-2,
    .grid-3,
    .maintenance-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card-v3 {
        padding: 2.5rem 1.5rem;
    }

    .cta-panel-v2 {
        grid-template-columns: 1fr;
    }

    .cta-image {
        height: 250px;
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .banner-features {
        justify-content: center;
        gap: 1.5rem;
    }

    .promo-badge-circular {
        right: 20px;
        bottom: 20px;
        width: 65px;
        height: 65px;
        font-size: 0.65rem;
    }
}

/* Fleet & Commercial Services Section */
.fleet-commercial-section {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.01));
    padding: 10rem 0;
}

.fleet-disclaimer {
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.fleet-grid {
    margin-top: 4rem;
}

.fleet-card {
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fleet-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.fleet-pricing {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 244, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.price-row:last-child {
    margin-bottom: 0;
}

.fleet-card .price {
    color: white;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.fleet-card .service-features-list {
    margin-top: 0;
}

.fleet-card .service-features-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Info Cards Refinement for Fleet */
.fleet-commercial-section .info-card-premium {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fleet-commercial-section .info-card-premium h4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Responsive Grid for Fleet */
@media (max-width: 1200px) {
    .fleet-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fleet-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .fleet-commercial-section {
        padding: 6rem 0;
    }

    .fleet-card {
        padding: 2.5rem 2rem;
    }
}