/* Fulyadis - Modern Premium Styling */

:root {
    --primary-color: #be0000;
    --primary-hover: #990000;
    --accent-color: #f8f9fa;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    padding: 40px 0 70px;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Background pattern/overlay for a premium medical look */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at right top, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.header-icon-wrapper {
    margin-bottom: 12px;
}

.header-icon-wrapper i {
    font-size: 60px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.page-header h1 {
    font-size: 46px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.header-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.header-breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.header-breadcrumb li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-breadcrumb li a:hover {
    color: #ffffff;
}

.breadcrumb-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: #ffffff;
    font-size: 15px;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.header-breadcrumb li a:hover .breadcrumb-icon {
    transform: rotate(15deg);
}

.header-breadcrumb li+li::before {
    content: '\f054';
    /* Font Awesome 5 Chevron Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* Sayfa - Haberler İçerik */
.haberler-icerik {
    padding: 75px 0 0;
}

/* Kurumsal Blog Detay Stilleri */
.blogdetay p {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 25px;
    font-weight: 400;
    word-spacing: 1px;
}

.blogdetay p strong,
.blogdetay p b {
    color: #2b2b2b;
    font-weight: 700;
}

.blogdetay p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blogdetay p a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* İçindekiler (TOC) Ağaç - Tree Tasarımı */
#icindekiler {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 22px 25px;
    margin: 20px 0 35px;
    list-style: none;
    position: relative;
    box-shadow: 0 8px 25px rgba(190, 0, 0, 0.12);
}

#icindekiler span {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

#icindekiler li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

/* Ağacın gövdesi (Dikey çizgi) */
#icindekiler li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -8px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.4);
}

/* Son maddenin altına inmeyen çizgi */
#icindekiler li:last-child::before {
    bottom: auto;
    height: 12px;
}

/* Ağacın dalı (Yatay bağlantı) */
#icindekiler li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
}

#icindekiler li a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.4;
}

#icindekiler li a:hover {
    color: rgba(255, 255, 255, 0.75);
    transform: translateX(3px);
}

/* Blog Detay Başlık Hiyerarşisi */
.blogdetay h2, 
.blogdetay h3, 
.blogdetay h4, 
.blogdetay h5, 
.blogdetay h6 {
    font-weight: 800;
    color: #222222;
    line-height: 1 !important;
    margin: 16px 0 6px 0;
}

.blogdetay h2 { font-size: 28px; }
.blogdetay h3 { font-size: 24px; }
.blogdetay h4 { font-size: 21px; }
.blogdetay h5 { font-size: 18px; }
.blogdetay h6 { font-size: 16px; }

/* WhatsApp Multi-Branch Selector */
.whatsapp-multi-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-options {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.whatsapp-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-option {
    display: flex;
    align-items: center;
    background-color: #25D366;
    padding: 10px 20px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
    box-sizing: border-box;
    white-space: nowrap;
}

.wa-option i {
    font-size: 20px;
    margin-right: 10px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.wa-option:hover {
    background-color: #ffffff;
    color: #25D366;
    box-shadow: inset 0 0 0 2px #25D366, 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

.wa-option:hover i {
    color: #25D366;
    transform: scale(1.1);
}

.whatsapp-main-btn {
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    animation: wa-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-main-btn:hover {
    transform: scale(1.1) rotate(-10deg);
}

/* Phone Multi-Branch Selector */
.phone-multi-container {
    position: fixed;
    right: 25px;
    bottom: 95px; 
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-options {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
    transform-origin: bottom right;
}

.phone-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ph-option {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(190, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
    box-sizing: border-box;
    white-space: nowrap;
}

.ph-option i {
    font-size: 20px;
    margin-right: 10px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.ph-option:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: inset 0 0 0 2px var(--primary-color), 0 8px 25px rgba(190, 0, 0, 0.4);
    transform: translateY(-3px);
}

.ph-option:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.phone-main-btn {
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    box-shadow: 0 5px 20px rgba(190, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    animation: ph-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    animation-delay: 1s; 
}

@keyframes ph-pulse {
    0% { box-shadow: 0 0 0 0 rgba(190, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(190, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(190, 0, 0, 0); }
}

.phone-main-btn:hover {
    transform: scale(1.1) rotate(15deg);
}

/* Kapatma Butonu (X) */
.close-opts {
    position: absolute;
    top: -22px;
    left: -24px;
    width: 26px;
    height: 26px;
    background-color: #ffffff;
    color: #444444;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    transition: all 0.2s ease;
}

.close-opts:hover {
    background-color: #f1f1f1;
    color: #000000;
    transform: scale(1.1);
}