/* GENEL AYARLAR ve TİPOGRAFİ */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

html {
    scroll-behavior: smooth; /* Yumuşak kaydırma */
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-color);
    overflow-x: hidden;
}

.section-padding {
    padding: 80px 0;
}

/* Header İkon Rengi */
.text-primary.gradient-text {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HEADER SOSYAL İKONLAR */
.transition-icon i {
    transition: all 0.3s ease;
}
.transition-icon:hover i {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* MODERN NAVBAR (Glassmorphism) */
.glass-navbar {
    background-color: rgba(33, 37, 41, 0.85) !important; /* Yarı saydam */
    backdrop-filter: blur(10px); /* Buzlu cam efekti */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Sayfa aşağı kayınca navbar biraz daha koyulaşsın */
.glass-navbar.scrolled {
     background-color: rgba(33, 37, 41, 0.95) !important;
     padding-top: 10px;
     padding-bottom: 10px;
     box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    padding-right: 15px;
    padding-left: 15px;
    transition: color 0.3s;
    position: relative;
}

/* Menü linki altı çizgisi efekti */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}


/* SLIDER EFEKTLERİ (Ken Burns ve Animasyonlar) */
#slider {
    position: relative;
}

/* Resimlerin üzerindeki karanlık katman */
.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.carousel-caption {
    bottom: 25%;
    z-index: 2;
}

.carousel-item {
    height: 80vh;
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
}

/* Resim Yavaşça Yakınlaşma Efekti */
.ken-burns-img {
    transform: scale(1);
    transition: transform 8s linear;
}

.carousel-item.active .ken-burns-img {
    transform: scale(1.15);
}

/* Slider Yazılarının Aşağıdan Gelmesi */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HAKKIMDA BÖLÜMÜ */
.profile-img-container {
    position: relative;
    z-index: 1;
}
.profile-img-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.4s ease;
}
.profile-img-container:hover::before {
    top: -10px;
    left: -10px;
    opacity: 0.6;
}

/* KART EFEKTLERİ */
.hover-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 15px;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.hover-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* GALERİ EFEKTLERİ */
.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-box img {
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.8); /* Primary color overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-content {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-box:hover img {
    transform: scale(1.1);
}

.gallery-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-box:hover .gallery-content {
    transform: translateY(0);
}

/* İLETİŞİM FORMU */
.contact-form {
    border: 1px solid rgba(255,255,255,0.1);
}
.form-floating label {
    color: #aaa;
}
.form-control:focus {
    background-color: #2c3034;
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* BUTON GÖLGELERİ */
.shadow-btn {
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}
.shadow-btn:hover {
    box-shadow: 0 8px 15px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

/* FOOTER */
.footer-links a {
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-color) !important;
}

.social-icons-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.social-icons-footer a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}