/**
 * Landing 2.0 Hero Block Styles
 * Scoped with .landing-2-hero prefix to avoid conflicts with other pages
 */

/* CSS Custom Properties */
.landing-2-hero {
    --hero-bg: #F7F7F7;
    --hero-title-color: #434343;
    --hero-subtitle-color: #7D8086;
    --hero-body-color: #767676;
    --hero-primary-btn: #E6695C;
    --hero-primary-btn-hover: #d55a4d;
    --hero-feature-icon: #5C6676;
    --hero-feature-title: #535E6E;
    --hero-feature-text: #9B9B9B;
    --hero-breadcrumb: #9B9B9B;
    --hero-breadcrumb-active: #434343;
    --hero-link-color: #4A7DB8;
    --hero-divider: #E5E5E5;
    --hero-radius: 20px;
    --hero-gap: 60px;
    --hero-container-padding: 80px;
}

/* Main Container */
.landing-2-hero {
    background-color: var(--hero-bg);
    padding: var(--hero-container-padding) 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.landing-2-hero__wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Breadcrumbs */
.landing-2-hero__breadcrumbs {
    margin-bottom: 30px;
}

.landing-2-hero__breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.landing-2-hero__breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-2-hero__breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: var(--hero-breadcrumb);
}

.landing-2-hero__breadcrumbs a {
    color: var(--hero-breadcrumb);
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-2-hero__breadcrumbs a:hover {
    color: var(--hero-breadcrumb-active);
}

.landing-2-hero__breadcrumbs li.current a {
    color: var(--hero-breadcrumb-active);
    font-weight: 500;
}

/* Main Grid Layout */
.landing-2-hero__container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--hero-gap);
    align-items: start;
}

/* Left Column - Media */
.landing-2-hero__media {
    position: relative;
}

.landing-2-hero__image-wrapper {
    position: relative;
    border-radius: var(--hero-radius);
    overflow: hidden;
    background-color: #fff;
}

.landing-2-hero__slides {
    position: relative;
    width: 100%;
}

.landing-2-hero__slide {
    display: none;
    width: 100%;
}

.landing-2-hero__slide.active {
    display: block;
}

.landing-2-hero__slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

/* Image Meta Row */
.landing-2-hero__image-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 0 4px;
}

.landing-2-hero__product-label {
    font-size: 14px;
    color: var(--hero-body-color);
}

.landing-2-hero__product-label strong {
    color: var(--hero-title-color);
    font-weight: 500;
}

.landing-2-hero__product-label a {
    color: var(--hero-link-color);
    text-decoration: none;
}

.landing-2-hero__product-label a:hover {
    text-decoration: underline;
}

/* Navigation Arrows */
.landing-2-hero__nav {
    display: flex;
    gap: 8px;
}

.landing-2-hero__nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #E0E0E0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.landing-2-hero__nav-btn:hover {
    border-color: #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.landing-2-hero__nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.landing-2-hero__nav-btn svg {
    width: 16px;
    height: 16px;
    stroke: #666;
    fill: none;
    stroke-width: 2;
}

/* Right Column - Content */
.landing-2-hero__content {
    padding-top: 10px;
}

.landing-2-hero__title {
    font-size: 42px;
    font-weight: 600;
    color: var(--hero-title-color);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.landing-2-hero__subtitle {
    font-size: 24px;
    color: var(--hero-subtitle-color);
    margin: 0 0 24px 0;
    font-weight: 400;
}

.landing-2-hero__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hero-body-color);
    margin-bottom: 28px;
}

.landing-2-hero__description p {
    margin: 0 0 16px 0;
}

.landing-2-hero__description p:last-child {
    margin-bottom: 0;
}

.landing-2-hero__description strong,
.landing-2-hero__description b {
    color: var(--hero-title-color);
    font-weight: 600;
}

/* Actions Row */
.landing-2-hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.landing-2-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--hero-primary-btn);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.landing-2-hero__btn-primary:hover {
    background-color: var(--hero-primary-btn-hover);
    color: #fff;
    text-decoration: none;
}

.landing-2-hero__btn-primary:active {
    transform: scale(0.98);
}

.landing-2-hero__save-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hero-feature-icon);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.landing-2-hero__save-link:hover {
    color: var(--hero-title-color);
}

.landing-2-hero__save-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* Divider */
.landing-2-hero__divider {
    height: 1px;
    background-color: var(--hero-divider);
    margin-bottom: 24px;
}

/* Features List */
.landing-2-hero__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.landing-2-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.landing-2-hero__feature-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.landing-2-hero__feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--hero-feature-icon);
    fill: none;
    stroke-width: 1.5;
}

.landing-2-hero__feature-text {
    flex: 1;
}

.landing-2-hero__feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--hero-feature-title);
    margin: 0 0 2px 0;
}

.landing-2-hero__feature-desc {
    font-size: 13px;
    color: var(--hero-feature-text);
    margin: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .landing-2-hero {
        --hero-container-padding: 60px;
        --hero-gap: 40px;
    }

    .landing-2-hero__wrapper {
        padding: 0 30px;
    }

    .landing-2-hero__container {
        grid-template-columns: 1fr 1fr;
    }

    .landing-2-hero__title {
        font-size: 36px;
    }

    .landing-2-hero__subtitle {
        font-size: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .landing-2-hero {
        --hero-container-padding: 40px;
        --hero-gap: 30px;
    }

    .landing-2-hero__wrapper {
        padding: 0 20px;
    }

    .landing-2-hero__container {
        grid-template-columns: 1fr;
    }

    .landing-2-hero__title {
        font-size: 32px;
    }

    .landing-2-hero__subtitle {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .landing-2-hero__description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .landing-2-hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .landing-2-hero__btn-primary {
        width: 100%;
    }

    .landing-2-hero__image-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .landing-2-hero__nav {
        align-self: flex-end;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .landing-2-hero {
        --hero-container-padding: 30px;
    }

    .landing-2-hero__title {
        font-size: 28px;
    }

    .landing-2-hero__subtitle {
        font-size: 16px;
    }
}
