/**
 * Feature Section Styles
 */

@import url('../assets/fonts.css');

.elementor-widget-waycloud_feature_section{
    width: 100%;
}

/* Main Container - Full Width */
.waycloud-feature-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Background Wrapper - Full Width 50/50 split */
.waycloud-feature-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
    pointer-events: none;
}

/* Left Half Background */
.waycloud-feature-bg-left {
    flex: 1;
    background: transparent;
}

/* Right Half Background */
.waycloud-feature-bg-right {
    flex: 1;
    background: transparent;
}

/* Apply gradient to left when image is on right */
.waycloud-feature-section.image-right .waycloud-feature-bg-left {
    background: transparent;
}

.waycloud-feature-section.image-right .waycloud-feature-bg-right {
    background: linear-gradient(135deg, #8789F4 0%, #F0967A 100%);
}

/* Apply gradient to right when image is on left */
.waycloud-feature-section.image-left .waycloud-feature-bg-left {
    background: linear-gradient(135deg, #8789F4 0%, #F0967A 100%);
}

.waycloud-feature-section.image-left .waycloud-feature-bg-right {
    background: transparent;
}

/* Content Container - 1440px max, relative to sit above backgrounds */
.waycloud-feature-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Content Column */
.waycloud-feature-content {
    display: flex;
    flex-direction: column;
    background: transparent;
}

.waycloud-feature-content.order-1 {
    order: 1;
}

.waycloud-feature-content.order-2 {
    order: 2;
}

/* Label */
.waycloud-feature-section-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #292929;
    margin-bottom: 12px;
}

/* Title */
.waycloud-feature-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    color: #292929;
    margin: 0 0 24px 0;
}

/* Description */
.waycloud-feature-section-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #292929;
    margin: 0 0 24px 0;
}

/* Features List */
.waycloud-feature-content .waycloud-feature-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.waycloud-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.waycloud-feature-item:last-child {
    margin-bottom: 0;
}

.waycloud-feature-check {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0086FA;
}

.waycloud-feature-item-content {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #292929;
}

.waycloud-feature-item-title {
    font-weight: 600;
}

.waycloud-feature-item-description {
    font-weight: 400;
}

/* Button */
.waycloud-feature-section-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 24px;
    border: 2px solid #000000;
    border-radius: 50px;
    background-color: transparent;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 24px;
}

.waycloud-feature-button:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.waycloud-feature-button svg {
    transition: transform 0.3s ease;
}

.waycloud-feature-button:hover svg {
    transform: translateX(4px);
}

/* Image Column */
.waycloud-feature-image-wrapper {
    position: relative;
    padding: 60px;
    border-radius: 16px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.waycloud-feature-image-wrapper.order-1 {
    order: 1;
}

.waycloud-feature-image-wrapper.order-2 {
    order: 2;
}

.waycloud-feature-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .waycloud-feature-section {
        padding: 48px 0 0 0;
    }
    .waycloud-feature-section-label{
        font-weight: 400;
        font-size: 16px;
    }
    .waycloud-feature-section-title{
        font-weight: 400;
        font-size: 24px;
    }

    .waycloud-feature-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .waycloud-feature-content.order-1,
    .waycloud-feature-content.order-2 {
        order: 1;
    }
    
    .waycloud-feature-image-wrapper {
        padding: 30px 12px;
    }
    
    .waycloud-feature-image-wrapper.order-1,
    .waycloud-feature-image-wrapper.order-2 {
        order: 2;
    }
    
    .waycloud-feature-title {
        font-size: 32px;
    }
    
    .waycloud-feature-description {
        font-size: 14px;
    }
    
    .waycloud-feature-item-content {
        font-size: 13px;
    }

    .waycloud-feature-backgrounds{
        display: none;
    }
    .waycloud-feature-image-wrapper{
        background: linear-gradient(135deg, #8789F4 0%, #F0967A 100%);
        border-radius: 0;
        padding: 40px;
        margin: 0 -40px;
    }

}
