﻿body {
    background: linear-gradient(135deg, #f7d5f8 0%, #eac0f5 35%, #d8b2ff 70%, #f7d6e6 100%);
    min-height: 100vh;
    background-attachment: fixed;
    font-family: "IRANSans", sans-serif;
}


header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.header-container {
    margin: 0 auto;
    width: 90%;
    max-width: 1150px;
    padding: 12px 30px;
    border-radius: 50px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 100%;
}


.nav-center {
    
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 25px;
}

    .nav-center a {
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #4a1742;
        
        font-size: 15px;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .nav-center a:hover {
            color: #9c134a;
        }

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #9c134a !important;
}







.menu-toggle {
    display: none;
}


   






.main-container {
    margin-top: 120px;
}

@media (max-width: 768px) {

    header {
        top: 0;
    }

    .header-container {
        border-radius: 0;
        width: 100%;
        padding: 15px 20px;
    }

    nav {
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        color: #9c134a;
        cursor: pointer;
        margin-right: 10px;
    }

    .nav-center {
        display: none;
        position: absolute;
        top: 60px;
        right: 15px;
        width: 80%;
        flex-direction: column;
        background: rgba(255,255,255,0.95);
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        padding: 20px;
        gap: 12px;
        text-align: right;
        z-index: 999;
    }

        .nav-center.active {
            display: flex;
            background-color: #EEDDFF;
            width:50%;
            padding:10px;
        }

    
}


