/* WEBKOLOG (Ali Candan) Custom CSS 
    Renk Paleti: Webkolog Mavisi & Modern Gri 
*/

:root {
    --main-blue: #34A8E0;      /* Logodaki ana mavi */
    --dark-blue: #2288bb;      /* Hover ve vurgu mavisi */
    --light-bg: #f8f9fa;       /* Hafif gri arka plan */
    --text-dark: #2c3e50;      /* Başlıklar için koyu ton */
    --text-muted: #6c757d;    /* Alt metinler için */
    --transition: all 0.3s ease-in-out;
}

/* Genel Ayarlar */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

.text-primary-color {
    color: var(--main-blue) !important;
}

/* Navbar */
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: rotate(-10deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--main-blue) 0%, #1a7fb1 100%);
    min-height: 450px;
    display: flex;
    align-items: center;
    color: white;
}

/* Bölüm Başlıkları */
.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--main-blue);
    margin: 15px auto;
    border-radius: 2px;
}

/* Proje Kartları (Card) */
.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: none;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Resim ve Placeholder Kapsayıcı */
.project-img-container, 
.card-placeholder {
    height: 230px; /* Sabit yükseklik */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gerçek Resim Ayarları */
.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-img-container img {
    transform: scale(1.1);
}

/* Resim Yoksa Gözükecek Alan */
.card-placeholder {
    background-color: #eef2f7;
    color: var(--main-blue);
}

/* Hover'da Üstte Çıkan Katman (Overlay) */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 168, 224, 0.92); /* Webkolog mavisi transparan */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    z-index: 2;
    padding: 20px;
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h5 {
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay h5 {
    transform: translateY(0);
}

/* Footer Tasarımı */
.footer {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
}

.footer h5 {
    color: var(--main-blue);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--main-blue);
    padding-left: 8px;
}

.social-links a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    background: #eef2f7;
    color: var(--main-blue);
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--main-blue);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .project-img-container, .card-placeholder {
        height: 200px;
    }
}