/* New Car Protection Page Styles */

/* Hero Section */
.service-hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.service-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
}

.service-hero-bg img,
.service-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 1200px;
    width: 100%;
}

.service-hero h1 {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.service-hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    max-width: 800px;
    margin: 1.5rem auto 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.7s;
}

/* Content Section */
.service-details {
    padding: clamp(4rem, 8vw, 4rem) clamp(1.5rem, 5vw, 2rem);
    ;
    background-color: var(--color-background);
    color: var(--color-text);
}

.service-details-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-details p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--color-muted);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

.service-details p:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-hero {
        height: 70vh;
        min-height: 500px;
    }
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}


/* --- Zigzag Details Section --- */
.details-section {
    padding: var(--section-padding, 4rem) 0;
    background-color: var(--color-background);
}

.details-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .zigzag-row {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    /* Alternate order for even rows */
    .zigzag-row:nth-child(even) .zigzag-content {
        order: 2;
    }

    .zigzag-row:nth-child(even) .zigzag-media {
        order: 1;
    }
}

.zigzag-content h2 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-transform: uppercase;
}

.zigzag-content h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.zigzag-content p {
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.zigzag-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zigzag-content ul li {
    margin-bottom: 0.8rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.zigzag-content ul li i {
    color: var(--color-accent, #1c52ad);
    margin-top: 5px;
    vertical-align: middle;
}

/* Zigzag Media Container */
.zigzag-media {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.zigzag-media img.package-image,
.zigzag-media video {
    width: 100%;
    height: 250px;
    /* Reduced height as requested */
    object-fit: cover;
    border-radius: var(--radius-card, 16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.zigzag-media .package-benefits h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
}

.zigzag-media .package-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zigzag-media .package-benefits ul li {
    margin-bottom: 0.8rem;
    color: var(--color-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.zigzag-media .package-benefits ul li i {
    color: var(--color-accent, #1c52ad);
    margin-top: 5px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .zigzag-media img.package-image {
        height: 220px;
    }
}

/* Pricing Styling for ZigZag */
.zigzag-content .price-tag {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.zigzag-content .price-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-transform: uppercase;
}

.zigzag-content .price-amount {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.8rem;
    color: #fff;
}

.zigzag-content .btn-quote {
    display: inline-block;
    background: var(--color-accent, #1c52ad);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading, 'Figtree', sans-serif);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Fix for FAQ Section "Shadow" Issue */
.faq-section {
    background: #000000;
    /* Solid black to blend with footer */
    padding-bottom: 0;
    /* Remove bottom padding if needed to seamless blend */
}
#ferrari-detail-img {
    object-position: center 66%;
}
