/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --background: #0a0e27;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b8bec9;
    --hover-scale: 1.05;
    --animation-duration: 0.3s;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Tema renkleri dinamik olarak değiştirilecek */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animasyonlu Arkaplan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(155, 89, 182, 0.2) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(120deg); }
    66% { transform: translate(20px, -10px) rotate(240deg); }
}

/* Container */
.container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Profil Bölümü */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 40px auto 30px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    transition: transform var(--animation-duration) ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 400;
}

.profile-bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 350px;
    margin: 0 auto 30px;
}

/* İletişim Bilgileri */
.contact-info {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.2s both;
    transition: transform var(--animation-duration) ease;
}

.contact-info:hover {
    transform: translateY(-2px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--accent-color);
}

/* Sosyal Bölümler */
.social-section {
    animation: fadeInUp 0.8s ease 0.4s both;
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Link Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

/* Link Butonları */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 10px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    transition: all var(--animation-duration) ease;
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.link-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    flex-shrink: 0;
    transition: transform var(--animation-duration) ease;
}

.link-button:hover .link-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Tam genişlik butonlar */
.full-width {
    grid-column: 1 / -1;
}

/* Özel Butonlar */
.primary-button {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
}

.primary-button:hover {
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.save-contact {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.save-contact:hover {
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.4);
}

/* Sosyal Medya Renkleri */
.whatsapp { color: #25D366; }
.instagram { color: #E4405F; }
.linkedin { color: #0A66C2; }
.twitter { color: #1DA1F2; }
.facebook { color: #1877F2; }
.youtube { color: #FF0000; }
.tiktok { color: #000000; }
.telegram { color: #26A5E4; }
.github { color: #ffffff; }
.spotify { color: #1DB954; }
.pinterest { color: #E60023; }
.discord { color: #5865F2; }
.snapchat { color: #FFFC00; }
.reddit { color: #FF4500; }
.twitch { color: #9146FF; }
.medium { color: #00AB6C; }
.behance { color: #1769FF; }
.dribbble { color: #EA4C89; }
.skype { color: #00AFF0; }
.bip { color: #FF6F00; }
.trendyol { color: #FF6F00; }
.hepsiburada { color: #FF6000; }
.ciceksepeti { color: #FF8C00; }
.etsy { color: #F45800; }
.amazon { color: #FF9900; }
.n11 { color: #FF0000; }
.sahibinden { color: #FFD300; }
.gittigidiyor { color: #FF6600; }

/* Footer */
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 12px;
    animation: fadeIn 1s ease 0.6s both;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 1s forwards;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* QR Kod */
.qr-code-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-code {
    display: inline-block;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Animasyonlar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .profile-title {
        font-size: 16px;
    }
    
    .link-button {
        padding: 14px 12px;
        font-size: 13px;
    }
    
    .links-grid {
        gap: 8px;
    }
    
    .contact-info {
        padding: 20px;
    }
}

/* Dark Mode Geçiş */
.theme-transition {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Tema renklerini zorla uygula - Bu CSS'in en sonuna ekleyin */

/* Link butonları için tema renklerini zorla uygula */
.link-button .link-icon {
    color: var(--primary-color) !important;
}

.link-button:hover .link-icon {
    color: white !important;
}

/* Sosyal medya icon renklerini devre dışı bırak - tema renklerini kullan */
.link-button .whatsapp,
.link-button .instagram,
.link-button .linkedin,
.link-button .twitter,
.link-button .facebook,
.link-button .youtube,
.link-button .tiktok,
.link-button .telegram,
.link-button .github,
.link-button .spotify,
.link-button .pinterest,
.link-button .discord,
.link-button .snapchat,
.link-button .reddit,
.link-button .twitch,
.link-button .medium,
.link-button .behance,
.link-button .dribbble,
.link-button .skype,
.link-button .bip,
.link-button .trendyol,
.link-button .hepsiburada,
.link-button .ciceksepeti,
.link-button .etsy,
.link-button .amazon,
.link-button .n11,
.link-button .sahibinden,
.link-button .gittigidiyor {
    color: var(--primary-color) !important;
}
/* Tema renklerini zorla uygula - Bu CSS'in en sonuna ekleyin */

/* Link butonları için tema renklerini zorla uygula */
.link-button {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.link-button:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.02) !important;
}

/* Primary butonlar (Hemen Ara, Kişilere Kaydet) */
.primary-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: white !important;
}

.primary-button:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)) !important;
    color: white !important;
}

.save-contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
}

.save-contact:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color)) !important;
}

/* Icon renkleri */
.link-button .link-icon {
    color: var(--primary-color) !important;
}

.link-button:hover .link-icon {
    color: white !important;
}

.primary-button .link-icon {
    color: white !important;
}

/* Sosyal medya icon renklerini devre dışı bırak - tema renklerini kullan */
.link-button .whatsapp,
.link-button .instagram,
.link-button .linkedin,
.link-button .twitter,
.link-button .facebook,
.link-button .youtube,
.link-button .tiktok,
.link-button .telegram,
.link-button .github,
.link-button .spotify,
.link-button .pinterest,
.link-button .discord,
.link-button .snapchat,
.link-button .reddit,
.link-button .twitch,
.link-button .medium,
.link-button .behance,
.link-button .dribbble,
.link-button .skype,
.link-button .bip,
.link-button .trendyol,
.link-button .hepsiburada,
.link-button .ciceksepeti,
.link-button .etsy,
.link-button .amazon,
.link-button .n11,
.link-button .sahibinden,
.link-button .gittigidiyor {
    color: var(--primary-color) !important;
}

.link-button:hover .whatsapp,
.link-button:hover .instagram,
.link-button:hover .linkedin,
.link-button:hover .twitter,
.link-button:hover .facebook,
.link-button:hover .youtube,
.link-button:hover .tiktok,
.link-button:hover .telegram,
.link-button:hover .github,
.link-button:hover .spotify,
.link-button:hover .pinterest,
.link-button:hover .discord,
.link-button:hover .snapchat,
.link-button:hover .reddit,
.link-button:hover .twitch,
.link-button:hover .medium,
.link-button:hover .behance,
.link-button:hover .dribbble,
.link-button:hover .skype,
.link-button:hover .bip,
.link-button:hover .trendyol,
.link-button:hover .hepsiburada,
.link-button:hover .ciceksepeti,
.link-button:hover .etsy,
.link-button:hover .amazon,
.link-button:hover .n11,
.link-button:hover .sahibinden,
.link-button:hover .gittigidiyor {
    color: white !important;
}