﻿/* Reset some default styles */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

:root {
    --purple: #820385;
}
/*Montserrat*/
/*Orbitron*/
body, h1, h2, ul, li, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
}

h1, h2, h3, .navbar a, .project-info h3, .experience-info h3, section h2 {
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.header h1 {
    font-size: 4rem; /* Larger main name */
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: bold;
    /* -webkit-text-stroke: 1px var(--purple); */
    /* text-stroke: 1px var(--purple); */
    text-shadow: 2px 2px 0 #4b014b, 4px 4px 8px rgba(130,3,133,0.3);
}

.header h2 {
    font-size: 2.2rem; /* Larger subtitle */
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: normal;
    /* -webkit-text-stroke: 0.5px var(--purple); */
    /* text-stroke: 0.5px var,--purple); */
    text-shadow: 1px 1px 0 #4b014b, 1px 1px 1px rgba(130,3,133,0.3);
}

/* Remove or further reduce stroke on small screens */
@media (max-width: 600px) {
    .header h1 {
        /* -webkit-text-stroke: 0.5px var(--purple); */
        /* text-stroke: 0.5px var,--purple); */
    }
    .header h2 {
        /* -webkit-text-stroke: 0.2px var(--purple); */
        /* text-stroke: 0.2px var,--purple); */
    }

    .header {
        height: 100vh;
        padding: 0 0.5rem;
    }

    .header h2 {
        font-size: 1.5rem; /* Already set */
        text-align: center; /* Center the subtitle on mobile */
    }
}

.about-me {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center; /* Center the whole section */
    padding-right: 0;
    max-width: 1100px; /* Optional: keeps the section from being too wide */
    margin-left: auto;
    margin-right: auto;
}

    .about-me .profile-photo {
        width: 350px;
        height: 350px;
        object-fit: cover;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        margin-left: 2rem;
        border: 4px solid var(--purple);
        flex-shrink: 0; /* Prevent shrinking in flexbox */
    }
img.profile-photo {
    display: block;
}

.about-me .summary {
    max-width: 700px; /* Increase this value for more text per line */
    min-width: 300px;
    text-align: center; /* More readable for longer lines */
    flex: 1 1 0; /* Allow the text to take up available space */
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #000000;
    color: #222;
    line-height: 1.6;
}




/* Navigation Bar */
.navbar {
    background: rgba(130, 3, 133, 0.7); /* semi-transparent purple */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1.5px solid rgba(255,255,255,0.18);
    width: 400px;
    padding: 1.2rem 2rem;
    border-radius: 50px / 50px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
    display: flex;
    justify-content: center; /* Center the ul horizontally */
    align-items: center;
    position: fixed;
    top: 2rem;
   /* Move to top right */
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 1000;
}

.hide-on-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}



    .navbar ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }

    .navbar a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        transition: background 0.2s;
    }

        .navbar a:hover {
            background: #000000;
        }


.resume-float {
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    z-index: 2000;
    background: var(--purple);
    border-radius: 50%;
    //box-shadow: 0 4px 16px rgba(44, 62, 80, 0.18);
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.18), 0 0 16px 2px var(--purple);
    transition: box-shadow 0.3s;
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    //transition: background 0.2s;
}

    .resume-float:hover {
        background: #fff;
        box-shadow: 0 8px 32px rgba(130,3,133,0.25), 0 0 32px 6px var(--purple);
    }
    

.resume-float-icon {
    height: 48px; /* Adjust size as needed */
    width: 48px;
    display: block;
}



    




/* Header Section */
.header {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    background: radial-gradient(circle at 60% 40%, rgba(130,3,133,0.45) 0%, rgba(0,0,0,0.95) 80%);
    background-size: 200% 200%;
    background-position: 60% 40%;
    animation: move-gradient 7s ease-in-out infinite alternate, fade-gradient 7s ease-in-out infinite alternate;
    height: 100vh; /* Full viewport height */
    padding: 0 1rem; /* Remove large vertical padding */
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.05);
    margin-bottom: 0; /* Remove space below header */
    text-shadow: 0 0 4px var(--purple), 0 0 4px var(--purple), 0 1px 1px #000;
    /* Optional: add a purple outline (works in most browsers) */
    -webkit-text-stroke: 1px var(--purple);
    text-stroke: 2px var(--purple);
}

    .header::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 170px; /* Adjust for a longer/shorter fade */
        pointer-events: none;
        z-index: 2;
        background: linear-gradient( to bottom, rgba(0,0,0,0) 0%, #000 100% );
    }

@keyframes move-gradient {
    0%   { background-position: 60% 40%; }
    10%  { background-position: 55% 45%; }
    25%  { background-position: 30% 60%; }
    40%  { background-position: 70% 70%; }
    55%  { background-position: 80% 30%; }
    70%  { background-position: 40% 20%; }
    85%  { background-position: 65% 60%; }
    100% { background-position: 70% 30%; }
}

@keyframes fade-gradient {
    0%   { opacity: 1; }
    8%   { opacity: 0.85; }
    18%  { opacity: 0.7; }
    27%  { opacity: 0.95; }
    38%  { opacity: 0.6; }
    50%  { opacity: 0.8; }
    62%  { opacity: 0.65; }
    74%  { opacity: 0.9; }
    85%  { opacity: 0.75; }
    100% { opacity: 1; }
}

.summary {
    text-align: center;
}

    .summary h1 {
        font-size: 2.7rem; /* Size */
        margin-bottom: 0.2rem;
        color: #ffffff;
    }

    .summary p {
        color: #ffffff;
        font-size: 1.3rem; /* Size */
    }



/* Section Styles */
section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.05);
}

    section h2 {
        color: #fff;
        margin-bottom: 0.1rem;
        font-size: 6rem;
        /* border-bottom: 2px solid var(--purple); */
        text-align: center;
        /* Add text shadow for purple glow */
        text-shadow: 0 0 4px var(--purple), 0 0 16px var(--purple), 0 2px 2px #000;
        /* Optional: add a purple outline (works in most browsers) */
        -webkit-text-stroke: 2px var(--purple);
        text-stroke: 2px var,--purple); /* Not widely supported, but safe to include */
    }

    section ul {
        list-style: disc inside;
        margin-left: 1rem;
    }

    section li {
        margin-bottom: 0.75rem;
        font-size: 1.05rem;
    }

/* Projects */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-left: -15px; /* Move projects to the left */
    width: calc(100% + 40px); /* Prevent clipping on the right */
}

.project-card {
    background: #f8f8f8;
    border: 3px solid var(--purple);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    width: 270px;
    height: 320px; /* Fixed height for uniformity */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1.5rem 0.4rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden; /* Prevent content overflow */
    justify-content: flex-start; /* Align content to the top */
}

    .project-card:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 6px 20px rgba(44, 62, 80, 0.15);
    }

.project-image {
    width: 280px; /* Fixed width */
    height: 170px; /* Fixed height */
    object-fit: cover; /* Ensures image fills the area and is cropped if needed */
    border-radius: 15px;
    margin-bottom: 0.2rem;
    border: 1.5px solid #ddd;
    display: block;
    background: #eee; /* Optional: placeholder background for transparency */
}

.project-info h3 {
    margin: 0.0rem 0 0rem 0;
    font-size: 1.5rem;
    color: var(--purple);
    text-align: center;
}

.prize {
    color: #333;
    font-size: 1.2rem;
    text-align: center;
    
}

.tools {
    color: var(--purple);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.5rem; 
}
/* Experience */
.experience-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.experience-card {
    background: #f8f8f8;
    border: 2.5px solid var(--purple);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.10);
    width: 95%;
    max-width: 800px;
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    gap: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .experience-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18);
    }

.experience-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid #ddd;
    margin-right: 1rem;
}

.experience-info {
    flex: 1;
}

    .experience-info h3 {
        margin: 0 0 0.3rem 0;
        font-size: 1.4rem;
        color: var(--purple);
    }

.company {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.2rem;
}

.duration {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.description {
    color: #222;
    font-size: 1.08rem;
}



.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.skill-card {
    background: #f8f8f8;
    border: 2px solid var(--purple);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .skill-card:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 6px 20px rgba(44, 62, 80, 0.13);
    }

.skill-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.skill-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--purple);
    text-align: center;
}


/* Responsive Design */
@media (max-width: 900px) {
    .about-me {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .mini-nav {
        /* Move to BOTTOM MIDDLE */
        top: auto;
        right: auto;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        /* Other adjustments for smaller screens */
        max-width: 95vw;
        padding: 0.5rem 1rem;
        gap: 2rem;
    }

    .mini-nav-icon {
        width: 36px;
        height: 36px;
    }

        .about-me .profile-photo {
            width: 300px;
            height: 300px;
            margin-left: 0;
            margin-bottom: 1rem;
        }

        .about-me .summary {
            max-width: 95vw;
            min-width: 0;
            text-align: center;
        }

    .header {
        padding: 6rem 1rem 3rem 1rem;
    }

        .header h1 {
            font-size: 2.5rem;
            text-align: center; /* Center the main name on smaller screens */
        }

        .header h2 {
            font-size: 2.0rem;
            text-align: center; /* Center the subtitle on smaller screens */
        }
}

@media (max-width: 600px) {
    .navbar {
        width: 85vw;
        padding: 0.5rem 0.5rem;
        border-radius: 30px;
    }

        .navbar ul {
            gap: 1.5rem; /* Reduce space between nav items */
        }

        .navbar a {
            padding: 0.3rem 0.5rem; /* Reduce padding inside nav links */
            font-size: 0.9rem; 
        }

    .about-me {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-me .profile-photo {
        width: 200px;
        height: 200px;
    }

    .header {
        height: 100vh;
        padding: 0 0.5rem;
    }

    .header h1 {
        font-size: 2.7rem; /* Increased from 1.5rem */
    }

    .header h2 {
        font-size: 1.3rem; /* Increased from 1rem */
        text-align: center; /* Center the subtitle on mobile */
    }

    section h2 {
        font-size: 3.0rem;
    }

    /* Only stack projects, not skills */
    .projects-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    /* Let skills wrap in rows */
    .skills-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .project-card {
        width: 80vw;
        max-width: 80vw;
        height: 400px;
        padding: 0.5rem 1rem 1rem 1rem;
        font-size: 1.15rem;
    }

    .project-image {
        width: 100%;
        height: 200px;
        margin-bottom: 0.5rem;
    }

    .project-info h3 {
        font-size: 2rem;
    }

    .experience-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem 0.5rem;
    }

    .experience-image {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 140px;
        height: 140px;
    }

    .experience-info {
        width: 100%;
    }
}

.summary h1 {
    font-size: 2rem;
    margin-bottom: 0.1rem; /* Reduce space below your name */
    color: #ffffff;
}

.summary h2 {
    font-size: 1.5rem; /* Size */
    margin-top: 0;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: normal;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

    .project-link:visited,
    .project-link:active,
    .project-link:focus {
        text-decoration: none;
        color: inherit;
    }

    .project-link .project-card {
        cursor: pointer;
    }
/* Mini Nav Bar Styles */
.mini-nav {
    background: rgba(130, 3, 133, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1.5px solid rgba(255,255,255,0.18);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: fixed;
    z-index: 2001;
    transition: opacity 0.4s;
    /* == Default position for desktop: TOP RIGHT == */
    top: 2rem;
    right: 2.5rem;
}

.mini-nav-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}



@media (max-width: 1000px) {
    .mini-nav {
        
        top: auto;
        right: auto;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        
        max-width: 95vw;
        padding: 0.5rem 1rem;
        gap: 2rem;
    }

    .mini-nav-icon {
        width: 36px;
        height: 36px;
    }
}

/* Mobile: Move mini-nav to bottom center */
@media (max-width: 600px) {
    .mini-nav {
        top: auto;
        bottom: 1.5rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: auto;
        min-width: 0;
        max-width: 95vw;
        border-radius: 30px;
        padding: 0.5rem 1rem;
        gap: 2rem;
        height: auto;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
    }
    .mini-nav-icon {
        width: 36px;
        height: 36px;
        max-width: 36px;
        max-height: 36px;
        object-fit: contain;
        display: block;
    }
}

/* Move resume-float to top right and hide it (if you want only the mini-nav at top) */
.resume-float {
    position: fixed;
    top: 1.5rem;
    right: 2.5rem;
    bottom: auto;
    z-index: 2000;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.18), 0 0 16px 2px var(--purple);
    transition: box-shadow 0.3s;
    padding: 0.7rem;
    display: none; /* Hide the floating resume button if using mini-nav */
    align-items: center;
    justify-content: center;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}
body, html {
    background: #000;
}
