/* Navigation */
.main-nav {
    /* Remove all conflicting styles - let index.css handle everything */
}

.nav-container {
    /* Remove conflicting styles - let index.css handle positioning */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #000000; /* Black color to match index.css */
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #000000; /* Black color to match logo */
    font-weight: bold; /* Bold to match logo */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8); /* White shadow for contrast on red background */
}

.nav-link:hover,
.nav-link.active {
    background: rgba(220, 20, 60, 0.1); /* Red background to match theme */
    color: #DC143C; /* Red text color on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Hide current page link on mobile only */
@media only screen and (max-width: 768px) {
    .nav-link.current-page {
        display: none;
    }

    /* Reduce spacing between menu items by 20% on mobile */
    .nav-links {
        gap: 1.6rem; /* Reduced from 2rem (20% reduction) */
    }

    /* Prevent Webwallet from being highlighted or underlined on mobile */
    .nav-link[href*="MovieCoin-webwallet"]:hover,
    .nav-link[href*="MovieCoin-webwallet"].active {
        background: transparent;
        color: #333;
        text-decoration: none;
    }
}

/* Mobile Responsive */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 0.8rem; /* Reduced from 1rem (20% reduction) */
    }
    
    .nav-links > * {
        margin-left: 0.8rem;
    }
    
    .nav-link {
        font-size: 1.0625rem; /* 15% smaller than original 1.25rem */
        padding: 0.3rem 0.6rem;
    }
}

@media only screen and (min-width: 361px) and (max-width: 480px) {
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .nav-links {
        gap: 0.64rem; /* Reduced from 0.8rem (20% reduction) */
    }
    
    .nav-links > * {
        margin-left: 0.6rem;
    }
    
    .nav-link {
        font-size: 0.929688rem; /* 15% smaller than original 1.09375rem */
        padding: 0.25rem 0.5rem;
    }
}

@media only screen and (max-width: 360px) {
    .nav-container {
        padding: 1rem 0.8rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.48rem; /* Reduced from 0.6rem (20% reduction) */
    }
    
    .nav-links > * {
        margin-left: 0.4rem;
    }
    
    .nav-link {
        font-size: 0.863281rem; /* 15% smaller than original 1.015625rem */
        padding: 0.2rem 0.4rem;
    }
}