/* This is the modified CSS where I've removed the center-logo styles */

/* Modern Navbar Styling */
:root {
    --primary-color: #000000; /* Black */
    --secondary-color: #1a1a1a; /* Darker black for depth */
    --accent-color: #ffd700; /* Gold */
    --text-light: #ffffff; /* White */
    --text-dark: #000000; /* Black */
    --transition-speed: 0.3s;
    --nav-bg: rgba(0, 0, 0, 0.9); /* Black with transparency */
    --nav-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --active-glow: 0 0 15px rgba(255, 215, 0, 0.6); /* Gold glow */
}

/* Nav Container */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 2.5;
    box-shadow: var(--nav-shadow);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */


.navbar-logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: url('../image/image1.jpg') repeat-x center;
    background-size: 1000px auto; /* Controls image stretch */
    -webkit-background-clip: text;
    color: transparent;
    animation: animate 10s linear infinite;
    text-transform: uppercase;
    letter-spacing: 10px;
  }
    
  @keyframes animate {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: -1000px;
    }
  }
  
/* Navigation Menu */
.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-item {
    position: relative;
    margin-left: 1.5rem;
}

.navbar-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.navbar-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Active and Hover States */
.navbar-link:hover {
    color: var(--accent-color);
}

.navbar-item.active .navbar-link {
    color: var(--accent-color);
}

.navbar-item.active .navbar-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    box-shadow: var(--active-glow);
}

/* Mobile Menu Button */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

/* Responsive Design - Modified for mobile without centered logo */
@media screen and (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
        height: 60px;
        position: relative; /* For absolute positioning of children */
    }
    
    .navbar-logo {
        font-size: 1.4rem;
        position: absolute;
        left: 1rem;
    }
    
    /* Center logo styles removed */
    
    .navbar-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        margin-left: 0; /* Remove auto margin */
    }
    
    .navbar-menu {
        position: fixed;
        top: 60px; /* Match navbar height */
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        padding: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all var(--transition-speed) ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .navbar-menu.active {
        height: auto;
        opacity: 1;
        padding: 1rem 0;
    }
    
    .navbar-item {
        margin: 0.8rem 0;
        width: 100%;
        text-align: center;
    }
    
    .navbar-link {
        padding: 0.8rem 1rem;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        width: 80%;
        margin: 0 auto;
    }
    
    .navbar-item:last-child .navbar-link {
        border-bottom: none;
    }
    
    .navbar-item.active .navbar-link::after {
        display: none;
    }
    
    .navbar-item.active {
        background-color: rgba(255, 215, 0, 0.1);
    }
}

/* Extremely small screens */
@media screen and (max-width: 480px) {
    .navbar-container {
        height: 50px;
        padding: 0 0.8rem;
    }
    
    .navbar-logo {
        font-size: 1.2rem;
    }
    
    .navbar-toggle {
        font-size: 1.2rem;
        padding: 0.3rem;
    }
    
    .navbar-menu {
        top: 50px;
    }
    
    .navbar-link {
        font-size: 0.9rem;
        padding: 0.7rem 0.5rem;
    }
    
    .navbar-link i {
        margin-right: 0.3rem;
    }
    
    /* Center logo styles removed */
}

/* Scroll Effect */
.navbar.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Gold highlight effect for active item */
.navbar-item.active {
    position: relative;
}

.navbar-item.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: var(--active-glow);
}

/* Animation for page load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-container {
    animation: fadeIn 0.5s ease forwards;
}

.navbar-item {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.navbar-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-item:nth-child(4) { animation-delay: 0.4s; }

/* Gold pulse animation for logo */
@keyframes goldPulse {
    0% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
}

.navbar-logo span {
    animation: goldPulse 2s infinite;
}