/* Kat Planları Tab Animasyonları */
.tab-content {
    position: relative;
    overflow: hidden;
}

.tab-pane {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
}

.tab-pane.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    visibility: visible;
}

.tab-pane.fade-in {
    animation: fadeInSlide 0.4s ease-out forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tek Çizgi Menu */
.nav-tabs {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-link {
    border: none;
    color: #999999;
    background: transparent;
    padding: 15px 20px;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #222;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #222;
}

.nav-tabs .nav-link:hover::after {
    transform: scaleX(1);
}

.nav-tabs .nav-link.active {
    color: #000000;
}

.nav-tabs .nav-link.active::after {
    transform: scaleX(1);
}

/* Minimal Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    width: auto;
    height: auto;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 100px);
    background: white;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #666666;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.modal-close:hover {
    background: #999999;
    transform: scale(1.1);
}

/* Minimal Görsel Hover */
.kat-plan-image {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e5e5e5;
}

.kat-plan-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kat-plan-image:before {
    content: '⤢';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    background: #666666;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
}

.kat-plan-image:hover:before {
    opacity: 1;
}

/* Genel Metin Stilleri */
.kat-planlari-section {
    color: #000000;
}

.kat-planlari-section p {
    color: #000000;
}

.kat-planlari-section strong {
    color: #000000;
}

.section-title {
    color: #000000;
}

/* Responsive Ayarları */
@media (max-width: 768px) {
    .modal-content {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .modal-image {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 80px);
    }
    
    .modal-close {
        top: -35px;
        right: 0;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .tab-pane {
        transform: translateX(15px);
    }
    
    .nav-tabs .nav-link {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .nav-tabs .nav-link::after {
        left: 16px;
        right: 16px;
    }
} 