/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Loading animasyonu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* tsParticles container */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 9999;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo a {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    position: relative;
}

.nav-logo a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-logo a:hover::before {
    opacity: 1;
}

.nav-logo a:hover {
    transform: translateY(-2px) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    font-size: 0.95rem;
    display: block;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

.profile-card {
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(59, 130, 246, 0.2), 
                0 0 0 1px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.profile-image {
    margin-bottom: 2rem;
}

.profile-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) padding-box,
                linear-gradient(135deg, #3b82f6, #8b5cf6) border-box;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4),
                0 5px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.profile-image img::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5),
                0 8px 20px rgba(139, 92, 246, 0.4);
}

.profile-info h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.profile-info h3 {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.profile-info .title {
    font-size: 1.2rem;
    color: rgba(229, 231, 235, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.profile-info .description {
    font-size: 1.1rem;
    color: rgba(209, 213, 219, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::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.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.social-link i {
    font-size: 1.2rem;
}

/* --- Projeler Sayfası ve Kartlar --- */
.projects-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.projects-header p {
    font-size: 1.2rem;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card::after {
    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.8s ease;
}

.project-card:hover::after {
    left: 100%;
}

.project-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-image i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.project-card:hover .project-image i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.5));
}

.project-content h3 {
    font-size: 1.6rem;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.project-content p {
    color: rgba(209, 213, 219, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.05rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
    color: #3b82f6;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 25px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-link::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.6s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.project-link i {
    font-size: 0.9rem;
}

.project-card.coming-soon {
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.3);
}

.project-card.coming-soon .project-image i {
    color: #6b7280;
}

.coming-soon-text {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

/* --- Hex Renk Sayfası ve Kartı --- */
.hex-container, .hex-card, .profile-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid #1e3a8a;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.hex-card:hover, .profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border-color: #3b82f6;
}

.hex-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hex-header .title {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hex-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.color-picker-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hex-label {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#colorPanel {
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#colorPanel:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.generate-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: fit-content;
}

.generate-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.result-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.hex-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

#box {
    flex: 1;
    padding: 1rem;
    border: 2px solid #3b82f6;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#box:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.copy-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    color: #3b82f6;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.copy-btn i {
    font-size: 1.2rem;
}

/* Mouse Particle Efektleri */
.mouse-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid;
    animation: particleFade 1s ease-out forwards;
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

.click-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid;
    animation: clickFade 0.6s ease-out forwards;
}

@keyframes clickFade {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(360deg);
    }
}

/* --- Hex Renk Sayfası Özel Stilleri --- */
.project-card .color-picker-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-card .hex-label {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card #colorPanel {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-card #colorPanel:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.project-card .generate-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.5rem auto;
    min-width: 200px;
    white-space: nowrap;
}

.project-card .generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.project-card .result-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.project-card .hex-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 0.5rem;
    width: 100%;
}

.project-card #box {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    padding: 0.5rem;
}

.project-card #box::placeholder {
    color: #d1d5db;
}

.project-card .copy-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card .copy-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
    transform: scale(1.05);
}

.project-card .copy-btn i {
    font-size: 1rem;
}

/* --- Hex Renk Sayfası Kompakt Stilleri --- */
.hex-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.color-picker-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.hex-label {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

#colorPanel {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#colorPanel:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.generate-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: fit-content;
}

.generate-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.result-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
}

.hex-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 0.5rem;
    width: 100%;
}

#box {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    padding: 0.5rem;
}

#box::placeholder {
    color: #d1d5db;
}

.copy-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
    transform: scale(1.05);
}

.copy-btn i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        display: flex !important;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .profile-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        justify-content: center;
    }

    .hex-content {
        gap: 1.5rem;
    }
    
    .hex-header h1 {
        font-size: 2rem;
    }
    
    .generate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hex-result {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #box {
        width: 100%;
    }
    
    .copy-btn {
        width: 100%;
        padding: 0.8rem;
    }

    .projects-container {
        padding: 1rem;
    }
    .projects-header h1 {
        font-size: 2.5rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .project-card {
        padding: 1.5rem;
    }
    .project-content h3 {
        font-size: 1.3rem;
    }
    .project-links {
        flex-direction: column;
        align-items: center;
    }
    .project-link {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-menu {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
        width: 100%;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .nav-logo a {
        font-size: 1.2rem;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    .profile-info h1 {
        font-size: 1.8rem;
    }

    .projects-header h1 {
        font-size: 2rem;
    }
    .projects-header p {
        font-size: 1rem;
    }
    .project-card {
        padding: 1rem;
    }
    .project-image i {
        font-size: 2.5rem;
    }
    .hex-card {
        padding: 1.5rem;
    }
    .hex-header h1 {
        font-size: 1.8rem;
    }
    .hex-header p {
        font-size: 1rem;
    }
    #colorPanel {
        width: 80px;
        height: 80px;
    }
    .generate-btn {
        font-size: 1rem;
    }
    .hex-result {
        min-width: 180px;
    }
}
@media (max-width: 600px) {
    .main-content, .projects-container, .profile-card, .hex-card, .hex-container {
        padding: 0.5rem !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }
    .projects-header h1,
    .hex-header h1 {
        font-size: 1.3rem !important;
    }
    .projects-header p,
    .hex-header .title {
        font-size: 1rem !important;
    }
    .project-card,
    .profile-card,
    .hex-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }
    .project-image i,
    .profile-image img {
        width: 80px !important;
        height: 80px !important;
        font-size: 2rem !important;
    }
    .generate-btn,
    .copy-btn,
    .project-link,
    .social-link {
        font-size: 0.95rem !important;
        padding: 0.7rem 1rem !important;
    }
    .nav-menu {
        gap: 0.3rem !important;
        padding: 0 !important;
        justify-content: center !important;
    }
    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem 0.8rem !important;
    }
    #colorPanel {
        width: 60px !important;
        height: 60px !important;
    }
    #box {
        font-size: 1rem !important;
        padding: 0.7rem !important;
    }
}

/* Responsive tasarım için hex sayfası özel ayarları */
@media (max-width: 768px) {
    .hex-content {
        gap: 1.2rem;
        max-width: 350px;
    }
    
    .generate-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    #colorPanel {
        width: 70px;
        height: 70px;
    }
    
    .hex-result {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hex-content {
        gap: 1rem;
        max-width: 300px;
    }
    
    .generate-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    #colorPanel {
        width: 60px;
        height: 60px;
    }
    
    .hex-result {
        max-width: 200px;
    }
    
    #box {
        font-size: 0.9rem;
    }
}

/* Hamburger Menü */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10000;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #3b82f6;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobil menü aktif durumu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(59, 130, 246, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.2);
        color: #3b82f6;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 60px;
    }
    
    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
    }
}

/* --- İletişim Sayfası Stilleri --- */
.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-header .title {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 600;
}

.form-input, .form-textarea {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #d1d5db;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #e5e7eb;
    font-size: 1rem;
}

.contact-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 20px;
}

/* Başarı ve hata mesajları */
.success-message {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .form-input, .form-textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-header .title {
        font-size: 1rem;
    }
    
    .form-input, .form-textarea {
        padding: 0.6rem 0.7rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
}