/* fast-info.css */

.fast-info {
    position: fixed;
    width: 100%;
    min-height: 600px;
    height: 100vh;
    overflow: hidden;
    top: 0px;
}

.fast-info-container {
    position: relative;
    margin: 0 auto;
    padding: 60px 20px;
    padding-top: 30vh;
    height: 100%;
}

.fast-info-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin: auto;
    z-index: 1;
}

.fast-info-image-section {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-logos {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    opacity: 0.8;
    transition: opacity 0.3s;
}

.floating-logo:hover {
    opacity: 1;
}

/* توزیع دایره‌ای لوگوها دور صفحه */
.logo-1 {
    top: 8%;
    left: 15%;
    animation: float-1 6s ease-in-out infinite;
}

.logo-2 {
    top: -10%;
    right: 20%;
    animation: float-2 7s ease-in-out infinite;
}

.logo-3 {
    top: 25%;
    right: 5%;
    animation: float-3 5.5s ease-in-out infinite;
}

.logo-4 {
    top: 50%;
    left: 3%;
    animation: float-4 6.5s ease-in-out infinite;
}

.logo-5 {
    top: 75%;
    right: 8%;
    animation: float-5 7.5s ease-in-out infinite;
}

.logo-6 {
    top: 100%;
    left: 50%;
    animation: float-6 6.2s ease-in-out infinite;
}

.logo-7 {
    top: 75%;
    left: 10%;
    animation: float-7 5.8s ease-in-out infinite;
}

.logo-8 {
    top: 50%;
    left: 3%;
    animation: float-1 7s ease-in-out infinite; /* استفاده مجدد از float-1 با سرعت متفاوت */
}

@media (max-width: 768px) {
    .logo-1 {
        top: 3%;
        left: -8%;
    }

    .logo-2 {
        top: -14%;
        right: -6%;
    }

    .logo-3 {
        top: 22%;
        right: -12%;
    }

    .logo-4 {
        top: 48%;
        left: -14%;
    }

    .logo-5 {
        top: 78%;
        right: -12%;
    }

    .logo-6 {
        top: 108%;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo-7 {
        top: 82%;
        left: -10%;
    }

    .logo-8 {
        top: 52%;
        left: -16%;
    }
}


/* انیمیشن‌های شناور با حرکت واضح‌تر */
@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -15px) rotate(5deg); }
    50% { transform: translate(-10px, -25px) rotate(-3deg); }
    75% { transform: translate(15px, -18px) rotate(4deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, 20px) rotate(-5deg); }
    50% { transform: translate(10px, 30px) rotate(3deg); }
    75% { transform: translate(-12px, 22px) rotate(-4deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(25px, 15px) rotate(5deg); }
    66% { transform: translate(-15px, 28px) rotate(-5deg); }
}

@keyframes float-4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(-20px, -20px) rotate(-4deg); }
    60% { transform: translate(15px, -28px) rotate(5deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-10px, 22px) rotate(4deg); }
    40% { transform: translate(15px, 32px) rotate(-5deg); }
    60% { transform: translate(-18px, 26px) rotate(4deg); }
    80% { transform: translate(10px, 15px) rotate(-3deg); }
}

@keyframes float-6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(18px, -12px) rotate(-4deg); }
    50% { transform: translate(-12px, -22px) rotate(4deg); }
    75% { transform: translate(10px, -16px) rotate(-3deg); }
}

@keyframes float-7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(-15px, 12px) rotate(4deg); }
    60% { transform: translate(12px, 25px) rotate(-4deg); }
}

.profile-image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    /* border: 4px solid var(--color-site); */
    box-shadow: 0 0 40px rgba(17, 155, 218, 0.4);
    animation: profile-pulse 3s ease-in-out infinite;
}

@keyframes profile-pulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(17, 155, 218, 0.4);
    }
    50% {
        box-shadow: 0 0 60px rgba(17, 155, 218, 0.6);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fast-info-text-section {
    flex: 1;
    animation: fade-in-up 1s ease-out;

    direction: rtl;
    margin-right: 20px;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fast-info-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.fast-info-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-site);
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.fast-info-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.8;
    padding-top: 20px;
}

@media (max-width: 968px) {
    .fast-info-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .profile-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .floating-logo {
        width: 50px;
        height: 50px;
    }

    .fast-info-title {
        font-size: 2rem;
    }

    .fast-info-subtitle {
        font-size: 1.3rem;
    }

    .fast-info-description {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .fast-info-container {
        padding: 15vh 16px;
    }

    .profile-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .floating-logo {
        width: 40px;
        height: 40px;
    }

    .fast-info-title {
        font-size: 1.6rem;
    }

    .fast-info-subtitle {
        font-size: 1.1rem;
    }

    .fast-info-description {
        font-size: 0.95rem;
    }
}


.fast-info-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 34px;
    direction: rtl;
    flex-wrap: wrap;
}

.fast-info-btn {
    position: relative;
    isolation: isolate;
    min-width: 190px;
    height: 58px;
    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    border: none;
    outline: none;
    cursor: pointer;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    transition: transform 0.25s ease, filter 0.25s ease;
}

.fast-info-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-color: var(--color-button-orange);

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.fast-info-btn span {
    position: relative;
    z-index: 1;
}

.fast-info-btn:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.fast-info-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* دکمه سمت راست */
.fast-info-btn-skills {
    color: var(--color-text-primary);
}

.fast-info-btn-skills::before {
    background-color: var(--color-button-orange);

    -webkit-mask-image: url("../assets/png/button-bg-1.png");
    mask-image: url("../assets/png/button-bg-1.png");
}

/* دکمه سمت چپ */
.fast-info-btn-forus {
    color: var(--color-aurora-blue);
    direction: ltr;
}

.fast-info-btn-forus::before {
    background-color: #fff;

    -webkit-mask-image: url("../assets/png/button-bg-2.png");
    mask-image: url("../assets/png/button-bg-2.png");
}

@media (max-width: 968px) {
    .fast-info-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .fast-info-actions {
        gap: 14px;
        margin-top: 28px;
    }

    .fast-info-btn {
        min-width: 165px;
        height: 52px;
        padding: 0 22px;
        font-size: 0.92rem;
    }
}
