/* Main Stylesheet for Noy Korleker Personal Website */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ביטול סיבוב/אנימציה של הרקע */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(29, 78, 216, 0.05) 0%, transparent 50%);
    /* animation: float 20s ease-in-out infinite;  <-- מבוטל */
}

/* Floating code elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-code {
    position: absolute;
    color: rgba(59, 130, 246, 0.13);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    animation: float 20s linear infinite;
    white-space: pre;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1.5s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #3b82f6;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #9ca3af;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Sections */
section {
    padding: 7rem 0;
    position: relative;
}

#home {
  scroll-margin-top: 00px;
}


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

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #111111;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #d1d5db;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.highlight:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.highlight h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.highlight p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}



.experience-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}
 /* .experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
} */

.timeline-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    margin: 3rem 0;
    margin-left: 5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.timeline-item:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4.2rem;
    top: 3rem;
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 0 3px #3b82f6;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.job-year {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.job-company {
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.job-description ul {
    list-style: none;
    padding-left: 0;
}

.job-description li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: #d1d5db;
    line-height: 1.7;
}

.job-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Skills Section */
.skills {
    background: #111111;
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    color: #3b82f6;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

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

.skill-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* Education & Other Sections */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.education-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.education-card h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.education-card h4 {
    color: #d1d5db;
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-card p {
    color: #9ca3af;
    line-height: 1.7;
}

.education-card p strong {
    color: #3b82f6;
}

/* Contact Section */
.contact {
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 70%);
    color: #ffffff;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(29, 78, 216, 0.05) 0%, transparent 50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

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

.contact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #3b82f6;
}

.contact-card a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
   .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 0 1rem; */
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

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

    .hero h2 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

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

    .timeline-item::before {
        left: -3.2rem;
    }
     /* .experience-timeline {
        padding-left: 3rem;
    }

    .experience-timeline::before {
        left: 0;
    } */

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 1rem 2rem;
    }

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

    .about-text {
        font-size: 1rem;
    }

    .highlight {
        padding: 1.5rem;
    }

    .job-header {
        gap: 0.5rem;
    }

    .timeline-item {
        margin-left: 1.5rem;
        padding: 1.5rem;
    }

    .timeline-item::before {
        left: -2rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-card h3 {
        font-size: 1rem;
    }

    .contact-card a {
        font-size: 0.95rem;
    }

    .education-card {
        padding: 2rem;
    }

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

    .skill-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }
     .experience-timeline {
    position: relative;
    margin: 0 auto;
     padding-left: 1.5rem; 
}

    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
}