/* V2 Blue Theme CSS - Enhanced (KTÜ Laciverti Entegre Edildi) */
:root {
    /* 1. Kendi Özel Değişkenlerin (KTÜ Laciverti) */
    --primary-color: #003B64;
    --info-color: #0dcaf0;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --secondary-text: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;

    /* 2. Bootstrap'ın Hazır Sınıflarını Ezmek İçin Gerekli Olanlar */
    --bs-primary: #003B64;
    --bs-primary-rgb: 0, 59, 100; /* #003B64'nın RGB Karşılığıdır */
}

/* 3. Bootstrap !important kuralları nedeniyle ezilmeyen text-primary için kesin çözüm */
.text-primary {
    color: #003B64 !important;
}
.bg-primary {
    background-color: #003B64 !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    background-color: var(--white);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

/* Logo Boyutlandırması */
.brand-image {
    max-width: 350px; 
    height: auto;     
    max-height: 120px; 
}

/* Navbar'ın logoyu sıkıştırmaması için iç boşlukları (padding) düzenleyelim */
.custom-navbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* YÖKAK logosunun boyutunu ana logoya göre dengeliyoruz */
.yokak-image {
    height: 65px; 
    width: auto;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 130px); 
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Title Underline */
.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
    border-radius: 2px;
    margin-top: 15px;
}

/* Category Box */
.category-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%);
    transition: all 0.3s ease;
}

.category-box:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%);
    transform: translateY(-3px);
}

/* Icon Circle */
.icon-circle {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Benefit Item */
.benefit-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.benefit-item:last-child {
    border-bottom: none;
}

/* Activity Card */
.activity-card {
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.activity-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
}

.activity-list li:last-child {
    border-bottom: none;
}

/* Process Cards */
.process-card {
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}


/* Skill Card */
.skill-card {
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    background-color: var(--white);
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Footer */
.footer {
    background-color: #2d2d2d !important;
}

/* Buttons */
.btn-primary {
    background-color: #003B64 !important;
    border-color: #003B64 !important;
    color: #ffffff !important;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: #003354 !important; /* Hover'da biraz daha koyu lacivert */
    border-color: #003354 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 106, 0.3) !important;
}

/* 2. Outline (Kenarlıklı) Primary Buton */
.btn-outline-primary {
    color: #003B64 !important;
    border-color: #003B64 !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus, 
.btn-outline-primary:active {
    background-color: #003B64 !important; /* Hover yapınca içi dolsun */
    border-color: #003B64 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 106, 0.2) !important;
}

/* Alert */
.alert-info {
    background-color: #e7f1ff;
    border-color: #b6d4fe;
    color: #084298;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Başlangıçta gizli */
    width: 45px;
    height: 45px;
    z-index: 1000;
    transition: all 0.3s ease;
}

#btn-back-to-top:hover {
    transform: translateY(-5px); /* Üzerine gelince hafifçe yukarı zıplar */
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 60px; 
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .benefit-item {
        text-align: left;
    }

    .brand-image {
        max-height: 75px;
   }
}

@media (max-width: 768px) {
    /* Başlığı telefonda biraz daha küçültüyoruz */
    .hero-section h1.display-4 {
        font-size: 2.2rem; 
    }
    
    /* Alt metni okunaklı yapıyoruz */
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    /* Butonları yan yana değil, alt alta ve tam genişlikte yapıyoruz */
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .hero-section .btn {
        width: 100%;
        display: block;
    }
}

.transition-card {
    transition: all 0.3s ease;
}
	
.hover-shadow:hover {
	transform: translateY(-5px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
	background-color: #fff !important;
}