/* ===========================================================
   BİLEŞEN STİLLERİ (COMPONENTS)
   =========================================================== */

/* ===== ACCORDION ===== */
.accordion-item {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border, #DDD8CE);
    border-radius: var(--radius-md, 12px);
    margin-bottom: var(--space-3, 12px);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:hover {
    border-color: var(--accent, #D4AF37);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.08);
}

.accordion-item.open {
    border-color: var(--accent, #D4AF37);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary, #0A1628);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.accordion-content {
    padding: 0 24px;
}

.accordion-item.open .accordion-content {
    padding: 0 24px 20px;
}

.accordion-content p {
    font-size: 0.9rem;
    color: var(--text-secondary, #4A4A4A);
    line-height: 1.7;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayIn 0.2s ease;
}

.modal-box {
    background: var(--bg-white, #fff);
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light, #EDE8E0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--primary, #0A1628);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted, #7A7A7A);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.modal-close:hover {
    color: var(--danger, #DC2626);
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-light, #EDE8E0);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== TAB SİSTEMİ ===== */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border, #E0DCD4);
    gap: 4px;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted, #7A7A7A);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary, #0A1628);
}

.tab-btn.active {
    color: var(--accent, #C9A96E);
    border-bottom-color: var(--accent, #C9A96E);
    font-weight: 600;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

/* ===== PAGİNASYON ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.pagination a {
    color: var(--text-secondary, #4A4A4A);
    border: 1px solid var(--border, #E0DCD4);
}

.pagination a:hover {
    background: var(--bg-light, #F2EDE6);
    border-color: var(--accent, #C9A96E);
    color: var(--primary, #0A1628);
}

.pagination .active {
    background: linear-gradient(135deg, var(--accent, #D4AF37) 0%, var(--accent-dark, #B8941E) 100%);
    color: var(--primary, #080F1E);
    border: 1px solid var(--accent, #D4AF37);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* ===== ALERT ===== */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: var(--success-bg, #ECFDF5);
    color: var(--success, #0D9668);
    border: 1px solid rgba(13, 150, 104, 0.2);
}

.alert-danger {
    background: var(--danger-bg, #FEF2F2);
    color: var(--danger, #DC2626);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.alert-warning {
    background: var(--warning-bg, #FFFBEB);
    color: var(--warning, #D97706);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.alert-info {
    background: var(--info-bg, #EFF6FF);
    color: var(--info, #2563EB);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ===== LOADING ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 246, 243, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-box {
    text-align: center;
}

.loading-box p {
    margin-top: 16px;
    color: var(--text-muted, #7A7A7A);
    font-size: 0.9rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    color: var(--text-light, #9A9A9A);
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: var(--text-secondary, #4A4A4A);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.85rem;
    color: var(--text-muted, #7A7A7A);
}

/* ===== DYNAMIC SLIDER ===== */
.dynamic-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    background-color: var(--primary, #0A1628);
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 25vh;
    color: var(--bg-white, #fff);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.slide-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-6, 24px);
    color: var(--bg-white, #fff);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8, 32px);
    line-height: 1.6;
    max-width: 600px;
}

.slide-actions {
    display: flex;
    gap: var(--space-4, 16px);
    flex-wrap: wrap;
}

/* Slider Navigation (Arrows) */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-nav:hover {
    background: var(--accent, #C9A96E);
    border-color: var(--accent, #C9A96E);
    color: var(--primary, #0A1628);
}

.slider-nav.prev {
    left: var(--space-8, 32px);
}

.slider-nav.next {
    right: var(--space-8, 32px);
}

/* Slider Pagination (Dots) */
.slider-dots {
    position: absolute;
    bottom: 15vh;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: var(--accent, #C9A96E);
    transform: scale(1.2);
}

/* Hero Stats overlay adjust */
.hero-stats-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 22, 40, 0.8) 100%);
    padding-bottom: var(--space-8, 32px);
    padding-top: var(--space-12, 48px);
}