@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0c1626;
    --text-main: #ccd6f6;
    --text-secondary: #8892b0;
    --accent-color: #64ffda;
    --font-main: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
}

/*Global Typography & Colors*/
h1,
h2,
h3,
.logo {
    color: var(--text-main);
    font-weight: 700;
}

p,
.date,
.task-list li,
.tech-list li,
.site-footer p,
.tab-btn {
    color: var(--text-secondary);
}

.highlight,
.project-tech,
.tab-btn.active,
.tab-content h3 .highlight,
.tech-list i,
.task-list i {
    color: var(--accent-color);
}



/*Global Links*/
a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/*Layout for About, Experience, Projects*/
.about,
.experience,
.projects {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-size: 2rem;
    white-space: nowrap;
}

.heading-line {
    height: 1px;
    background-color: var(--text-secondary);
    flex-grow: 1;
    margin-left: 1.5rem;
    opacity: 0.3;
}

/*Header & Nav*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(12, 22, 38, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5rem;
}

.logo {
    font-size: 1.2rem;
}

nav a {
    margin: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.social-links a {
    margin-left: 1.5rem;
    font-size: 1.1rem;
}

/*Hero Section*/
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    gap: 5rem;
    min-height: 100vh;
    margin: 0 auto;
    padding: 6rem 2rem 0;
}

.hero-image {
    display: block;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    mix-blend-mode: lighten;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.hero-content p {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.cursor {
    font-weight: 300;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/*Buttons*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    background: transparent;
    border: 1px solid var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

/*About Section*/
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 0.5rem 1rem;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.tech-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-list i {
    font-size: 0.7rem;
}

.about-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
}

/*Experience Section*/
.experience-content {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.experience-tabs {
    display: flex;
    flex-direction: column;
    min-width: 160px;
}

.tab-btn {
    background: transparent;
    border: none;
    border-right: 2px solid rgba(136, 146, 176, 0.3);
    padding: 1rem 1.5rem 1rem 0;
    text-align: right;
    font-family: var(--font-main);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(100, 255, 218, 0.05);
}

.tab-btn.active {
    border-right: 2px solid var(--accent-color);
}

.experience-details {
    flex-grow: 1;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.date {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-list li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.task-list i {
    font-size: 0.7rem;
    margin-top: 0.4rem;
}




/*Projects Section*/
.project-container {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.project-card-stacked {
    width: 100%;
    max-width: 700px;
    background: rgba(12, 22, 38, 0.4);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(136, 146, 176, 0.1);
}

.project-image-area {
    position: relative;
    width: 100%;
    height: 350px;
    background: #000;
}

.project-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.project-card-stacked:hover .project-image-area img {
    opacity: 1;
}

.carousel-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-arrows i {
    background: rgba(12, 22, 38, 0.7);
    padding: 0.8rem 1rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.carousel-arrows i:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.project-details-area {
    padding: 2.5rem;
    text-align: center;
}

.project-details-area h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-details-area p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-tech {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.project-links a {
    font-size: 1.3rem;
    margin: 0 0.8rem;
}



/* Footer Section*/
.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(136, 146, 176, 0.1);
}

.site-footer p {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}




/*Mobile Responsiveness*/
@media (max-width: 768px) {
    header {
        padding: 1rem 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin: 0 auto;
    }

    .experience-content {
        flex-direction: column;
        gap: 2rem;
    }

    .experience-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        margin-bottom: 1rem;
    }

    .tab-btn {
        border-right: none;
        border-bottom: 2px solid rgba(136, 146, 176, 0.3);
        padding: 0.75rem 1.5rem;
        text-align: center;
        white-space: nowrap;
    }

    .tab-btn.active {
        border-bottom: 2px solid var(--accent-color);
    }

    .project-image-area {
        height: 250px;
    }

    .project-details-area {
        padding: 1.5rem;
    }
}
