﻿
/* =========================
   Padnovin About Section (Luxury Minimal)
========================= */

.pn-about-section {
    position: relative;
    padding: 100px 0;
}

/* =========================
   GRID
========================= */

.pn-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

/* =========================
   TEXT
========================= */

.pn-about-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: clamp(1.9rem, 2.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.5;
    color: #111827;
}

.pn-about-title-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #522474, #531f7a);
    box-shadow: 0 0 18px rgba(82, 36, 116, 0.35);
}

.pn-about-desc {
    font-size: 1rem;
    line-height: 2.3;
    color: #4b5563;
    margin-bottom: 28px;
}

/* =========================
   ACTIONS
========================= */

.pn-about-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================
   BUTTONS (clean & luxury)
========================= */

.pn-btn-solid,
.pn-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* PRIMARY BUTTON */
.pn-btn-solid {
    background: linear-gradient(135deg, #522474, #531f7a);
    color: #fff;
    box-shadow: 0 10px 30px rgba(82, 36, 116, 0.18);
}

    /* فقط کمی لیفت، بدون تغییر رنگ متن */
    .pn-btn-solid:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 38px rgba(82, 36, 116, 0.25);
        color: #fff;
    }

/* SECONDARY BUTTON */
.pn-btn-ghost {
    background: #fff;
    border: 1px solid rgba(82, 36, 116, 0.25);
    color: #522474;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

    /* هاور فقط کمی روشن‌تر و لیفت، بدون تغییر رنگ متن */
    .pn-btn-ghost:hover {
        transform: translateY(-3px);
        border-color: rgba(82, 36, 116, 0.4);
        box-shadow: 0 14px 32px rgba(82, 36, 116, 0.12);
   
    }

/* =========================
   MEDIA (NO BORDER, CLEAN LUX)
========================= */

.pn-media-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

.pn-about-image,
.pn-video-element {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* zoom subtle only */
.pn-media-card:hover .pn-about-image {
    transform: scale(1.03);
}

/* =========================
   VIDEO BUTTON (lux soft)
========================= */

.pn-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #522474;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

    .pn-video-play:hover {
        transform: scale(1.06);
        background: #fff;
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .pn-about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pn-about-image,
    .pn-video-element {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .pn-about-section {
        padding: 70px 0;
    }

    .pn-about-actions {
        flex-direction: column;
    }

    .pn-btn-solid,
    .pn-btn-ghost {
        width: 100%;
    }

    .pn-about-image,
    .pn-video-element {
        height: 280px;
    }
}
/* =========================
   Animated Title Badge
========================= */

.pn-about-title-badge {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: 0 0 12px;
    background: linear-gradient(135deg, #522474, #531f7a);
    box-shadow: 0 0 16px rgba(82, 36, 116, 0.45);
}

    /* wave 1 */
    .pn-about-title-badge::before,
    .pn-about-title-badge::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid rgba(82, 36, 116, 0.45);
        animation: pnPulse 2.2s infinite;
    }

    /* wave 2 */
    .pn-about-title-badge::after {
        animation-delay: 1.1s;
    }

    /* extra soft wave */
    .pn-about-title-badge span {
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        border: 1px solid rgba(83, 31, 122, 0.22);
        animation: pnPulseSoft 2.8s infinite;
    }

/* =========================
   KEYFRAMES
========================= */

@keyframes pnPulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    70% {
        transform: scale(3.8);
        opacity: 0;
    }

    100% {
        transform: scale(3.8);
        opacity: 0;
    }
}

@keyframes pnPulseSoft {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }

    100% {
        transform: scale(5);
        opacity: 0;
    }
}


/* جلوگیری از تغییر رنگ متن در هاور */

.pn-btn-solid,
.pn-btn-solid:hover,
.pn-btn-solid:focus,
.pn-btn-solid:active {
    color: #fff !important;
}

.pn-btn-ghost,
.pn-btn-ghost:hover,
.pn-btn-ghost:focus,
.pn-btn-ghost:active {
    color: #522474 !important;
    text-decoration: none;
}



/* =========================
   REVEAL ANIMATION
========================= */

.pn-about-text,
.pn-about-media {
    opacity: 0;
    transition: transform 1s cubic-bezier(.22,1,.36,1), opacity 1s ease;
    will-change: transform, opacity;
}

/* متن از راست */
.pn-about-text {
    transform: translateX(90px);
}

/* عکس از چپ */
.pn-about-media {
    transform: translateX(-90px);
}

/* وقتی وارد صفحه شد */
.pn-about-section.is-visible .pn-about-text,
.pn-about-section.is-visible .pn-about-media {
    opacity: 1;
    transform: translateX(0);
}