:root {
    --primary-dark: #0f172a;
    --midnight-blue: #1e1b4b;
    --neon-purple: #7c3aed;
    --deep-blue: #3b82f6;
    --navy-blue: #1e40af;
    --highlight-silver: #e2e8f0;
    --card-dark-bg: rgba(15, 23, 42, 0.95);
    --card-light-bg: rgba(47, 54, 64, 0.85);
    --text-primary: #f8f9fa;
    --text-secondary: #d1d5db;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --card-glow: 0 0 15px rgba(124, 58, 237, 0.3);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--primary-dark), var(--midnight-blue));
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300" opacity="0.05"%3E%3Cpath d="M50 50h200M50 150h200" stroke="%237c3aed" stroke-width="2"/%3E%3Ccircle cx="50" cy="50" r="5" fill="%237c3aed"/%3E%3Ccircle cx="250" cy="150" r="5" fill="%233b82f6"/%3E%3C/svg%3E') repeat;
    z-index: -1;
    animation: bgShift 15s linear infinite;
}

@keyframes bgShift {
    to { background-position: 100px 100px; }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid var(--neon-purple);
    border-top: 6px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

.navbar.scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-purple);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    animation: neonGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.6));
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 4px rgba(124, 58, 237, 0.6), 0 0 8px rgba(124, 58, 237, 0.4);
    }
    to {
        text-shadow: 0 0 8px rgba(124, 58, 237, 0.9), 0 0 16px rgba(124, 58, 237, 0.5);
    }
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.8));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    padding: 8px 12px;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 6px rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 12px rgba(124, 58, 237, 0.6); }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-purple);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cv-link {
    background: linear-gradient(90deg, var(--neon-purple), #6b21a8);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.cv-link:hover {
    background: linear-gradient(90deg, #6b21a8, var(--neon-purple));
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.7);
    transform: translateY(-4px);
}

.check {
    font-size: 1rem;
    color: var(--deep-blue);
}

.nav-actions {
    display: none;
}

.mobile-menu-button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 8px;
    display: none; /* Mobil için aktif olacak */
}

.mobile-menu-button.active {
    color: var(--neon-purple);
    transform: rotate(90deg);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: var(--transition);
    border-radius: 50%;
    padding: 10px;
    display: none; /* Mobil menü aktifken görünür */
}

.mobile-menu-close:hover {
    color: var(--neon-purple);
    background: rgba(124, 58, 237, 0.1);
}

.mobile-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: auto;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    gap: 20px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    background: transparent;
    overflow-y: auto;
    z-index: 1001;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 0;
}

.mobile-nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links.active .mobile-menu-close {
    display: block;
}

.mobile-nav-link {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    font-size: 1.4rem;
    text-decoration: none;
    padding: 12px 16px;
    transition: var(--transition);
    text-align: left;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--neon-purple);
    text-shadow: 0 0 12px rgba(124, 58, 237, 0.6);
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
    background: linear-gradient(90deg, var(--neon-purple), #6b21a8);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.mobile-nav-link:last-child:hover {
    background: linear-gradient(90deg, #6b21a8, var(--neon-purple));
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.7);
    transform: translateY(-4px);
}

.welcome-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--midnight-blue));
    padding: 160px 24px 80px; /* padding-top artırıldı */
    overflow: hidden;
    z-index: 1;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.welcome-card {
    background: linear-gradient(to right, var(--card-dark-bg) 50%, var(--card-light-bg) 50%);
    backdrop-filter: blur(5px);
    max-width: 800px;
    padding: 48px;
    border-radius: 25px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.2);
    z-index: 2;
    width: 100%;
}

.welcome-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(124, 58, 237, 0.3), transparent);
    animation: shine 3s ease-in-out;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.welcome-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow), 0 0 25px rgba(124, 58, 237, 0.5);
}

.welcome-card > * {
    position: relative;
    z-index: 1;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    image-rendering: optimizeQuality;
    margin-bottom: 24px;
    border: 3px solid var(--neon-purple);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
    transition: var(--transition);
}

.profile-photo:hover {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
    transform: scale(1.1);
}

.welcome-card h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    position: relative;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--deep-blue));
    border-radius: 2px;
}

.welcome-card p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.welcome-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.welcome-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.neon-pulse {
    background: linear-gradient(90deg, var(--neon-purple), var(--deep-blue));
    color: var(--text-primary);
    box-shadow: var(--card-glow);
    animation: pulse 2s infinite;
}

.cta-button.neon-pulse:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

.cta-button.neon-pulse .button-icon {
    transition: transform 0.3s ease;
}

.cta-button.neon-pulse:hover .button-icon {
    transform: translateX(4px);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 0 30px rgba(124, 58, 237, 0.5); }
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
}

.cta-button.secondary:hover {
    background: var(--neon-purple);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.cta-button.secondary:hover .button-icon {
    stroke: var(--text-primary);
    transform: translateX(4px);
}

.cta-button:active {
    transform: scale(0.98);
}

.button-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--neon-purple);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--neon-purple);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

footer {
    background: linear-gradient(180deg, var(--primary-dark), var(--midnight-blue));
    text-align: center;
    padding: 40px 24px;
    border-top: 2px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

footer p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-shadow: 0 0 3px rgba(59, 130, 246, 0.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scaleIn {
    opacity: 0;
    animation: scaleIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.visible .fadeInUp, .visible .scaleIn {
    animation-play-state: running;
}

@media (max-width: 1024px) {
    .welcome-card {
        max-width: 700px;
    }
    .welcome-card h1 {
        font-size: 2.8rem;
    }
    .welcome-card p {
        font-size: 1.1rem;
    }
    .welcome-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .welcome-container {
        padding: 180px 16px 80px; /* padding-top artırıldı */
    }
    .welcome-card {
        padding: 32px;
        margin-top: 0;
    }
    .welcome-card h1 {
        font-size: 2.5rem;
    }
    .welcome-card p {
        font-size: 1rem;
    }
    .welcome-text {
        font-size: 0.9rem;
    }
    .profile-photo {
        width: 140px;
        height: 140px;
        margin-bottom: 16px;
    }
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .welcome-cta {
        flex-direction: column;
        gap: 12px;
    }
    .nav-links {
        display: none;
    }
    .nav-actions {
        display: block;
    }
    .mobile-menu-button {
        display: block;
    }
    .mobile-nav-links {
        width: 280px;
        max-height: calc(100vh - 80px);
    }
}

@media (max-width: 480px) {
    .welcome-container {
        padding: 180px 16px 60px; /* padding-top artırıldı */
    }
    .welcome-card {
        padding: 20px;
        width: 90%;
    }
    .welcome-card h1 {
        font-size: 2rem;
    }
    .welcome-card p {
        font-size: 0.9rem;
    }
    .welcome-text {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    .profile-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .welcome-cta {
        gap: 10px;
    }
}