/* Sidebar Styles */

/* Widget Block */
.widget-block {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget-block:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Widget Block Title */
.widget-block-title {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.widget-block-title h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.widget-block-title h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    background: linear-gradient(to bottom, #0a3d62, #3a7bd5);
    border-radius: 3px;
}

/* Widget Block Body */
.widget-block-body {
    padding: 15px 20px;
}

/* Categories Block */
.categories-block {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-block li {
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.categories-block li:last-child {
    border-bottom: none;
}

.categories-block li a {
    display: block;
    padding: 10px 0;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.categories-block li a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3a7bd5;
    opacity: 0;
    transition: all 0.3s ease;
}

.categories-block li a:hover {
    color: #3a7bd5;
    padding-left: 25px;
    text-decoration: none;
}

.categories-block li a:hover::before {
    opacity: 1;
    left: 5px;
}

/* "TÜM" buttons */
.categories-block li:last-child a {
    background: linear-gradient(to right, #0a3d62, #3a7bd5);
    color: #fff;
    border-radius: 5px;
    padding: 8px 15px;
    margin: 5px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(10, 61, 98, 0.2);
    transition: all 0.3s ease;
}

.categories-block li:last-child a:hover {
    background: linear-gradient(to right, #3a7bd5, #0a3d62);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 61, 98, 0.3);
    padding-left: 15px;
}

.categories-block li:last-child a::before {
    display: none;
}

/* Social Icons Block */
.social-icons-block.icons-style-1 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-icons-block.icons-style-1 ul li {
    margin: 0;
}

.social-icons-block.icons-style-1 ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, #0a3d62, #3a7bd5);
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(10, 61, 98, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icons-block.icons-style-1 ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.social-icons-block.icons-style-1 ul li a:hover::before {
    left: 100%;
}

.social-icons-block.icons-style-1 ul li a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(10, 61, 98, 0.3);
}

.social-icons-block.icons-style-1 ul li a i:first-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-icons-block.icons-style-1 ul li a i:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-icons-block.icons-style-1 ul li a:hover i:first-child {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.social-icons-block.icons-style-1 ul li a:hover i:last-child {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .widget-block {
        margin-bottom: 20px;
    }
    
    .widget-block-title h6 {
        font-size: 15px;
    }
    
    .categories-block li a {
        font-size: 13px;
        padding: 8px 0 8px 18px;
    }
}

@media (max-width: 767px) {
    .main-sidebar {
        margin-top: 30px;
    }
}
