/* /hobiler/style.css */

/* --- GENEL DÜZEN --- */
.split-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.left-pane {
    width: 30%;
    background-color: var(--card-bg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
    position: relative;
    animation: slideInLeft 0.8s forwards;
}

.left-pane img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    opacity: 0;
    animation: popIn 1s 0.5s forwards;
}

.left-pane h1 { font-size: 2rem; margin-bottom: 5px; }
.left-pane h2 { font-size: 1rem; color: var(--accent-color); opacity: 0.8; }

.right-pane {
    width: 70%;
    padding: 60px;
    overflow-y: auto;
    background-color: var(--bg-color);
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* --- HOBİ KARTLARI (GRID) --- */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hobby-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 350px; /* Kart yüksekliği */
    display: flex;
    flex-direction: column;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-color);
}

/* İkon Alanı (Görsel niyetine) */
.hobby-visual {
    flex: 1;
    background: linear-gradient(to bottom, var(--hover-bg), var(--card-bg));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hobby-visual i {
    font-size: 5rem;
    color: var(--text-color);
    opacity: 0.2;
    transition: 0.3s;
}

.hobby-card:hover .hobby-visual i {
    color: var(--accent-color);
    opacity: 1;
    transform: scale(1.1);
}

/* İçerik Alanı */
.hobby-content {
    padding: 25px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    z-index: 2;
}

.hobby-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.hobby-desc {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.5;
}

/* Etiketler */
.hobby-tags {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.htag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--accent-color);
}

/* Mobil */
@media (max-width: 768px) {
    .split-container { flex-direction: column; overflow: auto; }
    .left-pane, .right-pane { width: 100%; height: auto; padding: 30px; }
}

/* Animasyonlar */
@keyframes slideInLeft { from {transform: translateX(-100%); opacity:0;} to {transform: translateX(0); opacity:1;} }
@keyframes fadeInUp { from {transform: translateY(30px); opacity:0;} to {transform: translateY(0); opacity:1;} }
@keyframes popIn { from {transform: scale(0.5); opacity:0;} to {transform: scale(1); opacity:1;} }