﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    direction: rtl;
}

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    background-color: #4169e1; /* آبی درباری */
    overflow: hidden;
}

    /* لایه ستاره‌ها */
    .hero::before, .hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(#39FF14 1px, transparent 1px);
        background-size: 100px 100px;
        animation: twinkle 3s infinite ease-in-out alternate;
        opacity: 0.7;
    }

    /* لایه دوم برای عمق بیشتر ستاره‌ها */
    .hero::after {
        background-size: 60px 60px;
        animation-duration: 5s;
        opacity: 0.5;
    }
header.navbar {
    font-family: yekan, 'Times New Roman', Times, serif;
    color: #4169e1;
}

    header.navbar .navbar-brand,
    header.navbar .nav-link,
    header.navbar .btn {
        font-family: inherit; /* استفاده از همان فونت هدر */
        color: #4169e1 !important; /* برای اطمینان از رنگ لینک‌ها */
    }

        /* برای تغییر رنگ لینک‌های فعال یا هاور */
        header.navbar .nav-link.active,
        header.navbar .nav-link:hover {
            color: #4169e1;
        }


/* انیمیشن چشمک‌زدن ستاره‌ها */
@keyframes twinkle {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

    .hero h1, .hero p {
        color: #fff;
    }

/* کارت‌ها */
.card-title {
    color: var(--calm-blue);
    font-weight: bold;
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
}
/* منو hover */
.navbar-nav .nav-link:hover {
    color: #50E3C2; /* سبز فسفری مثل رنگ دکمه */
    transition: 0.3s;
}

    /* وقتی منو hover شد، دکمه رزرو هم کمی روشن شود */
    .navbar-nav .nav-link:hover ~ .btn {
        background-color: #4A90E2; /* آبی اصلی برای تغییر جزئی */
    }

/* دکمه رزرو hover */
.navbar-nav .btn:hover {
    background-color: #4169e1; /* آبی درباری */
    color: #fff;
    transition: 0.3s;
}
/* لوگو دایره‌ای */
.logo-circle {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .logo-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

/* منو */
.navbar-nav .nav-link {
    color: #333;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

    /* افکت hover روی لینک‌ها */
    .navbar-nav .nav-link:hover {
        color: #fff;
        background-color: #50E3C2; /* سبز فسفری */
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

/* دکمه رزرو */
.btn-reserve {
    background-color: #50E3C2;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}

    /* دکمه رزرو hover */
    .btn-reserve:hover {
        background-color: #4169e1; /* آبی درباری */
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    }

/* ریسپانسیو */
@media (max-width: 768px) {
    .header-left img {
        height: 40px;
        width: 40px;
    }

    .header-right h3 {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }

    .navbar-nav .btn-reserve {
        width: 100%;
        margin-top: 10px;
    }
}

