/* Genel sayfa stilleri */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100%;
}

/* Yeni Navbar Tasarımı */
.navbar-default {
    background: #ffffff !important;
    border: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    min-height: 85px;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(89, 193, 212, 0.1);
    display: flex;
    align-items: center;
}

.container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 85px;
}

/* Sol Menü */
.navbar-left-menu {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.navbar-left-menu .navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Merkez Logo */
.navbar-center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.navbar-center-logo:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.navbar-center-logo img {
    height: auto;
    width: 160px;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(70%) sepia(51%) saturate(1015%) hue-rotate(154deg) brightness(95%) contrast(86%);
}

/* Sağ Menü */
.navbar-right-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar-right-menu .navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Menü Linkleri */
.navbar-nav {
    list-style: none !important;
    display: flex;
    align-items: center;
}

.navbar-nav > li {
    list-style: none !important;
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar-nav > li > a {
    color: #59c1d4 !important;
    font-weight: 600;
    font-size: 13px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    padding: 10px 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 6px;
    margin: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    box-shadow: 0 2px 8px rgba(89, 193, 212, 0.15);
}

.navbar-nav > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: transparent;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background: linear-gradient(135deg, #90caf9 0%, #64b5f6 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 193, 212, 0.3);
    border-radius: 6px;
}

.navbar-nav > li > a:hover::before {
    width: 0;
}

/* Responsive menü düzenlemeleri */
.navbar-left-menu .navbar-nav,
.navbar-right-menu .navbar-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    height: 100%;
}

/* Ana sayfa özel düzenlemeleri */
.baseContainer {
    background: #ffffff;
    min-height: calc(100vh - 85px);
    padding-top: 30px;
    padding-bottom: 0;
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.baseContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(89, 193, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(89, 193, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.container.mt20 {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 25px 40px 40px 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .container.mt20 {
        max-width: 1400px;
        padding: 30px 80px 50px 80px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container.mt20 {
        max-width: 100%;
        padding: 30px 60px 45px 60px;
    }
}

/* Loader container stilleri */
#loaderContainer, #blockContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.loader .fa, .blocker .fa {
    color: #59c1d4;
}

/* Navbar brand logo düzenlemesi */
.navbar-brand {
    padding: 10px 15px;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    /* Telefon modunda menüleri gizle */
    .navbar-left-menu, 
    .navbar-right-menu {
        display: none !important;
    }
    
    .navbar-center-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        text-align: center;
    }
    
    .navbar-center-logo img {
        width: 140px;
        max-height: 45px;
        display: block;
    }
    
    .container-fluid {
        justify-content: center;
        padding: 15px 20px;
        position: relative;
        min-height: 65px;
        align-items: center;
    }
    
    .navbar-default {
        min-height: 65px;
    }
    
    .baseContainer {
        padding-top: 20px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .container.mt20 {
        padding: 15px 20px 35px 20px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Küçük telefon ekranları */
    .navbar-center-logo img {
        width: 120px;
        max-height: 40px;
    }
    
    .container-fluid {
        padding: 10px 15px;
        min-height: 60px;
    }
    
    .navbar-default {
        min-height: 60px;
    }
    
    .baseContainer {
        padding: 15px 5px;
    }
    
    .container.mt20 {
        padding: 10px;
    }
}

/* ==================== MODAL STYLES ==================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #59c1d4 0%, #6dd4e8 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    color: #59c1d4;
    font-size: 18px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
}

.modal-body h3:first-of-type {
    margin-top: 15px;
}

.modal-body p {
    color: #495057;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-body ul {
    margin: 12px 0 15px 20px;
    color: #495057;
}

.modal-body ul li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.modal-body strong {
    color: #59c1d4;
    font-weight: 600;
}

.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 0 16px 16px;
}

.modal-btn {
    background: linear-gradient(135deg, #59c1d4 0%, #6dd4e8 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 193, 212, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(89, 193, 212, 0.4);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h3 {
        font-size: 16px;
    }
    
    .modal-body p,
    .modal-body ul li {
        font-size: 13px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 18px;
        border-radius: 12px 12px 0 0;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
    
    .modal-body {
        padding: 18px;
    }
    
    .modal-footer {
        border-radius: 0 0 12px 12px;
    }
    
    .modal-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}