﻿/* =============================================
   wwwroot/css/why-choose-us.css
   Premium Why Choose Us Section
   ============================================= */

/* ---------- Section Base ---------- */
.why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

    .why-choose-section::before {
        content: '';
        position: absolute;
        top: 10%;
        left: -200px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.08), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .why-choose-section::after {
        content: '';
        position: absolute;
        bottom: 10%;
        right: -200px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(240, 147, 251, 0.08), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

/* ---------- Content (Left) ---------- */
.why-content {
    padding: 1rem 2rem 1rem 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(240, 147, 251, 0.12));
    color: #764ba2;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.section-title {
    color: #1a1a3e;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

    .section-title .highlight {
        background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.section-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ---------- Feature Grid 2×2 ---------- */
.why-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.why-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .why-feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.2);
    }

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

    .feature-icon-box.quality {
        background: linear-gradient(135deg, #667eea, #764ba2);
    }

    .feature-icon-box.technicians {
        background: linear-gradient(135deg, #4facfe, #00f2fe);
    }

    .feature-icon-box.support {
        background: linear-gradient(135deg, #25d366, #128c7e);
    }

    .feature-icon-box.warranty {
        background: linear-gradient(135deg, #ffd93d, #ff6b6b);
    }

.why-feature-item:hover .feature-icon-box {
    transform: rotate(8deg) scale(1.08);
}

.feature-info h5 {
    color: #1a1a3e;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.feature-info p {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
}

/* ---------- Bonus List ---------- */
.why-bonus-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: 14px;
    border-left: 4px solid #667eea;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

    .bonus-item i {
        color: #28a745;
        font-size: 1rem;
        flex-shrink: 0;
    }

/* ---------- Actions ---------- */
.why-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .why-actions .btn {
        display: inline-flex;
        align-items: center;
        padding: 0.85rem 2rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        text-decoration: none;
    }

    .why-actions .btn-primary {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #ffffff;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
    }

        .why-actions .btn-primary:hover {
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(102, 126, 234, 0.55);
        }

    .why-actions .btn-outline-primary {
        background: transparent;
        color: #667eea;
        border-color: #667eea;
    }

        .why-actions .btn-outline-primary:hover {
            background: #667eea;
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(102, 126, 234, 0.35);
        }

/* ---------- Visual (Right) ---------- */
.why-visual {
    position: relative;
    padding: 2rem 0 2rem 2rem;
    min-height: 600px;
}

.why-image-main {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    z-index: 2;
}

    .why-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .why-image-main:hover img {
        transform: scale(1.05);
    }

.why-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 50%, rgba(240, 147, 251, 0.08) 100%);
    pointer-events: none;
}

/* ---------- Floating Badges ---------- */
.why-float-badge {
    position: absolute;
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 4;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-top {
    top: 1rem;
    right: 0;
    animation-delay: 0s;
}

.badge-bottom {
    bottom: 1rem;
    left: 0;
    animation-delay: 2s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.35);
}

.badge-top .badge-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.badge-bottom .badge-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .badge-text strong {
        color: #1a1a3e;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .badge-text span {
        color: #6c757d;
        font-size: 0.75rem;
        font-weight: 500;
    }

/* ---------- Decorative Dots ---------- */
.why-accent-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.dot-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    left: -20px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
}

.dot-2 {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -20px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.15), transparent 70%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .why-content {
        padding-right: 1rem;
    }

    .why-visual {
        padding-left: 1rem;
    }
}

@media (max-width: 991.98px) {
    .why-choose-section {
        padding: 4rem 0;
    }

    .why-content {
        padding: 1rem 0;
    }

    .why-visual {
        padding: 2rem 0;
        min-height: auto;
    }

    .why-image-main {
        height: 480px;
    }

    .badge-top {
        top: 1rem;
        right: 1rem;
    }

    .badge-bottom {
        bottom: 1rem;
        left: 1rem;
    }
}

@media (max-width: 767.98px) {
    .why-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .why-image-main {
        height: 400px;
    }

    .why-actions {
        flex-direction: column;
    }

        .why-actions .btn {
            width: 100%;
            justify-content: center;
        }
}

@media (max-width: 575.98px) {
    .why-image-main {
        height: 340px;
    }

    .why-float-badge {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        border-radius: 12px;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .badge-text strong {
        font-size: 0.9rem;
    }

    .badge-text span {
        font-size: 0.65rem;
    }

    .why-bonus-list {
        padding: 1rem 1.25rem;
    }

    .bonus-item {
        font-size: 0.85rem;
    }
}
