/* ============================================
   ŞUBELER SAYFASI STIL KODLARI
   ============================================ */
.subeler-page {
  margin-top: 80px;
}
/* Breadcrumb Section */
.breadcrumb-section {
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #666;
    padding: top: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #28a745;
}

.breadcrumb-item.active {
    color: #333;
}

/* Page Header */
.page-header-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Şube Card */
.sube-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Şube Image */
.sube-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.sube-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sube-card:hover .sube-image {
    transform: scale(1.05);
}

.sube-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    font-size: 4rem;
    color: #adb5bd;
}

/* Şube Card Body */
.sube-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sube-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.sube-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Şube Card Footer */
.sube-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.sube-map-btn {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sube-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

/* Contact Info */
.sube-contact-info {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #666;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #28a745;
}

/* Harita Butonu */
.sube-card-body .btn-outline-success {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sube-card-body .btn-outline-success:hover {
    transform: none;
}

/* Harita Modal */
#mapModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

#mapModal .modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #28a745;
    padding: 1.25rem 1.5rem;
}

#mapModal .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

#mapModal .modal-subtitle {
    font-size: 0.875rem;
    color: #666;
}

.map-container {
    position: relative;
    width: 100%;
    background: #f5f5f5;
}

.map-container iframe {
    display: block;
    width: 100%;
}

.map-info {
    background: #f8f9fa;
}

.map-info i {
    font-size: 1rem;
    margin-top: 2px;
}

#mapModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#mapModal .btn-success {
    font-weight: 600;
}

#mapModal .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Contact CTA Section */
.contact-cta-section {
    border-top: 1px solid #e0e0e0;
}

.contact-cta-section h3 {
    font-weight: 700;
    color: #333;
}

.contact-cta-section .btn-success {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Empty State */
.subeler-section .text-center.py-5 {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-main-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .sube-image-wrapper {
        height: 200px;
    }

    .sube-title {
        font-size: 1.1rem;
    }

    .contact-cta-section h3 {
        font-size: 1.5rem;
    }

    /* Modal responsive */
    #mapModal .modal-dialog {
        margin: 0.5rem;
    }

    .map-container iframe {
        height: 350px !important;
    }

    #mapModal .modal-header {
        padding: 1rem;
    }

    #mapModal .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    #mapModal .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .page-main-title {
        font-size: 1.75rem;
    }

    .sube-card-body {
        padding: 1.25rem;
    }

    .map-container iframe {
        height: 300px !important;
    }
}
