@import url(../../constants.css);

div.pe-herosection {
    background-color: white;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-medium);
    transition: transform 0.2s;
    margin-top: 80px;
}

/* Main Feature Area */
.pe-herosection-main {
    height: 350px;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 40px;
    overflow: visible;
    border-radius: 8px 8px 0 0;
}

.pe-herosection-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

.pe-herosection-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 350px;
    box-shadow: var(--shadow-large);
    position: absolute;
    top: -40px;
    right: 40px;
    z-index: 2;
}

.pe-herosection-tagline {
    font-size: var(--font-size-m);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.pe-herosection-title {
    font-family: var(--secondary-font);
    font-size: var(--font-size-xxl);
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.pe-herosection-text {
    color: var(--color-text-secondary) !important;
    font-size: var(--font-size-m) !important;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pe-herosection-cta {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: var(--font-size-l);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.pe-herosection-cta:hover {
    background: var(--color-primary-dark);
}

/* Services Grid */
.pe-herosection-grid {
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
    border-radius: 0 0 8px 8px;
}

.pe-herosection-item {
    text-align: center;
    padding: 30px 20px;
}

.pe-herosection-item-border {
    border-right: 1px solid #f7f7f7;
}

.pe-herosection-icon-bg {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
}

.pe-herosection-icon-heart {
    color: var(--color-white);
    background: #ffa700;
}

.pe-herosection-icon-mail {
    background: #ff8800;
}

.pe-herosection-icon-cart {
    background: #ff6600;
}

.pe-herosection-icon {
    color: var(--color-white);
    width: 30px;
    height: 30px;
}

.pe-herosection-item-title {
    font-size: var(--font-size-l);
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.pe-herosection-item-text {
    color: var(--color-text-secondary) !important;
    font-size: var(--font-size-s) !important;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 40px;
}

.pe-herosection-item-btn {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: var(--font-size-s);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pe-herosection-item-btn:hover {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

/* Media Queries */
@media (max-width: 768px) {
    .pe-herosection-main {
        height: auto;
        padding: 20px;
        align-items: center;
        justify-content: center;
        min-height: 350px;
    }

    .pe-herosection-content {
        max-width: 90%;
        position: relative;
        top: 20px;
        left: 0;
        margin: -150px auto 0;
    }

    .pe-herosection-title {
        font-size: var(--font-size-xl);
    }

    .pe-herosection-grid {
        grid-template-columns: 1fr;
    }

    .pe-herosection-grid::before,
    .pe-herosection-grid::after {
        display: none;
    }

    .pe-herosection-item {
        padding: 20px 10px;
        border-bottom: 1px solid #e0e0e0;
    }

    .pe-herosection-item:last-child {
        border-bottom: none;
    }

    .pe-herosection-icon-bg {
        width: 50px;
        height: 50px;
        margin: 0 auto 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--font-size-xl);
    }

    .pe-herosection-item-title {
        font-size: var(--font-size-l);
        font-weight: bold;
        color: var(--color-primary);
        margin-bottom: 10px;
    }

    .pe-herosection-item-text {
        color: var(--color-text-secondary);
        font-size: var(--font-size-s);
        line-height: 1.5;
        margin-bottom: 10px;
        min-height: 10px;
    }
}