/* ============================================= */
/* NAVIGATION */
/* ============================================= */

/* Navigation bar */
#navigation {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 1rem; 
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 3.5rem;
    background: transparent;
    z-index: 10;
}

#navigation.navigation-home {
    opacity: 0; 
    transition: opacity 0.4s ease; 
}

#navigation.navigation-scrolled {
    background-color: var(--transparent-background);
    border-radius: 100px;
    transition: opacity 0.8s ease;
}

#navigation ul {
    display: flex;
    gap: 1.9rem;
}

/* Navigation links */
#navigation .nav-link {
    color: var(--white);
    font-family: var(--heading-font);
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.0625em;
    transition: var(--transition);
}

#navigation .nav-link:hover {
    color: var(--green);
}

/* Navigation menu */
#navigation .nav-name {
    display: none; 
    color: var(--white);
    font-family: var(--heading-font);
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.0625em;
}
#navigation .nav-menu {
    color: var(--white);
    font-size: 2rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: none;
    transition: var(--transition);
}

#navigation .nav-menu:hover {
    color: var(--green);
}

/* Navigation side bar */
#sidebar {
    position: fixed;
    top: 0;
    right: -250px; 
    width: 250px;
    height: 100%;
    background-color: var(--transparent-background); 
    transition: left 0.3s ease;
    z-index: 10; 
}

#sidebar ul {
    list-style: none;
    padding: 30px;
}

#sidebar li {
    margin: 20px 0;
}

/* Sidebar links */
#sidebar .sidebar-link {
    color: var(--white);
    font-family: var(--heading-font);
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.0625em;
    transition: var(--transition);
}

#sidebar .sidebar-link:hover {
    color: var(--green);
}

/* Sidebar close */
#close-sidebar {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
}

#sidebar .close-sidebar:hover {
    color: var(--green);
}

/* ============================================= */
/* HOME */
/* ============================================= */

/* Home background image */
#home {
    height: 100vh;
    padding-top: 45vh;
    text-align: center;
    color: var(--white);
    background-image: url("../assets/img/home-background.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    position: relative;
    z-index: 9;
}

/* Home headers */
#home .home-heading {
    font-size: 5rem;
    font-weight: 750;
    line-height: 3.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2rem;
    font-family: var(--heading-font);
}
#home .home-subheading {
    font-size: 1.75rem;
    font-weight: 250;
    line-height: 1.5rem;
    margin-bottom: 25px;
    font-family: var(--heading-font);
}

/* ============================================= */
/* ABOUT */
/* ============================================= */

#about {
    background: linear-gradient(to bottom, var(--green-background), var(--blue-background));
    padding-top: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

#about .about-section {
    background-color: transparent;
    max-width: 80%;
    padding-bottom: 100px;
    position: relative;
    border-radius: 10px;
}

/* About headings */
#about .section-heading {
    color: var(--white);
    padding-top: 75px;
}

#about .heading {
    color: var(--white);
}

#about .subheading {
    color: var(--grey);
    white-space: nowrap; 
}

#about .location {
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* About icons */
#about .icon {
    color: var(--white);
    margin-bottom: 15px;
}

#about .location .ion-icon{
    height: 1rem;
    width: 1rem;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#about .icon:hover{
    transform: scale(1.05);
}

/* About profile image */
#about .about-img{
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    border: 2px solid white;
    margin-bottom: 25px;
    position: center;
    z-index: 9;
}

/* About sections */
#typewriter {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    margin-top: 5px;
    margin-bottom: 5px;
    color: var(--white);

    padding-right: 4px;
    display: inline-block;
    animation: blink 0.8s infinite;
    min-height: 8.5em; 
}

#about .about-container{
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    margin-left: 10%;
    max-width: 100%;
    box-sizing: border-box;
}

#about .about-details{
    display: flex;
    flex-direction: column;
    align-items: center; 
    color: var(--grey);
}

#about .about-text{
    padding-left: 10%;
    color: var(--grey);
    text-align: left;
}

/* ============================================= */
/* SKILLS */
/* ============================================= */

/* Skils layout */
.skills {
    background: linear-gradient(to bottom, var(--blue-background), var(--green-background));
    padding-bottom: 100px;
}

#skills .skills-wrapper-test {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 200px)); 
    gap: 20px; 
    justify-content: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px;
  }
  
#skills .skill {
    background-color: transparent;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 9;
  }
  

/* Skills icon */
#skills .skills-wrapper img {
    background: transparent;
}
  
#skills .icon {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    border-radius: 0;
}

#skills .icon:hover {
    transform: scale(1.05);
}

#skills .skill:hover .overlay-text {
    opacity: 1; 
}

/* Skills text and headings */
#skills .section-heading{
    color: var(--white);
} 

#skills .heading{
    color: var(--white);
    text-align: center;
    padding: 25px;
}

#skills .subheading{
    color: var(--white);
}

#skills p {
    text-align: center;
}

#skills .overlay-text {
    color: var(--grey);
    opacity: 1;
    transition: var(--transition);
}

/* ============================================= */
/* EDUCATION */
/* ============================================= */

/* Education page */
#education {
    background: linear-gradient(to bottom, var(--green-background), var(--blue-background));
    text-align: center;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Education section heading */
#education .section-heading{
    color: var(--white);
}

/* Timeline page */
#education .timeline {
    width: 100%;
    max-width: 60%;
    background: rgba(255, 255, 255, 0.9);
    padding-top: 100px;
    padding-bottom: 100px;
    padding-right: 100px;
    padding-left: 50px;
    position: relative;
    border-radius: 10px;
}

/* Timeline line */
#education .icon {
    position: absolute;
    left: 27.75%;
    top: 15%;
    background-color: var(--grey);
}

/* Timeline entry */
#education .timeline-item {
    clear: both;
    text-align: left;
    position: relative;
}

/* Timeline text */
#education .timeline-title {
    float: left;
    width: 30%;
    padding-right: 45px;
    text-align: right;
    position: relative;
}

#education .timeline-body {
    margin: 0 0 3rem;
    float: right;
    width: 70%;
    padding-left: 45px;
}

#education .timeline-body ul {
    padding-left: 20px;
    list-style-type: disc;
}

#education .timeline-body p {
    font-style: italic;
}

#education .timeline-body h3 {
    font-weight: bold;
    color: var(--dark-grey);
    font-size: 1.1rem;
}

/* ============================================= */
/* PROJECTS */
/* ============================================= */

/* Projects page */
#projects {
    background: linear-gradient(to bottom, var(--green-background), var(--blue-background));
    text-align: center;
    padding-bottom: 100px;
    display: flex;
    justify-content: center; 
    align-items: center;     
    flex-direction: column;  
    gap: 50px;               
    padding: 60px 20px;
}

/* Project filter bar */
.project-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 7px;
    background: rgba(255,255,255,0.03); 
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 9;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-radius: 20px;
  }
  
  /* Project buttons */
  .filter-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: transform .12s ease, background-color .12s ease, color .12s ease;
    color: var(--text-muted, #cfcfcf);
    letter-spacing: .2px;
  }
  
  .filter-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
  }
  
  .filter-btn.active {
    color: var(--accent-fore, #fff);
    background: linear-gradient(90deg, rgba(56,189,248,0.12), rgba(16,185,129,0.06));
    box-shadow: 0 6px 18px rgba(16,185,129,0.06);
    border: 1px solid rgba(255,255,255,0.06);
  }

#projects .project-card {
    width: 80%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--transparent-background);;
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;     
    flex-direction: column;  
    border-radius: 20px;
}
  
.project-media video, 
.project-media img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    display: block;
    position: relative;
    background: transparent;
    z-index: 9;
    padding: 20px;
}
  
#projects .project-info {
    position: relative;
    padding: 20px;
    background: transparent;
    border-radius: 20px;
    z-index: 9;
}   

.project-info .icon {
    
    font-size: 28px;
    transition: color 0.3s ease;
}

/* Projects page */
/*#projects {
    background: linear-gradient(to bottom, var(--green-background), var(--blue-background));
    text-align: center;
    padding-bottom: 100px;
}*/

/* Project headings */
#projects h1{
    text-align: center !important;
}

#projects .project-description{
    padding-left: 15px;
    padding-right: 15px;
}

#projects .languages{
    padding-left: 15px;
    padding-right: 15px;
}

#projects .section-heading{
    color: var(--white);
}

#projects .project-grid .heading{
    color: var(--white);
    font-size: 1.25rem;
    padding-top: 10px;
}

#projects .subheading{
    color: var(--grey);
    font-size: 1rem;
}

#projects .project-info .heading{
    padding-right: 15px;
    padding-left: 15px;
}

/* Projects grid */
#projects .project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    justify-items: center;
    margin: 20px auto;
    max-width: 60%;
}

#projects .project-grid img {
    width: 100%;
    min-width: 250px;
    min-height: 250px;
    max-width: 250px;
    max-height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 10px;
}

#projects .project-grid img:hover {
    transform: scale(1.05);
}

#projects .project-item {
    text-align: center; 
    z-index: 9;
}

/* Modal popup */
#projects .modal {
    display: none; 
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(33,37,41,0.5);
}

#projects .modal-content {
    background-color: var(--white);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin: 5% auto;
    width: 100%;
    max-width: 700px;

    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

#projects .modal-content img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Modal texts */
#projects .modal-content h1{
    color: var(--dark-grey);
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: left;
    font-size: 1.25rem;
}

#projects .modal-content p {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 15px;
}

/* Modal footer */
#projects .modal-footer {
    display: flex;
    justify-content: space-between; 
    background-color: var(--grey-background);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
}

/* Modal footer link */
#projects .modal-link {
    color: var(--white);
    font-family: var(--heading-font);
    padding-left: 30px; 
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.0625em;
    transition: var(--transition);
}

#projects .modal-link:hover {
    color: var(--blue);
}

/* Modal footer closer button */
#projects .close {
    color: var(--white);
    font-size: 30px;
    font-weight: bold;
    padding-right: 30px; 
    cursor: pointer;
    padding-top: 10px;
}

#projects .close:hover {
    color: var(--blue);
    cursor: pointer;
}

/* ============================================= */
/* INTERESTS */
/* ============================================= */

/* Interests page */
#interests {
    background: linear-gradient(to bottom, var(--blue-background), var(--green-background));
    text-align: center;
    padding-bottom: 100px;
}

/* Interests headings */
#interests h1{
    text-align: center !important;
    margin-left: 10px;
    margin-right: 10px;
}

#interests .section-heading{
    color: var(--white);
}

#interests .art-grid .heading{
    color: var(--white);
    font-size: 1.25rem;
    padding-top: 10px;
}

#interests .details {
    padding-right: 50px;
    padding-left: 50px;
}

#interests .subheading{
    color: var(--grey);
    font-size: 1rem;
}

/* Interests grid */
#interests .art-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    justify-items: center;
    margin: 20px auto;
    max-width: 60%;
}

#interests .art-grid img {
    width: 100%;
    min-width: 300px;
    min-height: 400px;
    max-width: 300px;
    max-height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 10px;
}

#interests .art-grid img:hover {
    transform: scale(1.05);
}

#interests .art-item {
    text-align: center; 
    z-index: 9;
}

/* ============================================= */
/* CONTACT */
/* ============================================= */

/* Contact layout */
.contact {
    background: linear-gradient(to bottom, var(--green-background), var(--blue-background));
    padding-bottom: 100px;
    position: relative;
}

#contact .contact-container {
    display: flex;
    justify-content: center; 
    max-width: 60%; 
    margin: 0 auto;
    align-items: center;
    padding-bottom: 50px;
}

#contact .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center; 
    flex: 1;
}

/* Contact text and headings */
#contact .section-heading {
    color: var(--white);
} 

#contact .heading {
    color: var(--white);
    font-size: 1.25rem;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

/* Contact icon */
#contact .icon {
    height: 6rem;
    width: 6rem;
    padding-top: 10px;
    background: transparent;
    font-size: 60px;
    object-fit: contain;
}

#contact .icon:hover {
    transform: scale(1.05);
}

/* ============================================= */
/* Footer */
/* ============================================= */

.footer {
    background: var(--blue-background);
    padding-bottom: 30px;
    padding-top: 30px;
    text-align: center;
}