/* Google Fonts */
/* Use Outfit font globally for premium feel */
:root {
    /* Color Palette - Premium Dark Theme with Neon Accents */
    --bg-primary: #0a0a0f;
    --bg-secondary: #13141c;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    /* Neon Gradients */
    --primary-color: #8b5cf6;
    /* Purple */
    --secondary-color: #06b6d4;
    /* Cyan */
    --accent-color: #10b981;
    /* Green */

    --gradient-1: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-2: linear-gradient(135deg, var(--secondary-color), var(--accent-color));

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Transitions - Apple/Linear high-end easing */
    --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: transparent;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    opacity: 0;
    /* Sayfa açılışında fade-in için */
    animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Dynamic Scroll Background Gradient */
.bg-gradient-scroll {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    pointer-events: none;
    /* Rich, dark premium gradients that will shift vertically */
    /* Starting with dark indigo/purple, moving to deep teal and black */
    background: linear-gradient(180deg,
            #0a0a0f 0%,
            #151025 20%,
            #0b1625 50%,
            #091a1a 80%,
            #050d1a 100%);
    background-size: 100% 400%;
    will-change: background-position;
}

/* Background Animated Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.25;
    animation: float 30s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.shape-1 {
    top: -15%;
    left: -15%;
    width: 60vw;
    height: 60vw;
    background: var(--primary-color);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -15%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    background: var(--secondary-color);
    animation-delay: -5s;
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background: var(--accent-color);
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate3d(8%, 12%, 0) scale(1.15) rotate(15deg);
    }
}

/* Interactive Background Global Glow */
#global-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.08) 25%, transparent 60%);
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    transition: opacity var(--transition-normal);
    opacity: 0;
    /* Initializes invisible, JS fades it in on mousemove */
    mix-blend-mode: screen;
    will-change: transform;
}

/* Typography Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* Modern tipografi */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.section {
    padding: 100px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    /* Reveal styles will be applied via utility class below */
}

.section-title span {
    color: var(--primary-color);
}

/* Generic Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--transition-normal), transform 1s var(--transition-normal);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Classes With Reactive Inner Glow */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Reactive Light Effect Layer inside cards */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    /* Let clicks pass through */
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    /* border thickness */
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

/* Glass hover states */
.glass-panel:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.1);
    z-index: 10;
}

.glass-panel:hover::before,
.glass-panel:hover::after {
    opacity: 1;
}

/* Element z-index fixing inside panel because of glow ::before causing stacking context issues */
.glass-panel>* {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
    will-change: transform;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 20px -10px var(--primary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: -1;
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 25px -10px var(--primary-color), 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.3);
    transform: translateY(-3px) scale(1.03);
}

/* Hero Logo Slider */
.hero-logo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* Backup in case flex child doesn't give height */
}

.hero-logo-slider .slide {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95) translateY(15px);
    transition: opacity 1.2s var(--transition-normal), transform 1.2s var(--transition-normal);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.hero-logo-slider .slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 15px 10%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-main);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-1);
    transition: var(--transition-fast);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-contact {
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main) !important;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: var(--glass-border);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.lang-toggle-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.lang-toggle-nav i {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 150px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.greeting {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.name {
    font-size: 4.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    height: 3rem;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links-hero {
    display: flex;
    gap: 20px;
}

.social-links-hero a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-links-hero a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.5);
}

.hero-image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1200px;
    gap: 30px;
}

.hero-image-wrapper {
    width: 360px;
    height: 360px;
    padding: 0;
    position: relative;
    transform-style: preserve-3d;
    animation: floating-image 8s ease-in-out infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

@keyframes floating-image {
    0% {
        transform: translateY(0px) rotateY(-8deg) rotateX(4deg);
    }

    100% {
        transform: translateY(-20px) rotateY(8deg) rotateX(-4deg);
    }
}

.hero-slider-text {
    position: relative;
    width: 360px;
    height: 80px;
    text-align: center;
}

.hero-slider-text .slide-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s var(--transition-normal), transform 1s var(--transition-normal);
    pointer-events: none;
}

.hero-slider-text .slide-text.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-slider-text h4 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Safari prefix compat */
}

.hero-slider-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-logo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    opacity: 0;
    transform: scale(0.9) translateY(30px) translateZ(-50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-slider .slide.active {
    opacity: 1;
    transform: scale(1) translateY(0) translateZ(0px);
}

/* Floating Badges Refinements */
.floating-badge {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateZ(30px);
}

.badge-1 {
    top: 40px;
    left: -30px;
    color: #61DAFB;
    /* React Blue */
    animation: rotate 10s linear infinite;
}

.badge-2 {
    bottom: 50px;
    right: -20px;
    color: #F7DF1E;
    /* JS Yellow */
    animation: bob 4s ease-in-out infinite alternate;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bob {
    100% {
        transform: translateY(-15px);
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item .year {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.timeline-item h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-item .company {
    color: var(--text-muted);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skills-category h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-normal);
}

.skill-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-item i {
    font-size: 3rem;
}

.skill-item span {
    font-weight: 500;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.project-card {
    padding: 0;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.3);
}

.project-img-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: white;
    font-size: 0.9rem;
}

.overlay-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.project-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 5px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: #a5b4fc;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.more-projects {
    text-align: center;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card i {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.06);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--text-muted);
    transition: 0.2s ease all;
    pointer-events: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    padding: 0 5px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-radius: 5px;
}

.btn-submit {
    align-self: flex-start;
    padding: 15px 35px;
}

/* Footer */
footer {
    padding: 40px 10%;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-content p {
    color: var(--text-muted);
}

.social-links-footer {
    display: flex;
    gap: 15px;
}

.social-links-footer a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-links-footer a:hover {
    color: var(--primary-color);
}

/* Language Selection Modal */
.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s var(--transition-normal), visibility 0.8s;
}

.language-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lang-modal-content {
    text-align: center;
    padding: 60px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    transform: translateY(0) scale(1);
    transition: transform 0.8s var(--transition-normal);
}

.language-modal.hidden .lang-modal-content {
    transform: translateY(40px) scale(0.95);
}

.lang-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-modal-content h2 span {
    font-size: 1.2rem;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    font-weight: 400;
}

.lang-options {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.lang-btn {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn .flag {
    font-size: 1.5rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

/* Element Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .section {
        padding: 80px 5%;
    }

    .hero-image-wrapper {
        width: 320px;
        height: 400px;
    }

    .name {
        font-size: 3.5rem;
    }

    .title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-links-hero {
        justify-content: center;
    }

    .about-container,
    .skills-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-timeline {
        margin-top: 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.5rem;
        height: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}