/* Navigation Bar Styles */

.navbar {
    background: rgba(35, 35, 40, 0.85);
    border-bottom: 1.5px solid #ff8c00; /* Orange accent */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px; /* Increased from 70px to accommodate larger logo */
}

/* Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 75px; /* Increased from 50px to 75px (1.5x bigger) */
    width: auto;
    object-fit: contain;
}

.nav-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 10px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 140, 0, 0.2); /* Orange hover */
    color: #ff8c00;
}

.nav-menu a.active {
    color: #ff8c00; /* Orange text */
    border-bottom: 1.5px solid #ff8c00; /* Orange underline, closer to text */
    padding-bottom: 7px; /* Reduced padding to bring border closer */
}

/* Mobile Menu Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid #ff8c00;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    transition: background 0.2s ease;
}

.nav-toggle:active {
    background: rgba(255, 140, 0, 0.3);
    transform: scale(0.95);
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: #ff8c00;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 250px; /* Fixed width instead of full screen */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(32, 32, 36, 0.98); /* Opaque dark background */
        border-left: 1.5px solid #ff8c00;
        border-bottom: 1.5px solid #ff8c00;
        border-bottom-left-radius: 10px;
        box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.5);
        flex-direction: column; /* Stack vertically */
    }
    
    .nav-menu.active {
        max-height: 300px;
        padding: 10px 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-radius: 0;
        display: block;
        position: relative;
    }
    
    /* Add arrow before link text on mobile */
    .nav-menu a::before {
        content: '›';
        margin-right: 8px;
        color: #ff8c00;
        font-size: 1.3rem;
        font-weight: bold;
    }
    
    .nav-menu a.active {
        border-bottom: none;
        border-left: 4px solid #ff8c00;
        padding-left: 16px;
    }
    
    .nav-logo span {
        font-size: 1rem;
    }
    
    /* Animate hamburger to X */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Tablet Styles */
@media (max-width: 850px) {
    .nav-logo span {
        display: none; /* Hide full text on tablets, show only logo */
    }
}