/* ══════════════════════════════════════════════════════════════
   ELY'S CURE — ŞUBELERİMİZ SAYFASI STİLLERİ (branches.css)
   ══════════════════════════════════════════════════════════════ */

:root {
    --bento-navy: #13425e;
    --bento-navy-light: #2f5977;
    --bento-gold: #c9a96e;
    --bento-gold-hover: #b39359;
    --bento-bg: #f9f9f9;
    --bento-card-bg: #ffffff;
    --bento-border: rgba(194, 199, 206, 0.4);
    --bento-text-main: #1a1c1c;
    --bento-text-muted: #72787e;
}

/* ── Hero Section ── */
.branches-hero {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.branches-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.branches-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.branches-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.4) 50%, #f9f9f9 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.branches-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ── Main Section ── */
.branches-main-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 6rem 20px;
}

.branches-layout-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 40px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .branches-layout-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .img-col-7 {
        grid-column: span 7 / span 7;
    }
    .info-col-5 {
        grid-column: span 5 / span 5;
    }
}

/* ── Bento Cards ── */
.bento-card {
    background: var(--bento-card-bg);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -10px rgba(19, 66, 94, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bento-card:hover {
    box-shadow: 0 20px 40px -15px rgba(19, 66, 94, 0.2);
    transform: translateY(-3px);
    border-color: rgba(201, 169, 110, 0.3);
}

/* ── Branch Image Styling ── */
.branch-img-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    box-shadow: 0 10px 30px -10px rgba(19, 66, 94, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

@media (min-width: 992px) {
    .branch-img-wrapper {
        min-height: 500px;
    }
}

.branch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.branch-img-wrapper:hover img {
    transform: scale(1.05);
}

.branch-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bento-navy);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(19, 66, 94, 0.25);
    z-index: 10;
}

/* ── Details Formatting ── */
.details-header {
    border-bottom: 1px solid rgba(194, 199, 206, 0.4);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.details-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.12);
    color: var(--bento-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-row:hover .icon-box {
    background: var(--bento-gold);
    color: #ffffff;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

.contact-info-text .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--bento-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-info-text .value {
    font-size: 15px;
    color: var(--bento-text-main);
    line-height: 1.5;
}

.contact-info-text a.value {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-info-text a.value:hover {
    color: var(--bento-gold);
}

/* ── Button Actions ── */
.actions-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

@media (min-width: 576px) {
    .actions-footer {
        flex-direction: row;
    }
}

.btn-action-custom {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-action-custom.primary {
    background-color: var(--bento-navy);
    color: #ffffff;
    border: 1px solid var(--bento-navy);
}

.btn-action-custom.primary:hover {
    background-color: var(--bento-navy-light);
    border-color: var(--bento-navy-light);
    box-shadow: 0 6px 15px rgba(19, 66, 94, 0.2);
    transform: translateY(-1px);
}

.btn-action-custom.secondary {
    background-color: transparent;
    color: var(--bento-navy);
    border: 1.5px solid var(--bento-navy);
}

.btn-action-custom.secondary:hover {
    background-color: rgba(19, 66, 94, 0.05);
    transform: translateY(-1px);
}
