/* Navigation CSS - navigation.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: orange;
    text-decoration: none;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-link:hover {
    color: #764ba2;
    background: rgba(118, 75, 162, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #764ba2;
    background: rgba(118, 75, 162, 0.15);
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(118, 75, 162, 0.1);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #555;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(118, 75, 162, 0.08);
    color: #764ba2;
    border-left-color: #764ba2;
    padding-left: 1.8rem;
}

.dropdown-section {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.dropdown-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dropdown-title {
    font-size: 0.85rem;
    font-weight: bold;
    color: #764ba2;
    padding: 0.5rem 1.5rem 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: black;
    border: 2px solid #764ba2;
}

.btn-secondary:hover {
   transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}


/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #764ba2;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile hamburger animation */
.mobile-active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Body padding for fixed navbar */
body {
    padding-top: 80px;
}

/* Scroll behavior for navbar */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
        padding: 0 2rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0.5rem 1rem;
        border-radius: 8px;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-title {
        font-size: 0.8rem;
        padding: 0.75rem 1rem 0.25rem;
    }

    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .cta-buttons {
        padding: 0 1rem;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.dropdown-item:focus {
    outline: 2px solid #764ba2;
    outline-offset: 2px;
}

/* Animation for dropdown items */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item:hover .dropdown .dropdown-item {
    animation: slideInDown 0.3s ease forwards;
}

.nav-item:hover .dropdown .dropdown-item:nth-child(2) {
    animation-delay: 0.05s;
}

.nav-item:hover .dropdown .dropdown-item:nth-child(3) {
    animation-delay: 0.1s;
}

.nav-item:hover .dropdown .dropdown-item:nth-child(4) {
    animation-delay: 0.15s;
}

/* Loading state */
.navbar.loading {
    opacity: 0.7;
}

/* Print styles */
@media print {
    .navbar {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
}
