/* ==========================================================================
   Dual Sidebar - Left "Get in Touch" & Right Social Media
   Navy Blue (#1a1a2e) & Gold (#ffd700) Theme
   ========================================================================== */

/* ==========================================================================
   LEFT SIDEBAR - GET IN TOUCH BUTTON
   ========================================================================== */

.sidebar-left {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
}

.sidebar-left-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 14px;
    /* background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%); */
    background: rgb(212, 4, 4);
    border: none;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    box-shadow:
        4px 0 20px rgba(26, 26, 46, 0.4),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid #dc3545;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on button */
.sidebar-left-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.15), transparent);
    transition: left 0.5s ease;
}

.sidebar-left-btn:hover::before {
    left: 100%;
}

.sidebar-left-btn i {
    font-size: 18px;
    color: #ffffff;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(220, 53, 69, 0.4));
}

.sidebar-left-btn .btn-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    font-weight: 1000;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    word-spacing: 5px;
    transition: all 0.3s ease;
    transform: rotate(180deg);
}

.sidebar-left-btn:hover {
    background: linear-gradient(145deg, #dc3545 0%, #c82333 50%, #dc3545 100%);
    box-shadow:
        6px 0 30px rgba(220, 53, 69, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
    border-left-color: #ffffff;
}

.sidebar-left-btn:hover i {
    color: #ffffff;
    transform: rotate(-15deg) scale(1.1);
}

.sidebar-left-btn:hover .btn-text {
    color: #ffffff;
}

/* Pulse animation for attention */
@keyframes pulse-left {

    0%,
    100% {
        box-shadow:
            4px 0 20px rgba(26, 26, 46, 0.4),
            0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    50% {
        box-shadow:
            4px 0 25px rgba(26, 26, 46, 0.5),
            0 0 0 8px rgba(220, 53, 69, 0);
    }
}

.sidebar-left-btn {
    animation: pulse-left 3s ease-in-out infinite;
}

.sidebar-left-btn:hover {
    animation: none;
}

/* ==========================================================================
   RIGHT SIDEBAR - SOCIAL MEDIA ICONS (ALWAYS VISIBLE)
   ========================================================================== */

.sidebar-right {
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    z-index: 1040;
    /* background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%); */
    background: rgb(212, 4, 4);

    border-radius: 12px 0 0 12px;
    padding: 16px 10px;
    box-shadow:
        -4px 0 25px rgba(26, 26, 46, 0.5),
        inset 1px 0 0 rgba(220, 53, 69, 0.2);
    border-right: 3px solid #dc3545;
}

.social-icons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Individual Social Icon */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Hover glow effect */
.social-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::after {
    opacity: 1;
}

/* Platform-Specific Colors with Gradients */
.social-icon.fb {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bd9 100%);
    box-shadow: 0 3px 12px rgba(24, 119, 242, 0.4);
}

.social-icon.fb:hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.social-icon.ig {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    box-shadow: 0 3px 12px rgba(221, 42, 123, 0.4);
}

.social-icon.ig:hover {
    box-shadow: 0 6px 20px rgba(221, 42, 123, 0.6);
}

.social-icon.tw {
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.social-icon.tw:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.social-icon.yt {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    box-shadow: 0 3px 12px rgba(255, 0, 0, 0.4);
}

.social-icon.yt:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.social-icon.ln {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
    box-shadow: 0 3px 12px rgba(0, 119, 181, 0.4);
}

.social-icon.ln:hover {
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.6);
}

.social-icon.wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4);
}

.social-icon.wa:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Hover Transform Effects */
.social-icon:hover {
    transform: scale(1.12) translateX(-4px);
}

.social-icon:hover i {
    animation: icon-bounce 0.4s ease;
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablets - Smaller sizing */
@media (max-width: 1199.98px) {
    .sidebar-left-btn {
        padding: 14px 10px;
        gap: 8px;
    }

    .sidebar-left-btn i {
        font-size: 18px;
    }

    .sidebar-left-btn .btn-text {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .sidebar-right {
        padding: 12px 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .social-icons-container {
        gap: 10px;
    }
}

/* Mobile - Bottom Bar Layout */
@media (max-width: 767.98px) {

    /* Left Sidebar - Bottom Left */
    .sidebar-left {
        left: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .sidebar-left-btn {
        flex-direction: row;
        padding: 12px 16px;
        gap: 8px;
        border-radius: 50px;
        border-left: none;
        border-bottom: 3px solid #dc3545;
    }

    .sidebar-left-btn .btn-text {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .sidebar-left-btn:hover {
        transform: translateY(-3px);
    }

    /* Right Sidebar - Bottom Right */
    .sidebar-right {
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        border-radius: 50px;
        padding: 10px 14px;
        border-right: none;
        border-bottom: 3px solid #dc3545;
    }

    .social-icons-container {
        flex-direction: row;
        gap: 10px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 50%;
    }

    .social-icon:hover {
        transform: scale(1.15) translateY(-3px);
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .sidebar-left-btn {
        padding: 10px 12px;
    }

    .sidebar-left-btn i {
        font-size: 16px;
    }

    .sidebar-left-btn .btn-text {
        font-size: 9px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .social-icons-container {
        gap: 8px;
    }

    .sidebar-right {
        padding: 8px 10px;
    }
}

/* Print - Hide sidebars */
@media print {

    .sidebar-left,
    .sidebar-right {
        display: none !important;
    }
}