/* Navigation Styles - Zamzoola Brand - Black Theme */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    z-index: 1001;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.logo-img {
    height: 60px;
    /* Increased from 40px */
    width: auto;
    max-width: 300px;
    /* Increased from 200px */
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-img {
        height: 48px;
        /* Increased from 32px */
        max-width: 200px;
        /* Increased from 150px */
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
        /* Increased from 28px */
        max-width: 160px;
        /* Increased from 120px */
    }
}

/* Update existing logo hover effect to work with image */
.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-cyan));
    transition: width 0.3s ease;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-red);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 68, 68, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    color: var(--primary-red);
}

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 24px;
    justify-content: space-around;
    align-items: center;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Mobile Menu - Matching Black Logo Background */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #000000;
    /* Matches logo background exactly */
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000000;
    /* Matches logo background */
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-text);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-cyan));
    transition: width 0.3s ease;
    opacity: 0.2;
    /* Slightly more visible on black background */
}

.mobile-nav-list a:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Subtle white hover on black */
    color: var(--primary-red);
    padding-left: 2rem;
}

.mobile-nav-list a:hover::before {
    width: 4px;
}

.mobile-cta {
    margin: 1rem 1.5rem;
    display: block;
    text-align: center;
}

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

    .nav-menu,
    .cta-button {
        display: none;
    }

    .mobile-menu-toggle,
    .mobile-nav-overlay,
    .mobile-menu {
        display: block;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}