/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */


:root {
    --primary: #0a192f;
    --secondary: #112240;
    --accent: #64ffda;
    --text: #ccd6f6;
    --text-secondary: #8892b0;
    --bg-gradient: linear-gradient(120deg, #112240, #0a192f);
    --box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.5);
}

header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--accent);
    margin: 5px;
    transition: var(--transition);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(100, 255, 218, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(100, 255, 218, 0.05) 0%, transparent 25%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.highlight {
    color: var(--accent);
}

.hero-content p {
    font-size: clamp(16px, 3vw, 22px);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #ddcaca;
    border: 1px solid #cc0041;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(100, 255, 218, 0.1);
    transition: var(--transition);
    z-index: -1;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(26px, 5vw, 32px);
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70%;
    height: 3px;
    background: var(--accent);
}

.about {
    background: var(--primary);
    position: relative;
}

.about::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 10% 50%, rgba(100, 255, 218, 0.03) 0%, transparent 30%);
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 20px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    list-style: none;
    margin-top: 20px;
}

.skills-list li {
    position: relative;
    padding-left: 20px;
    font-family: monospace;
    font-size: 14px;
}

.skills-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 300px;
    justify-self: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-image-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid var(--accent);
    border-radius: 4px;
    transform: translate(20px, 20px);
    z-index: -1;
    transition: var(--transition);
}

.about-image-wrapper:hover::after {
    transform: translate(15px, 15px);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(100%) contrast(1.1);
    mix-blend-mode: multiply;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    filter: none;
    mix-blend-mode: normal;
}

.experience {
    background: var(--secondary);
    position: relative;
}

.experience::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 90% 30%, rgba(100, 255, 218, 0.03) 0%, transparent 30%);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    animation: fadeInUp 0.8s ease-out both;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border: 4px solid var(--accent);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background: var(--primary);
    border-radius: 8px;
    position: relative;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(2, 12, 27, 0.8);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.timeline-content h4 {
    margin-bottom: 15px;
    color: var(--accent);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.projects {
    background: var(--primary);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--secondary);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -20px rgba(2, 12, 27, 0.8);
}

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.folder-icon {
    color: var(--accent);
    font-size: 40px;
}

.project-links {
    display: flex;
    gap: 10px;
}

.project-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.project-title {
    color: var(--text);
    font-size: 20px;
    margin-bottom: 10px;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.project-tech span {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

.contact {
    background: var(--secondary);
    text-align: center;
    padding: 150px 0;
}

.contact-title {
    font-size: clamp(40px, 8vw, 60px);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.contact-text {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.social-link {
    color: var(--text);
    font-size: 24px;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    box-shadow: var(--box-shadow);
}

.social-link:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

footer {
    padding: 20px 0;
    text-align: center;
    background: var(--primary);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-credit {
    margin-bottom: 10px;
}

.footer-credit a {
    color: var(--accent);
    text-decoration: none;
}

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

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        background: var(--secondary);
        clip-path: circle(100px at 110% -20%);
        -webkit-clip-path: circle(100px at 110% -20%);
        transition: all 0.5s ease-out;
        pointer-events: none;
        z-index: 100;
    }

    .nav-links.open {
        clip-path: circle(1500px at 90% -10%);
        -webkit-clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }

    .nav-links li {
        margin: 0;
        opacity: 0;
    }

    .nav-links li.fade {
        opacity: 1;
    }

    .hamburger {
        display: block;
        z-index: 101;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle .line2 {
        opacity: 0;
    }

    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .left::after, .right::after {
        left: 21px;
    }

    .right {
        left: 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 10vw;
    }

    .section {
        padding: 70px 0;
    }

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


