/* Ceramic Coatings Page Styles */

/* Hero Section */
.hero-carousel {
    position: relative;
    min-height: calc(100vh - 120px);
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Hero Video Styles */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}



/* Reusing Button Styles from Main CSS (assuming they are global) */
/* If not, we can redefine them here or ensure main.css is loaded */
.cta-button,
.ghost-button {
    padding: 1rem 2rem;
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button {
    background-color: #ffffff;
    color: #000;
}

.cta-button:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.ghost-button {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.ghost-button:hover {
    background-color: #fff;
    color: #000;
}

/* Info Section (Split Layout) */
.info-section {
    padding: clamp(4rem, 8vw, 4rem) clamp(1.5rem, 5vw, 2rem);
    background-color: var(--color-background);
    color: var(--color-text);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Content Carousel */
.content-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-card, 8px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.content-slide.active {
    opacity: 1;
}

.content-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Text */
.info-content h2 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--color-text);
}

.service-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: block;
}

.info-content p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Add-ons Section */
.addons-section {
    padding: clamp(4rem, 8vw, 4rem) clamp(1.5rem, 5vw, 2rem);
    ;
    background-color: #000;
    /* Darker background for contrast */
    color: #fff;
    text-align: center;
}

.addons-section h2 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.addon-card {
    background: var(--color-surface-alt, #111);
    border-radius: var(--radius-card, 8px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.addon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--color-accent, #1c52ad);
}

.addon-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 85%;
}

.addon-content {
    padding: 2rem;
    text-align: left;
}

.addon-content h3 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.addon-content p {
    color: var(--color-muted, #aaa);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Graphene Coating Section (Zigzag Layout) */
.graphene-section {
    padding: clamp(4rem, 8vw, 4rem) clamp(1.5rem, 5vw, 2rem);
    ;
    background-color: var(--color-background);
    color: var(--color-text);
}

.graphene-section h2.section-title {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

.zigzag-row.reverse {
    flex-direction: row-reverse;
}

.zigzag-col {
    flex: 1;
}

.zigzag-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-card, 8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.zigzag-content h3 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.zigzag-content p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.zigzag-content ul,
.comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zigzag-content ul li,
.comparison-col ul li {
    margin-bottom: 0.8rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-left: 0;
}

.zigzag-content ul li i,
.comparison-col ul li i {
    color: var(--color-accent, #1c52ad);
    /* font-size: 0.5em; */
}

.comparison-col ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.comparison-col.dealership h3 {}

.comparison-col.sector1 h3 {}

/* Fix for Graphene Section Padding */
.graphene-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Comparison Section Desktop Layout */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.youtube-section {
    /* padding: var(--section-padding, 6rem) 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%;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Mobile Optimization */
@media (max-width: 768px) {

    /* Hero Typography */
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Info Section Stacking */
    .info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-carousel {
        order: -1;
        /* Ensure image is above text */
    }

    /* Zigzag Layout Stacking */
    .zigzag-row,
    .zigzag-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .zigzag-image {
        height: 220px !important;
        width: 100%;
        min-width: 350px;
        object-fit: cover;
        object-position: center;
    }

    /* Addons Grid Stacking */
    .addons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Comparison Section Stacking */
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Section Padding Adjustment */
    .info-section,
    .addons-section,
    .graphene-section {
        padding: 4rem 1.5rem;
    }
}