/**
 * Services Section Button Fix
 * Tüm Hizmetlerimiz buton tasarımı
 */

/* Services button container */
.visa.type .xb-service-view-all {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
}

/* Theme button style */
.visa.type .theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #ff5e14 0%, #ff7a3d 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 20, 0.3);
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.visa.type .theme-btn:hover {
    background: linear-gradient(135deg, #ff7a3d 0%, #ff5e14 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 20, 0.4);
    color: #ffffff;
}

/* Icon animation */
.visa.type .theme-btn i {
    transition: transform 0.3s ease;
}

.visa.type .theme-btn:hover i {
    transform: translateX(5px);
}

/* Button ripple effect */
.visa.type .theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.visa.type .theme-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Alternative button style - outline */
.visa.type .theme-btn.btn-outline {
    background: transparent;
    border: 2px solid #ff5e14;
    color: #ff5e14;
    box-shadow: none;
}

.visa.type .theme-btn.btn-outline:hover {
    background: #ff5e14;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 94, 20, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .visa.type .xb-service-view-all {
        margin-top: 40px;
    }
    
    .visa.type .theme-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Services grid - ensure 3 columns */
.visa.type .row {
    margin-left: -15px;
    margin-right: -15px;
}

.visa.type .col-lg-4 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Service cards equal height */
.visa.type .xb-service {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visa.type .xb-service .xb-item--inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.visa.type .xb-service .xb-item--holder {
    flex: 1;
}

/* Service card hover effect */
.visa.type .xb-service {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visa.type .xb-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ensure 3x3 grid on desktop */
@media (min-width: 992px) {
    .visa.type .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Remove any empty column for 3-column layout */
    .visa.type .col-lg-4:empty {
        display: none;
    }
}

/* Ensure 2x grid on tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .visa.type .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Single column on mobile */
@media (max-width: 767px) {
    .visa.type .col-lg-4,
    .visa.type .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}