/* Paint Correction Page Styles */

/* Hero Section */
.service-hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    z-index: 2;
}

.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeUp 1s ease-out;
}

.service-hero-content h1 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.service-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.service-hero-description strong {
    color: #fff;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Service Details Section (if needed for extra text) */
.service-details {
    padding: var(--section-padding, 6rem) 0;
    background-color: var(--color-background);
    color: var(--color-text);
}

.service-details-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.service-details-inner p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--color-muted);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stage Section (Tabs) */
.stage-section {
    padding: var(--section-padding, 6rem) 0;
    background-color: var(--color-background);
    /* Match site background */
    color: var(--color-text);
    min-height: 100vh;
    /* Fit screen */
    display: flex;
    align-items: center;
}

.stage-container {
    width: 100%;
    max-width: 1400px;
    /* Wider for side-by-side */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Tab Navigation */
.stage-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stage-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-muted);
    padding: 1rem 2.5rem;
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-card);
    letter-spacing: 1px;
}

.stage-tab-btn:hover {
    border-color: #fff;
    color: #fff;
}

.stage-tab-btn.active {
    background: white;
    border-color: white;
    color: black;
    box-shadow: 0 0 20px rgba(28, 82, 173, 0.4);
}

/* Tab Content Panels */
.stage-panels {
    position: relative;
    width: 100%;
}

.stage-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stage-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stage-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--color-surface-alt, #111);
    border-radius: var(--radius-card, 16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

@media (min-width: 992px) {
    .stage-body {
        grid-template-columns: 1fr 1fr;
        /* Side by side */
        align-items: stretch;
    }
}

.stage-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stage-info h2 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stage-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--color-accent, #1c52ad);
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stage-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    margin-top: 1rem;
}

.stage-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.stage-info ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

.stage-info ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-accent, #1c52ad);
    font-size: 1.1rem;
}

/* Rectangle Video Section */
.stage-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    /* Reduced height */
    background: #000;
}

.stage-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stage-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video covers the area like a background */
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60px;
    /* Width for the vertical text strip */
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.video-overlay-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    /* Text runs bottom to top */
    color: #fff;
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.stage-extra {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-extra h4 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stage-extra p {
    color: var(--color-muted);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Pricing Section */
.stage-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-transform: uppercase;
}

.price-amount {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.8rem;
    color: #fff;
}

.btn-quote {
    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);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stage-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--color-surface-alt, #111);
    border-radius: var(--radius-card, 16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

@media (min-width: 992px) {
    .stage-body {
        grid-template-columns: 1fr 1fr;
        /* Side by side */
        align-items: stretch;
    }
}

.stage-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stage-info h2 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stage-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--color-accent, #1c52ad);
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stage-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    margin-top: 1rem;
}

.stage-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.stage-info ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

.stage-info ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-accent, #1c52ad);
    font-size: 1.1rem;
}

/* Rectangle Video Section */
.stage-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    /* Reduced height */
    background: #000;
}

.stage-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stage-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video covers the area like a background */
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60px;
    /* Width for the vertical text strip */
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.video-overlay-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    /* Text runs bottom to top */
    color: #fff;
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.stage-extra {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-extra h4 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stage-extra p {
    color: var(--color-muted);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Pricing Section */
.stage-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-transform: uppercase;
}

.price-amount {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.8rem;
    color: #fff;
}

.btn-quote {
    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);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-quote:hover {
    background: #fff;
    color: #000;
}

/* --- YouTube Section --- */
.youtube-section {
    padding: var(--section-padding, 4rem) 0;
    background-color: var(--color-background);
    text-align: center;
}

.youtube-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.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;
    /* font-size: 0.5em; */
    vertical-align: middle;
}

.zigzag-media img,
.zigzag-media video {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-card, 16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 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;
}

/* Price Action Row for Paint Correction Stages */
.price-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    width: 100%;
}

.price-action-row .price-tag {
    margin-top: 0;
    margin-bottom: 0;
}

.price-action-row .cta-button {
    margin-top: 0;
}