
/* ====================== */
/* SOCIAL MEDIA DOCK CSS */
/* ====================== */

.social-dock {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    height: 100vh;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.8rem;
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 16px 16px 0;
    border-right: 2px solid var(--glossy-green);
    box-shadow: 
        0 0 25px rgba(0, 255, 170, 0.3),
        inset -5px 0 15px rgba(0, 255, 170, 0.1);
    transition: all 0.3s ease;
}

.dock-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.6rem 0;
    color: var(--light-text);
    background: rgba(0, 255, 170, 0.15);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 170, 0.2);
}

.dock-item img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.dock-item i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.dock-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 170, 0.4),
        transparent
    );
    transition: all 0.6s ease;
}

.dock-item:hover {
    background: rgba(0, 255, 170, 0.25);
    transform: translateX(8px) scale(1.15);
    color: var(--glossy-green);
    box-shadow: 
        0 0 20px rgba(0, 255, 170, 0.6),
        inset 0 0 10px rgba(0, 255, 170, 0.3);
    border-color: rgba(0, 255, 170, 0.4);
}

.dock-item:hover img {
    transform: scale(1.1);
}

.dock-item:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.7);
}

.dock-item:hover::before {
    left: 100%;
}

.dock-line {
    width: 3px;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--glossy-green),
        transparent
    );
    margin: 0.8rem 0;
    opacity: 0.7;
    animation: dockLinePulse 4s infinite;
}

.dock-tooltip {
    position: absolute;
    left: calc(100% + 15px);
    background: var(--dark-grey);
    color: var(--glossy-green);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 170, 0.2);
}

.dock-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--dark-grey);
}

.dock-item:hover .dock-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
@keyframes dockLinePulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Hover effect on entire dock */
.dock-container:hover {
    background: rgba(10, 10, 18, 0.85);
    box-shadow: 
        0 0 30px rgba(0, 255, 170, 0.4),
        inset -5px 0 20px rgba(0, 255, 170, 0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .dock-container {
        padding: 1rem 0.6rem;
        border-radius: 0 12px 12px 0;
    }
    
    .dock-item {
        width: 42px;
        height: 42px;
        margin: 0.5rem 0;
    }
    
    .dock-item img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .social-dock {
        display: none;
    }
}

/* Active state for when menu is open */
.dock-container.active {
    transform: translateX(0);
}