﻿/* =========================
    NAVBAR
========================= */

.navbar-wrapper {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    z-index: 999;
    transition: all .45s ease;
}

    .navbar-wrapper.scrolled {
        width: 70%;
        top: 30px;
    }

/* GLASS BAR */
/*background: rgba(61, 10, 8, 0.158);*/
.navbar {
    display: flex;
    align-items: center; /* مهم: هم‌تراز شدن پایین‌ها */
    justify-content: space-between;
    padding: 18px 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.089);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    position: relative;
    overflow: visible;
    padding-left: 120px; /* جا برای لوگوی بیرون زده */
}

/* =========================
    LOGO (NO BORDER + FLOAT)
========================= */

.logo-container {
    position: absolute;
    left: -25px; /* بیرون از navbar */
    top: -51px;
    padding-top: 25px;
}

/* لوگو بدون فریم */
.logo-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: none; /* حذف فریم */
    border-radius: 0;
    background: transparent;
}


/* TEXT LOGO */
.logo img {
    width: 140px;
    height: auto;
}

/* =========================
    MENU
========================= */

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 15px;
    }

/* =========================
    BUTTON
========================= */

.nav-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 14px;
    background: rgb(255, 255, 255, 0.12);
    color: white;
    cursor: pointer;
}

/* =========================
    CONTENT
========================= */

.section {
    min-height: 100vh;
    padding: 100px;
    color: white;
}

/* =========================
    RESPONSIVE
========================= */

@media(max-width:900px) {

    .logo-image {
        width: 95px;
        height: 95px;
    }

    .navbar {
        padding-left: 90px;
    }
}




@keyframes scatter {
    0% {
        letter-spacing: normal;
        opacity: 1;
    }

    50% {
        letter-spacing: 10px;
        opacity: 0.7;
    }

    100% {
        letter-spacing: normal;
        opacity: 1;
    }
}

.swal-scatter-text {
    animation: scatter 2s ease-in-out infinite !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #6366f1 !important;
    margin-bottom : 2rem;
}





