/* --- TEMEL AYARLAR --- */
:root {
    --bg: #121212;
    --card-bg: rgba(30, 30, 30, 0.6);
    --text: #e0e0e0;
    --main: #bb86fc; /* Mor */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', sans-serif;
    margin: 0; padding: 0;
    overflow-x: hidden;
    cursor: none;
}

/* --- ANİMASYON SINIFLARI --- */
.hidden-left { opacity: 0; transform: translateX(-100px); transition: all 1s ease; }
.hidden-right { opacity: 0; transform: translateX(100px); transition: all 1s ease; }
.hidden-bottom { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.show { opacity: 1; transform: translateX(0) translateY(0); }

/* --- HERO --- */
#home {
    height: 100vh;
    display: flex; justify-content: center; align-items: center;
    background: radial-gradient(circle, rgba(187,134,252,0.15) 0%, rgba(18,18,18,1) 70%);
    text-align: center;
}
.home-content h1 {
    font-size: 3.5rem; margin: 0;
    background: linear-gradient(to right, var(--main), #fff);
    -webkit-background-clip: text; color: transparent;
}
.home-content p { font-size: 1.5rem; margin-top: 10px; color: #aaa; }
.typing-text { color: var(--main); font-weight: bold; border-right: 2px solid var(--main); padding-right: 5px; animation: blink 0.7s infinite; }
@keyframes blink { 50% { border-color: transparent; } }
.social-hero { display: none; } /* Footerda olduğu için gizledim */

/* --- NAV --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1);
}
nav { display: flex; justify-content: center; gap: 20px; padding: 15px; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--main); }

/* --- ABOUT --- */
#about { padding: 100px 20px; display: flex; justify-content: center; }
.about-container {
    display: flex; align-items: center; gap: 50px; max-width: 1000px; flex-wrap: wrap; justify-content: center;
}
.about-left img {
    width: 280px; height: 280px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--main); box-shadow: 0 0 20px rgba(187, 134, 252, 0.3);
}
.about-right { max-width: 500px; }
.about-right h2 { color: var(--main); font-size: 2.5rem; margin-bottom: 20px; }

/* --- KULÜP LİNKLERİ (Özel Tasarım) --- */
.club-connect {
    margin-top: 25px; padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.club-label {
    display: block; font-size: 0.9rem; color: #888;
    margin-bottom: 10px; font-weight: 600;
}
.club-links { display: flex; gap: 10px; align-items: center; }
.club-btn {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; color: white;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px; border-radius: 8px; transition: all 0.3s ease; font-size: 1.1rem;
}
.club-btn i { margin-right: 0; }
.meetup i { margin-right: 8px; font-size: 1.4rem; }
/* Hover Renkleri */
.club-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.meetup:hover { background: #f05664; border-color: #f05664; }
.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.instagram:hover { background: #E1306C; border-color: #E1306C; }

/* --- PROJELER (Glassmorphism) --- */
#projects, #skills, #contact { padding: 80px 20px; text-align: center; }
.project-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1200px; margin: 40px auto;
}
.project-card {
    background: var(--card-bg); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px; border-radius: 15px; transition: 0.3s;
}
.project-card:hover { transform: translateY(-10px); border-color: var(--main); box-shadow: 0 10px 30px rgba(187, 134, 252, 0.2); }
.card-icon { font-size: 2.5rem; color: var(--main); margin-bottom: 15px; }
.project-link {
    display: inline-block; margin-top: 15px; color: var(--main);
    text-decoration: none; border: 1px solid var(--main);
    padding: 8px 20px; border-radius: 20px; transition: 0.3s;
}
.project-link:hover { background: var(--main); color: #000; }

/* --- YETENEKLER --- */
.skills-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; max-width: 800px; margin: 30px auto; }
.skill-item {
    background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 20px;
    color: var(--main); border: 1px solid rgba(187, 134, 252, 0.3);
}

/* --- CONTACT --- */
form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
input, textarea {
    background: rgba(255,255,255,0.05); border: 1px solid #333; color: white;
    padding: 15px; border-radius: 8px; outline: none;
}
input:focus, textarea:focus { border-color: var(--main); }
.contact-button {
    background: var(--main); color: #000; padding: 15px; border: none;
    border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.contact-button:hover { background: #fff; }

/* --- FOOTER (Inset & Büyük) --- */
footer {
    background-color: #050505; padding: 50px 20px; margin-top: 50px;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.8);
    border-top: 1px solid #222; text-align: center;
}
.footer-content {
    max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.social-icons-footer { display: flex; gap: 30px; justify-content: center; margin-bottom: 15px; }
.social-icons-footer a {
    color: #888; font-size: 2.2rem;
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.05); transition: all 0.3s ease;
}
.social-icons-footer a:hover {
    color: var(--main); background: rgba(187, 134, 252, 0.1);
    transform: translateY(-5px); box-shadow: 0 0 15px var(--main);
}
.copyright-text { color: #555; font-size: 0.9rem; letter-spacing: 1px; }

/* --- KELEBEK & İMLEÇ --- */
.cursor-dot { width: 8px; height: 8px; background: var(--main); position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; }
.cursor-outline { width: 40px; height: 40px; border: 2px solid var(--main); position: fixed; border-radius: 50%; pointer-events: none; transition: 0.1s; transform: translate(-50%, -50%); }

.butterfly {
    position: fixed; top: -10vh; z-index: -1; font-size: 20px;
    animation: fly 10s linear forwards; pointer-events: none;
}
@keyframes fly {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

@media (max-width: 768px) {
    .about-container { flex-direction: column; text-align: center; }
    .cursor-dot, .cursor-outline { display: none; }
}