/* css/navbar.css */

/* Navigation */
.navbar {
    background-color: rgba(18, 24, 31, 0.95);
    border-bottom: 2px solid var(--primary-accent);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container takes full width */
}

.logo {
    font-size: 24px;
    font-weight: 700;
    /* color: var(--primary-text); */ /* Color will be set by inner spans */
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    /* gap: 8px; */ /* Using margin on icon instead for spacing */
}

/* Commented out - no longer using the main image logo */
/*
.logo-image {
    height: 60px; 
    width: auto;  
    vertical-align: middle; 
}
*/

/* Style for the new icon image */
/* Reactivated for favicon */
.logo-icon-img {
    height: 48px; /* Original height */
    width: auto;
    vertical-align: middle; 
    margin-right: 5px; /* Original space between icon and text */
}

/* Container for the logo text */
/* Reactivated for text logo */
.logo-text {
    font-size: 1.8rem; /* Original font size */
    font-weight: 600; 
    line-height: 1; /* Prevent extra vertical space */
}

/* Style for "MusicBoost" part */
/* Reactivated for text logo */
.logo-text-musicboost {
    color: var(--primary-accent); /* Blue */
}

/* Style for "Grants" part */
/* Reactivated for text logo */
.logo-text-grants {
    color: var(--secondary-accent); /* Gold */
}

.logo i { /* Keep this for potential future icon use */
    color: var(--primary-accent);
}

.logo:hover {
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-links li {
    margin-left: 1.8rem;
    margin-right: 0;
}

.nav-links a {
    color: var(--primary-text);
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 5px;
    position: relative;
    font-size: 1.05rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Small Apply Now button specifically in the nav */
nav .cta-button-small {
    background-color: var(--secondary-accent);
    color: #000; /* Change back to black text */
    border-color: var(--secondary-accent);
    opacity: 1;
    transform: scale(1);
    padding: 0.7rem 1.5rem; /* Copied from original styles.css */
    /* Ensure button styles from components.css apply if needed */
    /* Inherits font-weight, border-radius from .cta-button-small in components */
}

nav .cta-button-small:hover {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-text);
    box-shadow: 0 4px 15px rgba(var(--primary-accent-rgb), 0.2);
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    /* Explicitly reset potential interfering styles */
    background: none;
    border: none;
    padding: 0; /* Remove default button padding */
    border-radius: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-text);
    position: absolute;
    transition: var(--transition);
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:last-child {
    bottom: 0;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Responsive Navigation */
@media screen and (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px; /* Adjust based on actual navbar height */
        left: 0;
        width: 100%;
        background-color: rgba(18, 24, 31, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-out;
        pointer-events: none;
    }
    
    .nav-links.active {
        clip-path: circle(1500px at 90% -10%);
        -webkit-clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
} 