/* ==========================================================================
   2. NAVBAR (NAVİGASYON ÇUBUĞU) ANA STİLLERİ
   ========================================================================== */

.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(255, 255, 255, 0); /* Başlangıçta şeffaf */
  /*  backdrop-filter: blur(10px); */
   /* -webkit-backdrop-filter: blur(10px); */
    border-bottom: 1px solid transparent;
  /*   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
}

/* Sayfa kaydırıldığında (scroll) aktif olan navbar görünümü */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1); /* Opak beyaz */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* ==========================================================================
   3. LOGO VE SVG AYARLARI
   ========================================================================== */

.logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 2;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Logo içindeki SVG'nin temel boyutları */
.logo svg {
    max-width: auto;
    width: 100%;
    height: 50px;
    display: block;
    transition: height 0.4s ease;
}

/* Logo içindeki metnin rengi (Varsayılan Beyaz) */
.navbar .logo svg .LogoMetin {
    fill: white;
}

/* Scroll durumunda logo ve metin değişiklikleri */
.navbar.scrolled .logo svg {
    height: 50px;
}

.navbar.scrolled .logo svg .LogoMetin {
    fill: #333; /* Scroll olunca metin koyu gri */
}

/* Standart IMG formatındaki logolar için yükseklik ve geçişler */
.navbar .logo img {
    height: 45px;
    transition: all 0.4s ease;
}

.navbar.scrolled .logo img {
    height: 35px;
}

/* ==========================================================================
   4. MENÜ VE LİNKLER
   ========================================================================== */
.renkli-serid {
    height: 5px;
    background: linear-gradient(45deg, rgba(225, 14, 24, 1) 0%, rgba(48, 44, 130, 1) 64%);
}
.navbar .menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.navbar .menu a {
    color: white;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 15px;
    cursor: pointer;
}

/* Hover (Üzerine gelme) durumu */
.navbar .menu a:hover {
    color: #e3e3e3;
}

/* Scroll durumunda menü link renkleri */
.navbar.scrolled .menu a {
    color: #333;
}

.navbar.scrolled .menu a:hover {
    color: #db0037;
}

/* ==========================================================================
   5. KULLANICI BÖLÜMÜ VE BUTONLAR (LOGIN/PROFILE)
   ========================================================================== */

.navbar .user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Giriş Yap Butonu */
.navbar .login-btn {
    padding: 10px 24px;
    background-color: var(--primary-blue);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 131, 202, 0.2);
}

.navbar .login-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Profil Bölümü (Giriş yapılmışsa) */
.navbar .profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar .profile:hover {
    background: #f1f3f5;
}

.navbar .profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar .profile span {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* ==========================================================================
   6. DROPDOWN (AÇILIR MENÜ) VE ANİMASYONLAR
   ========================================================================== */

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px !important;
    overflow: visible !important;
    animation: dropFade 0.3s ease;
}

/* Dropdown yukarıdan aşağıya süzülme efekti */
@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown üzerindeki küçük ok ucu */
.navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 35px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    z-index: -1;
    border-top-left-radius: 3px;
}

/* ==========================================================================
   7. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================================================== */

@media (max-width: 1000px) {
    /* Mobil ekranda "genismod" sınıfına sahip elemanları gizle */
    .genismod {
        display: none !important;
    }

    /* Container yapısını mobil görünümde hizala */
    .navbar .container {
        justify-content: space-between;
    }
}






















/*------------------------------------------------------------------------ 
KURU KARTI
-------------------------------------------------------------------------*/
/* Kartın Kare Formunu Koruması İçin Ana Konteyner */
.portfolio-item .portfolio-img {position: relative;overflow: hidden;border-radius: 15px;    width: 100%;
}

/* Görselin Kare Alanı Tam Doldurması */
.portfolio .portfolio-item .portfolio-img img {width: 100%;height: 100%;object-fit: cover; /* Resim kareye sığacak şekilde kırpılır, bozulmaz */transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Overlay Katmanı */
.background-overlay {background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.95) 100%);position: absolute;inset: 0; /* top, left, bottom, right: 0 */z-index: 5;transition: all 0.5s ease;
}

/* İçerik Alanı - Kare Formunda Konumlandırma */
.kutu-baslik {color: white;position: absolute;bottom: 20px;left: 0;right: 0;padding: 20px;z-index: 6;transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);display: flex;flex-direction: column;justify-content: flex-end;
}

.kutu-baslik h3 {
    font-family: "Roboto", sans-serif;
    font-size: clamp(16px, 1.4vw, 16px);
    font-weight: 700;
    margin: 5px 0;
    line-height: 1.2;
}

/* P Etiketi - Hover ile Açılan Bölüm */
.kutu-baslik p {
    opacity: 0;
    max-height: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
    font-size: 13px;
    line-height: 1.4;
    color: #dcdcdc;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Kare formda yer az olduğu için 3 satır idealdir */
    -webkit-box-orient: vertical;
}

/* Hover Efektleri */
.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-item:hover .kutu-baslik {
    bottom: 25px;
}

.portfolio-item:hover .kutu-baslik p {
    opacity: 1;
    max-height: 100px; /* Kare alanda çok yer kaplamasın */
    transform: translateY(0);
    margin-top: 10px;
}

/* Mobile Uyumluluk */
@media only screen and (max-width: 767px) {
    .kutu-baslik h3 {
        font-size: 1.1rem !important;
    }
    .kutu-baslik p {
        -webkit-line-clamp: 2; /* Mobilde daha da az satır */
    }
}
	/* Kategori filtre */
	.blog-filter {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin-bottom: 40px;
	}

	.blog-filter-btn {
		list-style: none;
		padding: 8px 18px;
		background: #f0f0f0;
		border-radius: 20px;
		cursor: pointer;
		font-size: 14px;
		transition: all 0.3s;
		border: none;
	}

	.blog-filter-btn.active,
	.blog-filter-btn:hover {
		background: #333;
		color: white;
	}



.soft-button {
            /* Boyutlandırma */
            width: auto;
            height: auto;
			padding: 15px 25px;
			margin: 5px;
            
            /* Şekil */
            border-radius: 25px;
            border: none;
	color: #000000a3;
	font-weight: 500;
            
            /* Renk ve Gradyan */
            background: linear-gradient(145deg, #ffffff, #e6e9ef);
            
            /* Gölgelendirme (Derinlik hissi için) */
            
	box-shadow: inset 4px 4px 8px #d1d9e6, 
                        inset -4px -4px 8px #ffffff;
            
            /* İçerik Hizalama */
            justify-content: center;
            align-items: center;
            cursor: pointer;
            outline: none;
            transition: all 0.3s ease;
        }

        /* Tıklama Efekti */
        .soft-button:active {
            box-shadow: 6px 6px 12px #d1d9e6, 
                        -6px -6px 12px #ffffff;
            transform: scale(0.98);
        }

        /* Üzerine gelince hafif parlama */
        .soft-button:hover {
            background: linear-gradient(145deg, #f8f9fb, #dee2e9);
        }