/**
 * XPEL Korea - WPF (Windshield Protection Film) Page
 * Based on XPEL.com design reference
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.wpf-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background-color: #171717;
}

@media (min-width: 992px) {
    .wpf-hero {
        min-height: 600px;
    }
}

.wpf-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.wpf-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpf-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

.wpf-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 3rem 1.5rem;
}

@media (min-width: 992px) {
    .wpf-hero__content {
        padding: 4rem;
    }
}

.wpf-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.wpf-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.wpf-hero__breadcrumb a:hover {
    color: #FFFFFF;
}

.wpf-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.wpf-hero__tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FDB521;
    margin-bottom: 1rem;
}

.wpf-hero__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.wpf-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #171717;
    background: #FDB521;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.wpf-hero__cta:hover {
    background: #e5a31d;
    transform: translateY(-2px);
}

/* ==========================================================================
   Explore Section
   ========================================================================== */
.wpf-explore {
    background: #FFFFFF;
    padding: 5rem 1.5rem;
}

@media (min-width: 992px) {
    .wpf-explore {
        padding: 6rem 2rem;
    }
}

.wpf-explore__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.wpf-explore__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #171717;
    margin-bottom: 3rem;
}

.wpf-explore__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 992px) {
    .wpf-explore__content {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }
}

.wpf-explore__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 1rem;
}

.wpf-explore__desc {
    font-size: 1rem;
    color: #525252;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.wpf-explore__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #171717;
    background: #FDB521;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 2rem;
}

.wpf-explore__cta:hover {
    background: #e5a31d;
}

.wpf-explore__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wpf-explore__features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.wpf-explore__feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #FDB521;
}

.wpf-explore__feature-icon svg {
    width: 100%;
    height: 100%;
}

.wpf-explore__feature-text {
    flex: 1;
}

.wpf-explore__feature-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 0.25rem;
}

.wpf-explore__feature-text span {
    font-size: 0.875rem;
    color: #737373;
    line-height: 1.5;
}

/* Gallery */
.wpf-explore__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.wpf-explore__image {
    border-radius: 12px;
    overflow: hidden;
}

.wpf-explore__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpf-explore__image--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
}

.wpf-explore__image--sub1,
.wpf-explore__image--sub2 {
    aspect-ratio: 4 / 3;
}

/* ==========================================================================
   Roads Section
   ========================================================================== */
.wpf-roads {
    background: #F5F5F5;
    padding: 5rem 1.5rem;
}

@media (min-width: 992px) {
    .wpf-roads {
        padding: 6rem 2rem;
    }
}

.wpf-roads__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .wpf-roads__inner {
        grid-template-columns: 1.5fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.wpf-roads__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wpf-roads__image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.wpf-roads__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.wpf-roads__image:hover img {
    transform: scale(1.05);
}

.wpf-roads__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.wpf-roads__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #171717;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.wpf-roads__desc {
    font-size: 1rem;
    color: #525252;
    line-height: 1.7;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.wpf-video {
    background: #171717;
    padding: 5rem 1.5rem;
}

@media (min-width: 992px) {
    .wpf-video {
        padding: 6rem 2rem;
    }
}

.wpf-video__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .wpf-video__inner {
        grid-template-columns: 1fr 1.5fr;
        gap: 4rem;
    }
}

.wpf-video__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.wpf-video__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.wpf-video__player {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #262626;
}

.wpf-video__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpf-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.wpf-video__play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #FDB521;
}

.wpf-video__play svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    color: #171717;
}

/* ==========================================================================
   Specs Section
   ========================================================================== */
.wpf-specs {
    background: #FFFFFF;
    padding: 4rem 1.5rem;
    border-bottom: 1px solid #E5E5E5;
}

@media (min-width: 992px) {
    .wpf-specs {
        padding: 5rem 2rem;
    }
}

.wpf-specs__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.wpf-specs__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wpf-specs__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #171717;
}

.wpf-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .wpf-specs__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.wpf-specs__item {
    text-align: center;
    padding: 1.5rem;
    background: #F5F5F5;
    border-radius: 12px;
}

.wpf-specs__value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #171717;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.wpf-specs__label {
    font-size: 0.875rem;
    color: #737373;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.wpf-faq {
    background: #FFFFFF;
    padding: 5rem 1.5rem;
}

@media (min-width: 992px) {
    .wpf-faq {
        padding: 6rem 2rem;
    }
}

.wpf-faq__inner {
    max-width: 900px;
    margin: 0 auto;
}

.wpf-faq__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.wpf-faq__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #171717;
}

.wpf-faq__all {
    font-size: 0.875rem;
    font-weight: 500;
    color: #171717;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #E5E5E5;
    border-radius: 100px;
    transition: all 0.2s;
}

.wpf-faq__all:hover {
    border-color: #171717;
}

.wpf-faq__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #E5E5E5;
}

.wpf-faq__item {
    border-bottom: 1px solid #E5E5E5;
}

.wpf-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #171717;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.wpf-faq__question:hover {
    color: #FDB521;
}

.wpf-faq__question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #A3A3A3;
    transition: transform 0.2s;
}

.wpf-faq__item.active .wpf-faq__question svg {
    transform: rotate(45deg);
}

.wpf-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wpf-faq__item.active .wpf-faq__answer {
    max-height: 300px;
}

.wpf-faq__answer p {
    padding-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: #525252;
    line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.wpf-cta {
    background: #F5F5F5;
    padding: 5rem 1.5rem;
}

@media (min-width: 992px) {
    .wpf-cta {
        padding: 6rem 2rem;
    }
}

.wpf-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.wpf-cta__card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.wpf-cta__card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.75rem;
}

.wpf-cta__card-desc {
    font-size: 1rem;
    color: #525252;
    margin-bottom: 1.5rem;
}

.wpf-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #171717;
    background: #FDB521;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.wpf-cta__btn:hover {
    background: #e5a31d;
    transform: translateY(-2px);
}

/* ==========================================================================
   Mobile Adjustments
   ========================================================================== */
@media (max-width: 640px) {
    .wpf-roads__images {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .wpf-roads__image {
        aspect-ratio: 16 / 9;
    }
    
    .wpf-specs__value {
        font-size: 1.5rem;
    }
}
