﻿@import url("../main-colors.css");
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap");

* {
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl;
    background-color: var(--light-background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* هدر حرفه‌ای */
.custom-navbar {
    background: var(--secondary-color) !important;
    padding: 1rem 0 !important;
    min-height: 120px;
}

/* لوگو — کاملاً کنترل شده و کوچیک */
.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
}

.logo-img {
    height: 100px !important;
    width: auto !important;
    max-width: 145px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease !important;
}

    .logo-img:hover {
        transform: translateY(-2px) scale(1.05) !important;
    }

/* منوی اصلی */
.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    padding: 0.6rem 1.3rem !important;
    position: relative;
    transition: all 0.3s;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--dark-color) !important;
    }

    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 4px;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--secondary-color);
        transition: all 0.3s;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 65%;
    }

/* موبایل */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 0.8rem 0 !important;
    }

    .logo-img {
        height: 42px !important;
        max-width: 120px !important;
    }

    .navbar-nav {
        background: var(--primary-color);
        margin-top: 1rem;
        border-radius: 12px;
        padding: 1rem 0;
    }

    .nav-link {
        text-align: center;
        padding: 1rem !important;
    }
}

/* فوتر */
.custom-footer {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

    /* 💡 تنظیم رنگ متن داخل فوتر به سفید یا رنگی روشن */
    .custom-footer a,
    .custom-footer p,
    .custom-footer .text-muted,
    .custom-footer .footer-color {
        color: var(--white) !important;
    }

    /* 💡 رنگ باکس تماس را سفید (یا رنگ روشن) کنید */
    .custom-footer .contact-box {
        background-color: var(--secondary-color) !important; /* یا هر رنگ روشنی که می‌خواهید */
        border: 2px solid var(--secondary-color) !important; /* مرز آن را به رنگ اصلی برگردانید */
        color: var(--text-color) !important; /* رنگ متن باکس را تیره کنید */
    }

.text-primary {
    color: var(--text-color) !important;
}

.footer-color {
    color: var(--white) !important;
}
