﻿/* ============================================================
   SUNSHINE ENERGY - Premium Silky Gradient Blue Contact
   File: wwwroot/css/contact.css
   ============================================================ */

:root {
    --blue-deep: #0a1e5e;
    --blue-primary: #1e40af;
    --blue-secondary: #3b82f6;
    --blue-bright: #60a5fa;
    --blue-light: #93c5fd;
    --blue-soft: #dbeafe;
    --blue-bg: #f0f7ff;
    --blue-mist: #e0ecff;
    --text-dark: #0f172a;
    --text-soft: #64748b;
    --shadow-soft: 0 12px 35px -10px rgba(30, 64, 175, 0.1);
    --shadow-hover: 0 30px 55px -20px rgba(30, 64, 175, 0.28);
}

/* ============ HERO ============ */
.contact-hero {
    position: relative;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #0a1e5e 0%, #1e40af 35%, #3b82f6 65%, #0a1e5e 100%);
    background-size: 200% 200%;
    animation: silkyGradient 12s ease infinite;
    overflow: hidden;
}

@keyframes silkyGradient {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.contact-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 25%, rgba(147, 197, 253, 0.35) 0%, transparent 55%), radial-gradient(circle at 85% 75%, rgba(96, 165, 250, 0.25) 0%, transparent 55%);
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }
}

.breadcrumb-soft-contact {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

    .breadcrumb-soft-contact a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s;
    }

        .breadcrumb-soft-contact a:hover {
            color: #dbeafe;
        }

    .breadcrumb-soft-contact .sep {
        color: rgba(255, 255, 255, 0.4);
        margin: 0 10px;
    }

    .breadcrumb-soft-contact .current {
        color: #dbeafe;
        font-weight: 600;
    }

.hero-title-contact {
    font-size: 3.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-sub-contact {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.hero-divider-contact {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #dbeafe, #93c5fd, #dbeafe, transparent);
    border-radius: 3px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(147, 197, 253, 0.6);
}

.gradient-text-contact {
    background: linear-gradient(120deg, #dbeafe, #93c5fd, #dbeafe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ SECTION ============ */
.contact-soft {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 50%, #f0f7ff 100%);
}

/* ============ CONTACT METHODS ============ */
.contact-method-soft {
    background: #ffffff;
    border-radius: 26px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.05);
    position: relative;
    overflow: hidden;
}

    .contact-method-soft::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #1e40af, #3b82f6, #93c5fd);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .contact-method-soft:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
        border-color: rgba(59, 130, 246, 0.35);
    }

        .contact-method-soft:hover::before {
            opacity: 1;
        }

.method-icon-soft {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 12px 28px -8px rgba(30, 64, 175, 0.45);
    transition: all 0.3s;
}

.contact-method-soft:hover .method-icon-soft {
    transform: scale(1.08) rotate(-3deg);
    background: linear-gradient(135deg, #0a1e5e, #1e40af);
}

.contact-method-soft h5 {
    font-weight: 800;
    color: #0a1e5e;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.text-blue-soft {
    color: #1e40af;
    font-weight: 600;
}

    .text-blue-soft i {
        color: #3b82f6;
    }

/* ============ LOCATION CARDS ============ */
.location-soft-card {
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .location-soft-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }

.location-soft-header {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-soft-header-featured {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-bottom: none;
}

.location-soft-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0a1e5e;
    margin: 0;
}

.location-soft-header p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.location-soft-header-featured h4 {
    color: #ffffff;
}

.location-soft-header-featured p {
    color: rgba(255, 255, 255, 0.8);
}

.location-soft-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 1.35rem;
    box-shadow: 0 8px 18px -6px rgba(30, 64, 175, 0.25);
    flex-shrink: 0;
}

.location-soft-icon-featured {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.2);
}

.location-soft-body {
    padding: 1.5rem 1.75rem;
    flex: 1;
}

.location-soft-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .location-soft-line:last-child {
        margin-bottom: 0;
    }

    .location-soft-line > i {
        color: #3b82f6;
        font-size: 1.1rem;
        margin-top: 0.15rem;
        flex-shrink: 0;
        width: 20px;
        text-align: center;
    }

    .location-soft-line p {
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 0.15rem;
        line-height: 1.5;
    }

        .location-soft-line p.fw-semibold {
            color: #0a1e5e;
            font-weight: 700;
        }

.btn-outline-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: transparent;
    border: 1.5px solid #1e40af;
    color: #1e40af;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.3s;
}

    .btn-outline-soft:hover {
        background: linear-gradient(135deg, #1e40af, #3b82f6);
        color: #ffffff;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px -8px rgba(30, 64, 175, 0.45);
    }

/* ============ FORM CARD ============ */
.form-soft-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.form-soft-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-soft-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 12px 25px -8px rgba(30, 64, 175, 0.45);
    flex-shrink: 0;
}

.form-soft-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0a1e5e;
    margin: 0;
}

.form-soft-header p {
    font-size: 0.82rem;
    margin: 0;
}

/* ============ SOFT FLOATING INPUTS ============ */
.soft-input-contact {
    position: relative;
    margin-bottom: 0.5rem;
}

    .soft-input-contact input,
    .soft-input-contact textarea,
    .soft-input-contact select {
        width: 100%;
        padding: 1.1rem 1rem 1.1rem 2.85rem;
        font-size: 0.92rem;
        border: 1.5px solid #e2e8f0;
        border-radius: 16px;
        background: #f9fafb;
        transition: all 0.25s;
        outline: none;
        font-family: inherit;
        color: #0a1e5e;
        font-weight: 500;
        display: block;
    }

    .soft-input-contact textarea {
        resize: vertical;
        min-height: 130px;
        padding-top: 1.25rem;
    }

    .soft-input-contact select {
        appearance: none;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 16px;
        padding-right: 2.75rem;
    }

    .soft-input-contact label {
        position: absolute;
        left: 2.85rem;
        top: 1.1rem;
        color: #94a3b8;
        pointer-events: none;
        transition: all 0.2s ease;
        background: transparent;
        padding: 0 6px;
        font-size: 0.92rem;
        font-weight: 500;
        line-height: 1;
    }

    .soft-input-contact > i {
        position: absolute;
        left: 1rem;
        top: 1.15rem;
        color: #cbd5e1;
        transition: color 0.25s;
        font-size: 0.9rem;
        pointer-events: none;
    }

    .soft-input-contact textarea ~ i {
        top: 1.25rem;
    }

    .soft-input-contact input:focus ~ label,
    .soft-input-contact textarea:focus ~ label,
    .soft-input-contact select:focus ~ label,
    .soft-input-contact input:not(:placeholder-shown) ~ label,
    .soft-input-contact textarea:not(:placeholder-shown) ~ label,
    .soft-input-contact select:valid ~ label {
        top: -0.55rem;
        left: 1rem;
        font-size: 0.72rem;
        background: #ffffff;
        color: #1e40af;
        font-weight: 700;
    }

    .soft-input-contact input:focus,
    .soft-input-contact textarea:focus,
    .soft-input-contact select:focus {
        border-color: #3b82f6;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    }

        .soft-input-contact input:focus ~ i,
        .soft-input-contact textarea:focus ~ i,
        .soft-input-contact select:focus ~ i {
            color: #3b82f6;
        }

/* ============ SUBMIT ============ */
.btn-soft-submit-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
    box-shadow: 0 12px 30px -10px rgba(30, 64, 175, 0.5);
}

    .btn-soft-submit-contact:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #0a1e5e, #1e40af);
        box-shadow: 0 20px 40px -12px rgba(30, 64, 175, 0.6);
    }

/* ============ MAPS ============ */
.map-soft-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}

    .map-soft-card:hover {
        box-shadow: var(--shadow-hover);
        border-color: rgba(59, 130, 246, 0.3);
    }

.map-soft-header {
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    font-weight: 700;
    font-size: 0.85rem;
    color: #0a1e5e;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .map-soft-header i {
        color: #1e40af;
    }

.map-soft-container {
    height: 240px;
    position: relative;
}

    .map-soft-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

/* ============ WHY CHOOSE ============ */
.why-choose-soft {
    background: linear-gradient(135deg, #0a1e5e 0%, #1e40af 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: silkyGradient 10s ease infinite;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 55px -20px rgba(30, 64, 175, 0.4);
}

    .why-choose-soft::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(circle, rgba(147, 197, 253, 0.28), transparent 70%);
        pointer-events: none;
    }

    .why-choose-soft .text-center {
        position: relative;
        z-index: 1;
    }

    .why-choose-soft i.fa-sun {
        color: #93c5fd;
    }

    .why-choose-soft h2 {
        color: #ffffff;
        font-weight: 800;
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

.why-choose-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.feature-item-soft {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    z-index: 1;
}

    .feature-item-soft:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
    }

    .feature-item-soft i {
        color: #93c5fd;
        font-size: 2rem;
        margin-bottom: 0.75rem;
        display: inline-block;
        transition: all 0.3s;
    }

    .feature-item-soft:hover i {
        transform: scale(1.1) rotate(-3deg);
        color: #dbeafe;
    }

    .feature-item-soft h6 {
        color: #ffffff;
        font-weight: 800;
        font-size: 0.9rem;
        margin-bottom: 0.35rem;
    }

    .feature-item-soft small {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.75rem;
    }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .hero-title-contact {
        font-size: 2.5rem;
    }

    .form-soft-card {
        padding: 1.75rem;
    }

    .location-soft-body {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title-contact {
        font-size: 2rem;
    }

    .hero-sub-contact {
        font-size: 1rem;
    }

    .contact-hero {
        padding: 4rem 0 3rem;
    }

    .contact-method-soft {
        padding: 1.5rem 1.25rem;
    }

    .method-icon-soft {
        width: 68px;
        height: 68px;
        font-size: 1.5rem;
    }

    .location-soft-header {
        padding: 1.25rem 1.5rem;
    }

    .location-soft-body {
        padding: 1.25rem 1.5rem;
    }

    .form-soft-header h3 {
        font-size: 1.15rem;
    }

    .form-soft-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .map-soft-container {
        height: 200px;
    }

    .why-choose-soft {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

        .why-choose-soft h2 {
            font-size: 1.4rem;
        }

    .feature-item-soft {
        padding: 1.15rem 0.75rem;
    }

        .feature-item-soft i {
            font-size: 1.5rem;
        }

        .feature-item-soft h6 {
            font-size: 0.82rem;
        }
}

@media (max-width: 576px) {
    .soft-input-contact input,
    .soft-input-contact textarea,
    .soft-input-contact select {
        padding-left: 2.6rem;
    }

    .soft-input-contact label {
        left: 2.6rem;
    }
}
