/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #226671;
    --secondary-color: #e58810;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #faf9f6;
}

/* ================= BANNER / BREADCRUMB ================= */
.subeler-banner {
    position: relative;
    background:
        linear-gradient(to bottom, rgba(20,30,32,0.65) 0%, rgba(20,30,32,0.45) 60%, rgba(20,30,32,0.55) 100%),
        url('../uploads/spaspor/subelerimiz/arkaplan.jpg') center center / cover no-repeat;
    padding: 11rem 0 4.5rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.subeler-banner .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.subeler-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.subeler-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
}

.subeler-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.subeler-banner .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.subeler-banner .breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.subeler-banner .breadcrumb a:hover {
    color: var(--secondary-color);
}

/* ================= ŞUBE KARTLARI GRID BÖLÜMÜ ================= */
.spa-branches-section {
    position: relative;
    padding: 6rem 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
}

.spa-branches-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- PREMIUM BAŞLIK ALANI --- */
.spa-branches-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spa-branches-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    color: #111;
}

.spa-branches-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.spa-branches-header h2 {
    font-size: 2.8rem;
    font-weight: 300;
    color: #111;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.spa-branches-header h2 span {
    font-weight: 700;
    color: var(--primary-color);
}

/* --- ŞUBELER GRID SİSTEMİ --- */
.spa-branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* --- ŞUBE KARTI (Tıklanabilir Link Yapısı) --- */
.spa-branch-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.spa-branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 102, 113, 0.1);
}

/* Görsel Alanı */
.spa-branch-img-wrapper {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.spa-branch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spa-branch-card:hover .spa-branch-img-wrapper img {
    transform: scale(1.05);
}

/* Şehir/Konum Etiketi */
.spa-branch-city {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: #111;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.spa-branch-city i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* İçerik ve Yazı Alanı */
.spa-branch-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.spa-branch-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.spa-branch-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.spa-branch-card:hover .spa-branch-title {
    color: var(--secondary-color);
}

/* Hizmet Türü ve Sosyal Medya Alanı */
.spa-branch-services {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.spa-branch-service-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.spa-branch-service-info i {
    font-size: 1.2rem;
}

/* --- SOSYAL MEDYA İKONLARI (BELİRGİN VE ŞIK TASARIM) --- */
.spa-branch-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.spa-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color); 
    color: #ffffff; 
    font-size: 1.4rem; 
    box-shadow: 0 4px 12px rgba(34, 102, 113, 0.25); 
    transition: all 0.3s ease;
    cursor: pointer;
}

.spa-social-link:hover {
    background-color: var(--secondary-color); 
    color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(229, 136, 16, 0.35);
}

.services-multi {
    line-height: 1.4;
    font-size: 0.8rem !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .subeler-banner h1 { font-size: 2.2rem; }
    .spa-branches-header h2 { font-size: 2.2rem; }
    .spa-branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .subeler-banner { padding: 8rem 0 2.5rem; }

    .spa-branches-section { padding: 4rem 0; }
    .spa-branches-header h2 { font-size: 1.9rem; }
    .spa-branches-container { padding: 0 1.5rem; }

    .spa-branch-img-wrapper { height: 200px; }
    .spa-branch-content { padding: 1.5rem; }
}