﻿/* استایل کلی */
/* 1. تعریف فونت */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazirmatn-Regular.woff2') format('woff2'), url('/fonts/Vazirmatn-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}



body {
    font-family: 'Vazir', 'Vazirmatn', Tahoma, Arial, sans-serif;
    margin: 0;
    font-family: "Vazir", "Vazirmatn", Tahoma, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

.main-header {
    background: linear-gradient(135deg, #005bac, #ff7f00); /* آبی + نارنجی لوگو */
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 0 0 20px 20px; /* گوشه‌های پایین گرد */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

    .main-header h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 0.5rem;
        font-weight: 700;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

    .main-header p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        font-weight: 500;
        color: #fdfdfd;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }


.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* هدر */
.main-header {
    background: #005bac;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

    .main-header h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 0.5rem;
    }

    .main-header p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }

/* لیست اصلی */
.service-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    width: min(90%, 600px);
}

    .service-list > li {
        background: #fff;
        margin: 0.75rem 0;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        padding: 1rem;
    }

        .service-list > li:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 14px rgba(0,0,0,0.1);
            background: #f0f8ff;
        }

/* عنوان آیتم اصلی */
.service-title {
    font-weight: bold;
    text-align: center;
}

/* زیرمنو */
.sub-list {
    list-style: disc;
    padding: 0.5rem 1.5rem;
    margin-top: 0.75rem;
}

    .sub-list li {
        background: #f9f9f9;
        margin: 0.3rem 0;
        padding: 0.5rem;
        border-radius: 8px;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }



/* Navbar شخصی‌سازی شده */
.custom-navbar {
    background: linear-gradient(135deg, #005bac, #ff7f00); /* رنگ لوگو */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 15px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

    .custom-navbar .navbar-brand {
        font-weight: 700;
        font-size: clamp(1.2rem, 2.5vw, 1.8rem);
        color: #fff !important;
    }

    .custom-navbar .nav-link {
        color: #fff !important;
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        margin-right: 0.5rem;
        transition: background 0.3s, color 0.3s;
        border-radius: 8px;
        padding: 0.5rem 0.75rem;
    }

        .custom-navbar .nav-link:hover,
        .custom-navbar .nav-link.active {
            background: rgba(255,255,255,0.15);
            color: #fff !important;
        }

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ریسپانسیو خودکار با Bootstrap */
