/* Navbar */

*
{
    font-family: 'Playfair Display', serif;
}
nav {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(15px);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Added for better alignment on larger screens */
    margin: 0 auto; /* Center the container */
}

/* Logo Image Styling */

/* Default Nav Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: #5C191B;
    color: #FFD700;
    transform: translateY(-2px);
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #FF4500; /* Add hover effect for better interactivity */
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        position: absolute;
        top: 70px; /* Adjusted for better spacing */
        left: 0;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        z-index: 999; /* Ensure it appears above other content */
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        display: block;
        padding: 12px;
        font-size: 18px;
        width: 100%;
    }

    nav ul.show {
        display: flex;
    }
}
.rates {
    display: flex;
    gap: 20px;
    margin-left: -130px;
    align-items: center;
    padding: 5px 15px;
    border-radius: 8px;
    background: #5C191B;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    font-weight: bold;
    font-size: 14px;
    color: #FFD700; /* Gold color */
    transition: all 0.3s ease-in-out;
}

.rates label {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.rates span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    color: #ddd;
}

.rates span#gold-rate {
    color: #FFD700; /* Gold color */
}

.rates span#silver-rate {
    color: #C0C0C0; /* Silver color */
}

.rates span::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#gold-rate::before {
    content: "\f3d1"; /* Gold coin icon */
    color: #FFD700;
}

#silver-rate::before {
    content: "\f3d2"; /* Silver coin icon */
    color: #C0C0C0;
}

.rates:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}
