/* ============================================
   BRANCH SECTION STYLES
   Section: Şubelerimiz section için özel CSS
   Ön ek: branch- (diğer class'larla çakışmayı önlemek için)
   ============================================ */

/* CSS Variables */
:root {
    --branch-transition-duration: 450ms;
    --branch-transition-duration-fast: 350ms;
    --branch-transition-duration-slow: 300ms;
    --branch-popup-transition-duration: 0.7s;
    --branch-popup-easing: cubic-bezier(0.65, 0, 0.35, 1);
    --branch-main-color: #c80b0f;
    --branch-secondary-color: #1a1a1a;
}

/* Main Container */
.branch-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 450px) minmax(0, 8fr);
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    padding-left: clamp(30px, 4.1667vw + 20px, 100px);
}

@media (max-width: 768px) {
    .branch-wrapper {
        grid-template-columns: 1fr;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Branches Content - Main Container */
.branch-content {
    position: relative;
    z-index: 900;
    margin-top: auto;
    padding-top: 140px;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
    isolation: isolate;
    pointer-events: none;
}

@media (max-width: 640px) {
    .branch-content {
        padding-top: 350px;
        min-height: 100%;
    }
}

@media (min-width: 769px) {
    .branch-content {
        min-height: 100vh;
        overflow: visible;
    }
}

/* Branches Content - Inner Box */
.branch-content-box {
    max-width: 370px;
    position: relative;
    background-color: #af080c;
    pointer-events: auto;
    overflow: visible;
}

@media (min-width: 640px) {
    .branch-content-box {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        overflow: clip;
    }
}

@media (min-width: 769px) {
    .branch-content-box {
        pointer-events: auto;
        overflow: visible;
    }
}

/* Title Field */
.branch-title-field {
    width: 100%;
    max-width: 1000px;
    position: relative;
    margin-top: clamp(40px, 2.5vw + 20px, 60px);
    margin-bottom: clamp(40px, 2.5vw + 20px, 60px);
}

@media (max-width: 640px) {
    .branch-title-field {
        margin-bottom: 30px;
        margin-top: -60px;
    }
}

.branch-title-content {
    width: 100%;
    position: relative;
}

.branch-title {
    font-weight: bold;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .branch-title br {
        display: none;
    }
}

/* Search Content */
.branch-search-content {
    width: 100%;
    position: relative;
}

.branch-search {
    width: 100%;
    margin-top: auto;
    margin-left: auto;
    max-width: 500px;
}

@media (min-width: 769px) {
    .branch-search {
        margin-left: auto;
        margin-right: auto;
    }
}

.branch-search-form {
    width: 100%;
    height: max-content;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #af080c;
    border-radius: 20px;
    transition: all var(--branch-transition-duration);
}

@media (min-width: 769px) {
    .branch-search-form {
        max-width: 100%;
    }
}

.branch-search-input {
    width: 100%;
    background: transparent;
    height: 80px;
    line-height: normal;
    padding-left: 35px;
    padding-right: 75px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: normal;
    color: white;
    font-size: clamp(14px, 0.9375vw + 10px, 18px);
    transition-duration: var(--branch-transition-duration-fast);
}

.branch-search-input::placeholder {
    color: white;
    transition-duration: var(--branch-transition-duration-fast);
    font-weight: normal;
}

.branch-search-input:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 640px) {
    .branch-search-input {
        height: 60px;
        padding-left: 20px;
    }
}

.branch-search-button-wrapper {
    width: fit-content;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.branch-search-button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px;
    position: relative;
    transition-duration: var(--branch-transition-duration);
    overflow: clip;
}

@media (max-width: 640px) {
    .branch-search-button {
        width: fit-content;
    }
}

.branch-search-icon-field {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 13px;
    position: relative;
}

.branch-search-icon-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--branch-main-color);
    transform: scale(0);
    border-radius: 50%;
    z-index: -1;
    transition-duration: var(--branch-transition-duration);
}

@media (min-width: 640px) {
    .branch-search-icon-field::before {
        display: none;
    }
}

.branch-search-button:hover .branch-search-icon-field::before {
    transform: scale(1);
}

.branch-search-icon {
    font-size: clamp(10px, 0.625vw + 6px, 12px);
    height: clamp(10px, 0.625vw + 6px, 12px);
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    transition-duration: var(--branch-transition-duration);
}

@media (min-width: 640px) {
    .branch-search-button:hover .branch-search-icon {
        color: white;
    }
}

/* Branches List Content */
.branch-list-content {
    background-color: #c80b0f;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 640px) {
    .branch-list-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.branch-list-title {
    display: flex;
    width: 100%;
    gap: 15px;
}

.branch-tab-item {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.branch-tab-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.branch-tab-icon-field {
    aspect-ratio: 1;
    overflow: hidden;
    transition-duration: var(--branch-transition-duration);
    opacity: 0;
}

.branch-tab-item.branch-toggle .branch-tab-icon-field {
    opacity: 1;
}

.branch-tab-icon {
    font-size: clamp(16px, 1vw + 10px, 18px);
    height: clamp(16px, 1vw + 10px, 18px);
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    transition-duration: var(--branch-transition-duration);
}

.branch-tab-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(14px, 0.9375vw + 10px, 18px);
    transition-duration: var(--branch-transition-duration);
    font-weight: 600;
}

.branch-tab-item.branch-toggle .branch-tab-text {
    color: white;
}

.branch-tab-split {
    width: 0;
    height: 1px;
    background-color: white;
    transition-duration: var(--branch-transition-duration);
}

.branch-tab-item.branch-toggle .branch-tab-split {
    width: 100%;
}

/* Branches Locations */
.branch-locations {
    margin-top: 30px;
}

.branch-locations-title {
    font-size: clamp(18px, 1.25vw + 12px, 26px);
    font-weight: 600;
    color: white;
}

.branch-desc-box-wrapper {
    position: relative;
    width: 100%;
    max-width: 810px;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(20px, 1.25vw + 10px, 30px);
    z-index: 10;
    overflow-y: auto;
    padding-right: 32px;
    height: 14vw;
}

@media (max-width: 640px) {
    .branch-desc-box-wrapper {
        height: 200px;
    }
}

/* Scrollbar Styles */
.branch-desc-box-wrapper::-webkit-scrollbar {
    width: 2px;
}

.branch-desc-box-wrapper::-webkit-scrollbar-track {
    background: #454545;
    border-radius: 0;
}

.branch-desc-box-wrapper::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 0;
}

.branch-map-box {
    display: grid;
    grid-template-rows: 0fr;
    transition-duration: var(--branch-transition-duration);
    overflow: hidden;
    isolation: isolate;
}

.branch-map-box.branch-toggle {
    grid-template-rows: 1fr;
}

/* FAQ Wrapper */
.branch-faq-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.branch-faq-item {
    position: relative;
    z-index: 20;
    transition-duration: var(--branch-transition-duration);
}

.branch-country-title {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: clamp(10px, 0.625vw + 6px, 10px);
    padding-right: clamp(10px, 0.625vw + 6px, 10px);
    transition-duration: var(--branch-transition-duration-fast);
}

.branch-faq-item.branch-toggle .branch-country-title {
    margin-bottom: 5px;
}

.branch-country-text {
    font-size: clamp(14px, 0.9375vw + 10px, 18px);
    line-height: 1.625;
    color: white;
    font-weight: 600;
    width: 100%;
    transition-duration: var(--branch-transition-duration);
}

.branch-faq-item.branch-toggle .branch-country-text {
    color: white;
}

@media (max-width: 640px) {
    .branch-country-text br {
        display: none;
    }
}

.branch-faq-icon {
    padding: 4px;
    padding-left: 0;
    padding-right: 0;
    transition-duration: var(--branch-transition-duration);
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-faq-item.branch-toggle .branch-faq-icon {
    transform: rotate(180deg);
}

.branch-faq-icon-field {
    position: relative;
}

.branch-faq-icon i {
    color: white;
    font-size: clamp(10px, 0.625vw + 6px, 12px);
    height: clamp(10px, 0.625vw + 6px, 12px);
    display: block;
    line-height: 1;
}

.branch-faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition-duration: var(--branch-transition-duration);
}

.branch-faq-item.branch-toggle .branch-faq-content {
    grid-template-rows: 1fr;
}

.branch-overflow-wrapper {
    overflow: hidden;
    transition-duration: var(--branch-transition-duration);
}

.branch-content-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.branch-locations-list {
    padding-left: 20px;
}

.branch-location-item {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.branch-location-name {
    font-size: clamp(16px, 1vw + 10px, 18px);
    font-weight: 500;
    color: rgb(255 255 255 / 51%);
    transition-duration: var(--branch-transition-duration-fast);
    line-height: 30px;
}

.branch-location-item:hover .branch-location-name {
    color: rgba(255, 255, 255, 0.6);
}

.branch-location-item.branch-toggle .branch-location-name {
    color: white;
}

@media (min-width: 640px) {
    .branch-location-name {
        line-height: 30px;
    }
}

/* Branches Popup */
/* Base styles - Desktop için (640px ve üzeri, 768px altı değil) */
.branch-pop {
    position: absolute;
    bottom: 0;
    left: calc(100% - 70px);
    width: clamp(320px, 30.7292vw + 200px, 590px);
    max-width: 590px;
    min-width: 320px;
    height: auto;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--branch-popup-transition-duration) var(--branch-popup-easing),
                opacity var(--branch-popup-transition-duration) var(--branch-popup-easing),
                visibility var(--branch-popup-transition-duration) var(--branch-popup-easing);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    box-sizing: border-box;
}

.branch-pop.branch-toggle {
    transform: translateY(0);
}

.branch-pop.branch-pop-close {
    transform: translateY(100%);
}

/* Tablet ve Mobile (640px - 768px) */
@media (min-width: 640px) and (max-width: 768px) {
    .branch-pop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        padding-left: 30px;
        padding-right: 30px;
        background-color: rgba(255, 255, 255, 0.8);
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0);
        transition: transform var(--branch-popup-transition-duration) var(--branch-popup-easing),
                    opacity var(--branch-popup-transition-duration) var(--branch-popup-easing),
                    visibility var(--branch-popup-transition-duration) var(--branch-popup-easing);
    }

    .branch-pop.branch-toggle {
        opacity: 1;
        visibility: visible;
    }

    .branch-pop.branch-pop-close {
        opacity: 0;
        visibility: hidden;
    }
}

/* Desktop (769px ve üzeri) */
@media (min-width: 769px) {
    .branch-pop {
        position: absolute;
        bottom: 0;
        left: calc(100% - 70px);
        right: auto;
        width: clamp(320px, 70.14px + 32.491vw, 590px);
        max-width: 590px;
        min-width: 320px;
        transform: translateY(100%);
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
        padding: 0;
        margin: 0;
        background-color: transparent;
        display: block;
    }

    .branch-pop.branch-toggle {
        transform: translateY(0);
    }

    .branch-pop.branch-pop-close {
        transform: translateY(100%);
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile (640px altı) */
@media (max-width: 639px) {
    .branch-pop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        padding-left: 30px;
        padding-right: 30px;
        background-color: rgba(255, 255, 255, 0.8);
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0);
        transition: transform var(--branch-popup-transition-duration) var(--branch-popup-easing),
                    opacity var(--branch-popup-transition-duration) var(--branch-popup-easing),
                    visibility var(--branch-popup-transition-duration) var(--branch-popup-easing);
    }

    .branch-pop.branch-toggle {
        opacity: 1;
        visibility: visible;
    }

    .branch-pop.branch-pop-close {
        opacity: 0;
        visibility: hidden;
    }
}

.branch-pop-image-field {
    width: 100%;
    height: 260px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: clip;
    position: relative;
}

.branch-pop-image-field img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-pop-close-button {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 3;
    display: flex;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid white;
    background-color: white;
    width: clamp(36px, 2.25vw + 24px, 54px);
    height: clamp(36px, 2.25vw + 24px, 54px);
    transition-duration: var(--branch-transition-duration-slow);
}

.branch-pop-close-button:hover {
    border-color: var(--branch-main-color);
    background-color: var(--branch-main-color);
}

.branch-pop-close-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(36px, 2.25vw + 24px, 54px);
    height: clamp(36px, 2.25vw + 24px, 54px);
    transition-duration: var(--branch-transition-duration-slow);
}

.branch-pop-close-button:hover .branch-pop-close-inner {
    transform: rotate(90deg);
}

.branch-pop-close-line {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--branch-secondary-color);
    transition-duration: var(--branch-transition-duration-fast);
    width: clamp(14px, 0.875vw + 8px, 18px);
}

.branch-pop-close-line:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.branch-pop-close-line:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.branch-pop-close-button:hover .branch-pop-close-line {
    background-color: white;
}

.branch-pop-text-content {
    width: 100%;
    background-color: var(--branch-main-color);
    padding-left: clamp(20px, 1.25vw + 12px, 45px);
    padding-right: clamp(20px, 1.25vw + 12px, 45px);
    padding-top: clamp(10px, 0.625vw + 6px, 25px);
    padding-bottom: clamp(10px, 0.625vw + 6px, 25px);
}

@media (max-width: 640px) {
    .branch-pop-text-content {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}

.branch-pop-title-content {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.branch-pop-title {
    font-size: clamp(18px, 1.25vw + 12px, 26px);
    font-weight: 600;
    color: white;
}

.branch-pop-button-field {
    width: fit-content;
}

@media (min-width: 769px) {
    .branch-pop-button-field {
        margin-left: auto;
    }
}

.branch-pop-button-animate {
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    position: relative;
    transition-duration: var(--branch-transition-duration);
}

@media (max-width: 640px) {
    .branch-pop-button-animate {
        width: fit-content;
    }
}

.branch-pop-button-wrapper {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 1280px) {
    .branch-pop-button-wrapper {
        gap: 10px;
    }
}

.branch-pop-button-text {
    font-size: clamp(12px, 0.75vw + 8px, 15px);
    font-weight: 600;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    z-index: 10;
    transition-duration: var(--branch-transition-duration);
    width: max-content;
}

.branch-pop-button-icon-field {
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 13px;
    border: 1px solid white;
    transition-duration: var(--branch-transition-duration);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

@media (max-width: 640px) {
    .branch-pop-button-icon-field {
        padding: 8px;
    }
}

.branch-pop-button-animate:hover .branch-pop-button-icon-field {
    background-color: white;
    transform: scale(1.25);
}

.branch-pop-button-icon {
    transform: rotate(90deg);
    font-size: 8px;
    height: 8px;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    transition-duration: var(--branch-transition-duration);
}

@media (max-width: 640px) {
    .branch-pop-button-icon {
        font-size: 6px;
        height: 6px;
    }
}

.branch-pop-button-animate:hover .branch-pop-button-icon {
    color: black;
}

.branch-pop-advisor-content {
    width: 100%;
    position: relative;
    margin-bottom: clamp(12px, 0.78125vw + 8px, 18px);
}

.branch-pop-advisor-name {
    font-size: clamp(16px, 1vw + 10px, 20px);
    color: white;
    font-weight: 600;
    line-height: 1.3;
    transition-duration: var(--branch-transition-duration-fast);
}

@media (max-width: 640px) {
    .branch-pop-advisor-content {
        margin-bottom: 15px;
    }
    
    .branch-pop-advisor-name {
        font-size: 16px;
    }
}

.branch-pop-text-info-content {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 640px) {
    .branch-pop-text-info-content {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.branch-pop-foot-contact {
    display: flex;
    align-items: center;
    gap: clamp(15px, 0.9375vw + 10px, 30px);
    width: 100%;
}

@media (max-width: 640px) {
    .branch-pop-foot-contact {
        width: fit-content;
    }
}

.branch-pop-contact-link {
    display: flex;
    align-items: center;
    gap: 25px;
}

@media (max-width: 640px) {
    .branch-pop-contact-link {
        gap: 15px;
    }
}

.branch-pop-text-field {
    width: 100%;
    transition-duration: var(--branch-transition-duration-fast);
}

.branch-pop-text-field:hover {
    opacity: 1;
}

.branch-pop-contact-text {
    font-size: clamp(14px, 0.875vw + 10px, 16px);
    color: white;
    font-weight: 600;
    line-height: 1.25;
    transition-duration: var(--branch-transition-duration-fast);
    word-break: break-word;
}

.branch-pop-contact-link:hover .branch-pop-contact-text {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .branch-pop-contact-text br {
        display: none;
    }
}

.branch-pop-split {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    margin-bottom: 10px;
}

.branch-pop-address {
    width: 100%;
    position: relative;
}

.branch-pop-address-text {
    font-size: clamp(14px, 0.875vw + 10px, 16px);
    color: white;
    line-height: normal;
    transition-duration: var(--branch-transition-duration-fast);
    font-weight: 500;
    word-break: break-word;
}

.branch-pop-address-link:hover .branch-pop-address-text {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .branch-pop-address-text br {
        display: none;
    }
}

@media (min-width: 769px) {
    .branch-pop-address-text br {
        display: none;
    }
}

/* Toggle State - handled by JavaScript, styles defined in specific selectors above */

/* Toggle States for FAQ Items */
.branch-faq-item.branch-toggle .branch-country-title {
    margin-bottom: 5px;
}

.branch-faq-item.branch-toggle .branch-country-text {
    color: white;
}

.branch-faq-item.branch-toggle .branch-faq-icon {
    transform: rotate(180deg);
}

.branch-faq-item.branch-toggle .branch-faq-content {
    grid-template-rows: 1fr;
}

/* Toggle States for Location Items */
.branch-location-item.branch-toggle .branch-location-name {
    color: white;
}

/* Toggle States for Tab Items */
.branch-tab-item.branch-toggle .branch-tab-icon-field {
    opacity: 1;
}

.branch-tab-item.branch-toggle .branch-tab-text {
    color: white;
}

.branch-tab-item.branch-toggle .branch-tab-split {
    width: 100%;
}

/* Toggle States for Map Box */
.branch-map-box.branch-toggle {
    grid-template-rows: 1fr;
}

/* Marker Styles (for Leaflet markers) */
.custom-marker {
    position: relative;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-marker.branch-toggle .image-field {
    /* Seçenek 1: Scale + Shadow (Büyütme + Gölge) - ÖNERİLEN */
    transform: scale(1.3);
    filter: drop-shadow(0 4px 12px rgba(200, 11, 15, 0.6)) drop-shadow(0 0 8px rgba(200, 11, 15, 0.4));
    
    /* Seçenek 2: Renk Overlay (Kırmızı ton) - Yorumdan çıkarın */
    /* filter: brightness(1.2) saturate(1.5) hue-rotate(0deg); */
    /* background-color: rgba(200, 11, 15, 0.2); */
    /* border-radius: 50%; */
    /* padding: 5px; */
    
    /* Seçenek 3: Parlaklık + Kontrast (Ters çevirme yok) - Yorumdan çıkarın */
    /* filter: brightness(1.3) contrast(1.4) saturate(1.2); */
    
    /* Seçenek 4: Glow Efekti (Işıltı) - Yorumdan çıkarın */
    /* filter: drop-shadow(0 0 10px rgba(200, 11, 15, 0.8)) drop-shadow(0 0 20px rgba(200, 11, 15, 0.5)); */
    
    /* Seçenek 5: Border + Scale - Yorumdan çıkarın */
    /* transform: scale(1.25); */
    /* border: 3px solid var(--branch-main-color); */
    /* border-radius: 50%; */
    /* padding: 3px; */
    /* box-shadow: 0 0 0 2px rgba(200, 11, 15, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2); */
}

.custom-marker .image-field {
    width: fit-content;
    height: clamp(30px, 1.875vw + 20px, 50px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    transition: transform var(--branch-transition-duration), 
                filter var(--branch-transition-duration),
                border var(--branch-transition-duration),
                box-shadow var(--branch-transition-duration);
}

.custom-marker .image-field img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Utility Classes */
.branch-relative {
    position: relative;
}

.branch-absolute {
    position: absolute;
}

.branch-flex {
    display: flex;
}

.branch-grid {
    display: grid;
}

.branch-hidden {
    display: none;
}

.branch-visible {
    visibility: visible;
}

.branch-invisible {
    visibility: hidden;
}

.branch-opacity-0 {
    opacity: 0;
}

.branch-opacity-100 {
    opacity: 1;
}


#branch-section input { outline: 0 !important; outline-offset: 0 !important; outline-color: transparent !important; background: transparent !important; color: white; }

#branch-section input::placeholder {
    color: white !important;
    opacity: 1; /* Bazı tarayıcılar şeffaf yapıyor, bunu eklemek iyi olur */
}
#branch-section input::-webkit-input-placeholder {
    color: white !important;
}

#branch-section input:-ms-input-placeholder {
    color: white !important;
}

#branch-section input::-ms-input-placeholder {
    color: white !important;
}