/* Navigation Bar */
.navbar {
    font-family: 'Oswald', sans-serif;
    position: fixed;
    top: 0%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    display: flex;
    justify-content: space-between; /* Creates space between center links and email */
    align-items: center;
    height: 80px;
    z-index: 10;
}
.logo {
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 11;
 }
 
 .logo img {
    height: 80px;
    width: 70px;
    object-fit: contain;
 }

/* Center Navigation Links */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
}

.nav-center a {
    color: #ebebeb;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    transition: transform 0.1s ease, color 0.2s ease, text-shadow 0.2s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.nav-center a:hover {
    color: #ccc;
    transform: scale(1.1);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.nav-center .nav-link.active {
    font-weight: bold;
    color: #FFD700;
    border-bottom: 2px solid #FFD700;
}

/* Contact Email */
.contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    height: 100%;
    right: 40px;
    position: absolute;
}

.contact-email .email-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ebebeb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email i {
    color: #FFD700;
    font-size: 14px;
    opacity: 0.9;
    transition: color 0.2s ease;
}

.email-text {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    transition: color 0.2s ease;
}

/* Hover Effects */
.contact-email .email-link:hover {
    color: #FFD700;
}

.contact-email .email-link:hover i {
    color: #FFD700;
}

.contact-email .email-link:hover .email-text {
    color: #FFD700;
}

/* Mobile Responsive */
@media (max-width: 768px) {

     .navbar {
        padding: 25px 30px;
        justify-content: center;
        height: 60px; /* Reduced height for mobile */
    }
    .logo {
        position: fixed;
        top: 5px;
        left: 5px;
        z-index: 11;
     }
    .logo img {
        height:40px;
        width: 40px;
        object-fit: contain;
     }

    .nav-center {
        gap: 12px; /* Reduced gap between menu items */
    }

    .nav-center a {
        font-size: 15px; /* Slightly smaller font */
    }

    .contact-email {
        position: absolute;
        right: 25px;
        height: auto;
        z-index: 999; /* Ensure it's on top */
    }

    .email-text {
        display: none;
    }

    .contact-email .email-link {
        padding: 8px;
    }
}