﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: 'va', Tahoma, sans-serif,Segoe UI;*/
    font-family: 'Vazir', sans-serif;
    background: #eceff4;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}


.main-card {
    background: #fff;

    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
}


.card-header {
    position: relative;
    width: 100%;
}

    .card-header img {
        width: 100%;
        height: auto; 
        display: block;
    }


.card-header-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

    .card-header-content h2 {
        margin: 0;
        font-size: clamp(1rem, 2vw, 1.2rem);
    }

    .card-header-content button {
        background: rgba(255, 255, 255, 0.3);
        border: none;
        color: white;
        padding: 6px 12px;
        border-radius: 8px;
        cursor: pointer;
        font-size: clamp(0.8rem, 1.8vw, 1rem);
        transition: background 0.3s;
    }

        .card-header-content button:hover {
            background: rgba(255, 255, 255, 0.5);
        }

.card-body {
    padding: 20px;
    color: #333;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

@media (max-width: 600px) {
    .card-header-content {
        padding: 14px;
       
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
   
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
}
/*.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 0 20px;
    flex-wrap: wrap;
}

    .menu .nav-logo {
        width: 180px;
        height:auto;
        padding-top:5px;
        mix-blend-mode:multiply;
    }

    .menu ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .menu li {
        margin-left: 20px;
    }

    .menu a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }
.menu a:hover {
       
        color:blue;
    }*/


/*@media (max-width: 768px) {
    .menu {
        flex-direction: column; 
        align-items: center;
    }

        .menu ul {
            flex-direction: column;
            text-align: center;
        }

        .menu li {
            margin: 10px 0;
        }
}*/



/* محتوای اصلی */
.content {
    flex: 1;
    padding: 40px;
}

/* فوتر */
.footer {
   
    background: rgba(0,27, 105,0.97);
    color: #eee;
    text-align: center;
    padding: 15px;
    border-top: 1px solid #eee;
    font-size: 18px;
}

/* ریسپانسیو */
@media(max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 10px;
        
    }

    /*.menu ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
   
    }*/

    .logo {
        width: 50px;
        height: 50px;
    }
    .footer {
        background: rgba(0,27, 105,0.97);
        color: #eee;
        text-align: center;
        padding: 15px;
        border-top: 1px solid #eee;
        font-size: 12px;
    }
    
}


@{
   ViewBag.Title = "خانه";
}
