/* Figma Nav Design - Group 16 */
.figma-nav {
    background: transparent;
    padding: 20px 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.figma-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.figma-logo-icon {
    width: 47.609px;
    height: 51.325px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.figma-logo-icon svg {
    width: 47.609px;
    height: 51.325px;
    flex-shrink: 0;
}

.figma-logo-text {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-weight: 700;
    font-size: 29.32px;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
}

.figma-logo-text:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* Navigation Menu */
.figma-nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.figma-nav-item {
    position: relative;
}

.figma-nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13.65px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.figma-nav-link:hover {
    color: #DE5701;
    text-decoration: none;
}

.figma-nav-link.active {
    color: #DE5701;
    font-weight: bold;
    position: relative;
}

.figma-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #DE5701;
}

/* Vertical separators between nav items */
.figma-nav-item:not(:last-child):not(:nth-last-child(1))::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #FFFFFF;
    opacity: 0.3;
}

/* Explicitly ensure the last nav item has no border */
.figma-nav-item:last-child::after {
    display: none;
    border: none;
    content: none;
}

/* Action Buttons */
.figma-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.figma-btn {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.figma-btn-primary {
    background-color: #DE5701;
    color: #F3DDD5;
}

.figma-btn-primary:hover {
    background-color: #C54E01;
    color: #F3DDD5;
    text-decoration: none;
    transform: translateY(-1px);
}

.figma-btn-secondary {
    background-color: #DE5701;
    color: #F3DDD5;
}

.figma-btn-secondary:hover {
    background-color: #C54E01;
    color: #F3DDD5;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.figma-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .figma-nav-menu {
        gap: 24px;
    }

    .figma-nav-item:not(:last-child)::after {
        right: -12px;
    }

    .figma-logo-text {
        font-size: 24px;
    }

    .figma-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .figma-mobile-toggle {
        display: block;
    }

    .figma-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 15, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        z-index: 1001;
    }

    .figma-nav-menu.active {
        display: flex;
    }

    .figma-nav-item:not(:last-child)::after {
        display: none;
    }

    .figma-nav-actions {
        display: none;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .figma-nav-actions.mobile-visible {
        display: flex;
    }

    .figma-btn {
        width: 100%;
        text-align: center;
    }

    .figma-nav-container {
        position: relative;
    }

    .figma-logo-text {
        font-size: 20px;
    }

    .figma-logo-icon {
        width: 35px;
        height: 38px;
    }

    .figma-logo-icon svg {
        width: 35px;
        height: 38px;
    }

    /* Mobile actions inside menu */
    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-actions .figma-btn {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Hide mobile actions on desktop */
@media (min-width: 769px) {
    .mobile-actions {
        display: none;
    }
}

/* Dropdown Menu Styles */
.figma-dropdown {
    position: relative;
}

.figma-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

.figma-dropdown:hover .figma-dropdown-menu {
    display: block;
}

.figma-dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.figma-dropdown-item:hover {
    background-color: #DE5701;
    color: #FFFFFF;
    text-decoration: none;
}
