:root {
    --primary-gradient: linear-gradient(135deg, #764ba2 0%, #bb0906 50%, #764ba2 100%);
    --secondary-gradient: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #030427 0%, #0a1e37 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #00f2fe;
    --glass-bg: #0a1e37;
    --glass-border: rgba(6, 200, 249, 0.2);
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

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

html {
    scroll-behavior: smooth;
    font-size: 14px;
    background: var(--dark-gradient);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: var(--dark-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    font-size: 1rem;
    min-height: 100vh;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.max-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0c2f3f 0%, #030427 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    background: var(--glass-border);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    padding: 12px 12px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--primary-gradient);
    transform: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hire-btn {
    background: var(--accent-color);
    color: #0c0c0c;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hire-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(30deg);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 1rem;
    right: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    display: none;
    z-index: 999;
    animation: slideDown 0.3s ease;
    overflow: hidden;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-item {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: var(--primary-gradient);
}

.theme-toggle-mobile {
    background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.theme-toggle-mobile:hover {
    background: var(--primary-gradient);
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a1e37 0%, #030427 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: heroFloat 20s infinite linear;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.profile-section {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    background: var(--primary-gradient);
    padding: 6px;
    animation: profileGlow 3s ease-in-out infinite alternate;
}

.profile-placeholder {
    width: 100%;  /* Dəyişiklik burada */
    height: 100%; /* Dəyişiklik burada */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    color: var(--text-secondary);
    font-size: 4rem;
    transition: all 0.3s ease;
}

.profile-placeholder:hover {
    color: var(--accent-color);
}

.profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Əlavə etdim - şəklin küncləri dairəvi olsun */
}

.profile-placeholder i {
    font-size: 60px;
    color: #ccc;
}

/* Animated Tech Icons Around Profile */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    animation: orbit 20s linear infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-icon:hover {
    animation-play-state: paused;
    transform: scale(1.2);
    background: var(--primary-gradient);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.tech-icon:nth-child(1) {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
    color: #3776ab;
}

.tech-icon:nth-child(2) {
    top: 15%;
    right: 15%;
    animation-delay: -2.5s;
    color: #092e20;
}

.tech-icon:nth-child(3) {
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    animation-delay: -5s;
    color: #009688;
}

.tech-icon:nth-child(4) {
    bottom: 15%;
    right: 15%;
    animation-delay: -7.5s;
    color: #336791;
}

.tech-icon:nth-child(5) {
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
    color: #dc382d;
}

.tech-icon:nth-child(6) {
    bottom: 15%;
    left: 15%;
    animation-delay: -12.5s;
    color: #2496ed;
}

.tech-icon:nth-child(7) {
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    animation-delay: -15s;
    color: #ff9900;
}

.tech-icon:nth-child(8) {
    top: 15%;
    left: 15%;
    animation-delay: -17.5s;
    color: #47a248;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}

@keyframes profileGlow {
    0% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.3); }
    100% { box-shadow: 0 0 60px rgba(118, 75, 162, 0.6), 0 0 90px rgba(102, 126, 234, 0.3); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease 0.2s both;
}

.hero .subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease 0.4s both;
}

.typing-text {
    border-right: 3px solid var(--accent-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--accent-color); }
    51%, 100% { border-color: transparent; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
    animation: slideInUp 1s ease 0.6s both;
}

.cta-button {
    padding: 18px 35px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.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: left 0.6s;
}

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

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.cta-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.2);
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
    opacity: 0.6;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about {
    background: linear-gradient(135deg, #030427 0%, #0c2f3f 100%);
}

.projects {
    background: linear-gradient(135deg, #0a1e37 0%, #00152f 100%);
}

.blog {
    background: linear-gradient(135deg, rgb(2 9 52) 0%, #0a1e37 100%);
}

.experience {
    background: linear-gradient(135deg, #030427 0%, #0a2034 100%);
}

.contact {
    background: linear-gradient(135deg, #0a1e37 0%, #00152f 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Skills */
.skills-container {
    margin-top: 4rem;
}

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

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--primary-gradient);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Code Window */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.code-window {
    background: #030427;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px #030427;
    border: 1px solid var(--glass-border);
}

.code-header {
    background: #0c0c0c;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.code-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-filename {
    margin-left: 10px;
    color: #888;
    font-size: 0.9rem;
    font-family: monospace;
}

.code-content {
    padding: 2.5rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.8;
}

.code-line {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.line-number {
    color: #666;
    margin-right: 1.5rem;
    width: 25px;
    text-align: right;
    font-size: 0.9rem;
}

.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-function { color: #82aaff; }
.code-comment { color: #676e95; font-style: italic; }

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.project-image {
    height: 250px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 4rem;
    color: white;
    z-index: 2;
    transition: all 0.4s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.project-link:hover {
    background: var(--accent-color);
    color: #0c0c0c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.blog-image {
    height: 200px;
    background: var(--primary-gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-image i {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Blog Modal */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.blog-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blog-modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.3s ease;
}

.blog-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-modal-close:hover {
    background: var(--error-color);
    transform: rotate(90deg);
}

.blog-modal-body {
    padding: 3rem;
}

.blog-modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.blog-modal-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-modal-text h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.blog-modal-text p {
    margin-bottom: 1.5rem;
}

/* Experience Section */
.timeline {
    position: relative;
    margin-top: 4rem;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 55%;
    padding-left: 3rem;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 0 20px var(--accent-color);
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.timeline-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-company {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    backdrop-filter: blur(20px);
}

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

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    padding: 1.2rem 2.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0c2f3f 0%, #030427 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Footer Column */
.footer-column {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

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

/* About Column */
.footer-about h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #bb0906 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about .subtitle {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.social-link:hover::before {
    opacity: 1;
}

/* Footer Column Title */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #764ba2 0%, #bb0906 50%, #764ba2 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 10px;
}

/* Technologies List */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tech-item {
    color: #b0b0b0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tech-item i {
    color: #667eea;
    font-size: 0.8rem;
}

.tech-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #b0b0b0;
    font-size: 0.9rem;
    animation: fadeIn 1s ease 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(0.9); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .tech-orbit {
        width: 260px;
        height: 260px;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 4rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 4rem;
        padding-right: 1rem;
    }

    .timeline-item::before {
        left: 10px !important;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .blog-modal {
        padding: 1rem;
    }

    .blog-modal-body {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-about h3 {
        font-size: 1.5rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 15px 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .profile-placeholder {
        font-size: 3rem;
    }

    .tech-orbit {
        width: 200px;
        height: 200px;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .project-card,
    .blog-card {
        margin-bottom: 1rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-about h3 {
        font-size: 1.3rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

/* Gündüz Modu CSS Variables */
.light-theme {
    --dark-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(102, 126, 234, 0.3);
}

/* Light Theme Navigation */
.light-theme .max-navbar {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f7fa 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

/* Light Theme Hero Section */
.light-theme .hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f7fa 100%);
}

.light-theme .hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

/* Light Theme Sections */
.light-theme .about {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
}

.light-theme .projects {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f4f8 100%);
}

.light-theme .blog {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
}

.light-theme .experience {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
}

.light-theme .contact {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f7fa 100%);
}

/* Light Theme Footer */
.light-theme .footer {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f7fa 100%);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.light-theme .footer::before {
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
}

/* Light Theme Cards */
.light-theme .stat-item,
.light-theme .code-window,
.light-theme .skill-category,
.light-theme .project-card,
.light-theme .blog-card,
.light-theme .timeline-content,
.light-theme .contact-item,
.light-theme .contact-form {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.light-theme .stat-label,
.light-theme .project-description,
.light-theme .blog-excerpt,
.light-theme .timeline-description,
.light-theme .contact-details p {
    color: #4a5568;
}

.light-theme .social-link {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #2d3748;
}

.light-theme .footer-title {
    color: #2d3748;
}

.light-theme .footer-links a,
.light-theme .tech-item {
    color: #4a5568;
}

.light-theme .footer-links a:hover,
.light-theme .tech-item:hover {
    color: #2d3748;
}

.light-theme .footer-bottom {
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    color: #4a5568;
}

.light-theme .theme-toggle-mobile:hover {
    background: var(--primary-gradient);
    color: white;
}

/* Mobile Optimizations for Light Theme */
@media (max-width: 768px) {
    .light-theme .hero {
        background: linear-gradient(145deg, #e3f2fd 0%, #f5f7fa 100%);
    }
    
    .light-theme .about {
        background: linear-gradient(145deg, #f5f7fa 0%, #e3f2fd 100%);
    }
    
    .light-theme .projects {
        background: linear-gradient(145deg, #e3f2fd 0%, #f0f4f8 100%);
    }
    
    .light-theme .contact {
        background: linear-gradient(145deg, #e3f2fd 0%, #f5f7fa 100%);
    }
    
    .light-theme .max-navbar {
        background: linear-gradient(145deg, #e3f2fd 0%, #f5f7fa 100%);
    }
}

/* Scroll Animation */
.footer.animate {
    animation: slideUp 0.8s ease;
}

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

/* Floating Animation for Social Icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.social-link:nth-child(1) { animation: float 3s ease-in-out infinite; }
.social-link:nth-child(2) { animation: float 3s ease-in-out 0.5s infinite; }
.social-link:nth-child(3) { animation: float 3s ease-in-out 1s infinite; }
.social-link:nth-child(4) { animation: float 3s ease-in-out 1.5s infinite; }