﻿/* Grup Şirketleri Section Styles - Profesyonel Versiyon */
#groupCompanies {
    padding: 60px 20px;
    background: #ffffff;
    position: relative;
}

.group-companies-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    
}
/* Section Header */
.gc-section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .gc-section-header h1 {
        font-size: 2.4rem;
        color: #013a71;
        font-weight: 600;
        margin: 0;
        letter-spacing: -0.3px;
    }

/* Carousel Container */
.gc-carousel-container {
    line-height: 16px;
    position: relative;
    padding: 0 60px;
}

.gc-carousel-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.gc-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 20px;
}

/* Company Cards - Küçültülmüş ve Sadeleştirilmiş */
.gc-company-card {
    cursor: pointer;
    flex: 0 0 calc(50% - 10px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .gc-company-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-color: #013a71;
    }

/* Company Icon - Küçültülmüş */
.gc-company-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    background: #ffffff;
}

.gc-company-card:hover .gc-company-icon {
    border-color: #013a71;
}

.gc-company-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Company Name - Küçültülmüş */
.gc-company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Company Details - Sadeleştirilmiş */
.gc-company-details {
    margin-bottom: 12px;
    /* display: flex;*/
    justify-items: center;
    /*flex-direction: column;*/
    
}

.gc-detail-item {
    text-align: center;
   /* justify-content: flex-start;*/
    display: flex;
    align-content: center;
    /* justify-content: center;*/
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    
}

    .gc-detail-item:hover {
        background: #e5e7eb;
    }

    .gc-detail-item i {
        font-size: 0.9rem;
        width: 16px;
        flex-shrink: 0;
    }

    .gc-detail-item a {
        color: #4b5563 !important;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
        word-break: break-word;
    }

        .gc-detail-item a:hover {
            color: #013a71 !important;
        }

/* Company Button - Sadeleştirilmiş */
.gc-company-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #013a71;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .gc-company-button:hover {
        background: #0052a3;
        transform: translateY(-1px);
    }

/* Navigation Buttons - Küçültülmüş */
.gc-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #d1d5db;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

    .gc-carousel-nav:hover {
        background: #013a71;
        color: #ffffff;
        border-color: #013a71;
    }

.gc-prev {
    left: 10px;
}

.gc-next {
    right: 10px;
}

/* Indicators - Sadeleştirilmiş */
.gc-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.gc-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .gc-indicator:hover {
        background: #9ca3af;
    }

    .gc-indicator.gc-active {
        background: #013a71;
        width: 24px;
        border-radius: 4px;
    }

/* Masaüstünde indicator sayısını sınırla */
@media (min-width: 769px) {
    .gc-indicator:nth-child(n+3) {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gc-company-card {
        flex: 0 0 calc(50% - 10px);
    }

    .gc-carousel-container {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    #groupCompanies {
        padding: 40px 15px;
    }

    .gc-section-header h1 {
        font-size: 2rem;
    }

    .gc-company-card {
        flex: 0 0 100%;
        margin: 0 5px;
    }

    .gc-carousel-container {
        padding: 0 45px;
    }

    .gc-carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .gc-prev {
        left: 5px;
    }

    .gc-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .gc-company-card {
        flex: 0 0 calc(100% - 10px);
        padding: 20px 16px;
        margin: 0 5px;
    }

    .gc-company-name {
        font-size: 1rem;
        min-height: 45px;
    }

    .gc-company-icon {
        width: 50px;
        height: 50px;
    }

    .gc-carousel-container {
        padding: 0 40px;
    }

    .gc-detail-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}
