/* PKK Navigation Styling */
:root {
    --pkk-teal: #008080;
    --pkk-navy: #000080;
    --pkk-gold: #FFD700;
    --pkk-light: #f8f9fa;
    --pkk-dark: #333;
}

.pkk-main-nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    align-items: center;
}

/* Parent Link */
.pkk-nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--pkk-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pkk-nav-link:hover {
    color: var(--pkk-teal);
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Parent List Item */
.pkk-nav-parent {
    position: relative;
}

/* Dropdown Menu - Desktop Hover */
.pkk-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none; /* hidden by default */
    min-width: 240px;
    padding: 0.5rem 0;
    margin: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    border-top: 4px solid var(--pkk-teal);
    animation: fadeIn 0.3s ease;
}

/* Dropdown Link */
.pkk-dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--pkk-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

.pkk-dropdown-link:last-child {
    border-bottom: none;
}

.pkk-dropdown-link:hover {
    background-color: var(--pkk-teal);
    color: #ffffff;
    padding-left: 25px; /* Subtle slide effect */
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .pkk-nav-parent:hover .pkk-dropdown-menu {
        display: block;
    }
    .pkk-nav-parent:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Mobile Accordion */
@media (max-width: 991px) {
    .pkk-main-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .pkk-nav-parent {
        width: 100%;
    }
    
    .pkk-nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .pkk-dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: var(--pkk-light);
        border-left: 3px solid var(--pkk-gold);
        margin-left: 10px;
        display: none;
        animation: none;
    }
    
    .pkk-nav-parent.active-mobile .pkk-dropdown-menu {
        display: block;
    }
    
    .pkk-nav-parent.active-mobile .dropdown-arrow {
        transform: rotate(180deg);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
