/* Define CSS Variables */
:root {
    /* Backgroung Colors */
     /* Dark Themed */
     --bg: #0D0D0D;
     --bg-nav: #171717;
 
    /* Text Colors */
     /* p */
     --text-p: #CCCCCC;
     --text-p-muted: #7A7A7A;

     /* a */
     --text-a: #7A7A7A;
     --text-a-hover: #CCCCCC;

     /* Cards */
     --text-card-title: #CCCCCC;

     --text-card-used-PS: #00CD57;
     --text-card-used-TDI: #C0CC14;
     --text-card-used-PS: #9300CD;
     --text-card-used-PS: #003CFF;
     --text-card-used-PS: #7A7A7A;
     --text-card-used-PS: #FF0000;
     
     --text-card-description: #FFFFFF;

     /* Resume Descriptions */
     --text-resume: #CCCCCC;


    /* Light Themed */
    --bg-light: #F2F2F2;
    --bg-nav-light: #E1E1E1;

    /* Text Colors */ 
     /* a */
     --text-a-light: #333333;
     --text-a-hover-light: #666666;
}

/* no-scroll function */
/* Disable scrolling on body when no-scroll class is applied */
.no-scroll {
    overflow: hidden;
}

/* Classes - texts */
/* Navbar Links */
.link {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* regular */
    font-size: 16px;
    
    line-height: 20px;
    letter-spacing: 0;
}

/* Landing Title and Subtitle */
.title {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* regular */
    font-size: 84px;
    
    line-height: 1.5;
    letter-spacing: -0.7%;

    background: linear-gradient(to right, #666666, #CCCCCC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin: 0;
    padding: 0;
}
.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* regular */
    font-size: 32px;

    line-height: 1.5;
    letter-spacing: -0.01%;

    background: linear-gradient(to right, #7D7F78, #E1E5D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin: 0;
    padding: 0;

    padding-left: 8px;
}

/* Quote */
.quote {
    font-family: 'Inter', sans-serif;
    font-weight: 600; /* semibold */
    font-size: 40px;

    line-height: 1.5;
    letter-spacing: -0.7%;

    color: #CCCCCC;

    opacity: 0;
    transition: opacity 0.5s ease-out;

    margin: 0;
    padding: 0;
}

/* Individual Sections Title and Subtitle*/
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: bold; 
    font-size: 72px;

    line-height: 1.2;
    letter-spacing: -0.7%;

    background: linear-gradient(to right, #7D7F78, #E1E5D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin: 0;
    padding: 0;
}
.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; 
    font-size: 48px;

    line-height: 1.5;
    letter-spacing: 1.5%;

    background: linear-gradient(to right, #7D7F78, #E1E5D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin: 0;
    padding: 0;
}

/* Paragraph */
.paragraph {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* regular */
    font-size: 24px;

    line-height: 1.5;
    letter-spacing: -0.7%;

    margin: 0;
    padding: 0;

    color: #CCCCCC;
}
.paragraph > span {
    color: #7A7A7A;
}

/* Card */
/* Card title */
.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; 
    font-size: 32px;

    line-height: 1.5;
    letter-spacing: 1.5%;

    color: #CCCCCC;

    margin: 0;
    padding: 0;

    padding-top: 38px;
}
.card-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400; 
    font-size: 20px;

    line-height: 1.5;
    letter-spacing: 1.5%;

    color: #FFFFFF;

    margin: 0;
    padding: 0;
}


/* General */
* {
    box-sizing: border-box;
}
/* BODY */ 
body {
    margin: 0;
    padding: 0;

    background-color: var(--bg);

    overflow-x: hidden;
}

/* HEADER */
header {
    display: flex;
    
    justify-content: space-between;
    align-items: center;
    
    width: 100%;
    height: 110px;
    
    padding: 0 14%; /* 14% padding on both sides */
}

/* Logo */
.logo-container {
    display: flex;
    
    align-items: center;
    
    width: 71px;
    height: 50px;

    z-index: 11;
}

.logo-container > img {
    width: 71px;
    height: 50px;
}

/* Navbar */
nav {
    display: flex;
    
    align-items: center;
    justify-content: space-between; /* Space between ul and contact link */
    
    width: 100%;
    height: auto;
    
    margin: 0;
    padding: 0;
}

/* Unordered List */
ul {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 475spx;

    margin: 0 auto; /* Center the ul */
    padding: 20px 60px;

    background-color: var(--bg-nav);
    border-radius: 20px;

    gap: 34px;

    z-index: 20;
}

/* List Items */
li {
    display: flex;
    
    align-items: center;
    
    list-style: none;
    
    height: 30px;

    z-index: 21;
}
#contact-li {
    display: none;
}

/* Links */
a {
    text-decoration: none;
   
    color: var(--text-a);

    display: inline-block;
    transition: all 0.4s;
}
a:hover {
    color: var(--text-a-hover);
    letter-spacing: 1px;
}

a#contact-link {
    text-align: center;
    
    width: 160px;
    
    padding: 15px 30px;
    
    background-color: var(--bg-nav);
    border-radius: 20px;

    z-index: 21;
}

/* Hamburger Menu Style */
.hamburger {
    display: none;

    flex-direction: column;
    justify-content: space-between;
    
    width: 30px;
    height: 21px;

    margin-right: 5px;
    
    cursor: pointer;
    z-index: 22; /* Ensures it appears on top */
}
  
.bar {
    height: 3px;
    width: 100%;
    
    background-color: #ffffff;
    
    border-radius: 10px;
    
    transition: all 0.3s ease;
}

/* MAIN */
/* Landing Section */
.landing-container {
    display: flex;

    flex-direction: row;

    padding: 0 14%;

    width: 100%;
    height: calc(100vh - 110px);

    position: relative;
    overflow: hidden; /* Ensure stars don't overflow */

    z-index: 5;
}
/* Billboard with texts */
.texts-container {
    width: 50%;
    height: 100%;
}
#title-container {
    display: flex;

    justify-content: left;
    align-items: end;

    width: 100%;
    height: 55%;

    z-index: 6;
}
#subtitle-container {
    display: flex;

    justify-content: left;
    align-items: start;

    width: 100%;
    height: 45%;

    z-index: 6;
}
/* profile image container */
.img-container {
    display: flex;

    justify-content: right;
    align-items: center;

    width: 50%;
    height: 100%;

    z-index: 6;
}
.img-container > img {
    width: 80%;
    height: auto;

    z-index: 6;
}

/* Stars container */
.stars-container {
    position: absolute;

    top: 0;
    left: 0;
    
    width: 100vw;
    height: 100vh;
    
    overflow: hidden;
    
    pointer-events: none; /* Ensure stars are not clickable */
    
    z-index: 1; /* Above background but under content */
}
/* Basic star styles */
.star {
    position: absolute;

    width: 2px;
    height: 2px;
    
    background: white;
    
    opacity: 0.8;
    
    border-radius: 50%;
    
    animation: shine 2s ease-in-out infinite;
}
/* Shining effect for stars */
@keyframes shine {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(2.5);
    }
}

/* Quote Section */
#quote-sec {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100vh;
}
#quote-sec > h2 {
    width: 546px;

    text-align: center;
}

/* About Me Section */
.capture-container {
    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 100vw; /* Prevent overflow beyond the viewport width */

    height: 100vh;

    overflow-x: hidden;

    gap: 38px;   
}
#aboutme-title, #projects-title, #resume-title {
    display: inline-block; 
    width: auto; 
    height: 96px;

    text-align: center;
}
#aboutme-description, #projects-description, #resume-description {
    width: 829px;
    height: fit-content;
    text-align: center;
}

.student-container, .athlete-container {
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 100vh;

    padding: 0 14%;
}

.text-part {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: start;

    width: 50%;
    height: 100%;

    gap: 19px;
}
.img-part {
    display: flex;

    justify-content: right;
    align-items: center;

    width: 50%;
    height: 100%;
}
.img-part > img {
    width: 512px;
    
    border-radius: 20px;
    box-shadow: 20px 20px 4px 0px rgba(0, 0, 0, 0.25);
}

/* Projects Section */
.cards-container {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;

    padding: 0 14%;

    gap: 38px;
}

.cards-row {
    display: flex;

    flex-direction: row;

    justify-content: space-between;
    align-items: center;
}

.card {
    width: 48%;
    height: 720px;

    max-width: 550px;

    background: linear-gradient(to bottom, #1E1E1E 0%, var(--bg-nav) 10%);

    border-radius: 30px;

    display: flex;
    flex-direction: column;

    align-items: center;

    padding-top: 50px;
}
.card-inside > p {
    padding-top: 27px;
}

.img-bg {
    display: flex;

    align-items: center;
    justify-content: center;
    
    width: 450px;
    height: 450px;

    border-radius: 30px;
}

/* PS Card */
#PS .img-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #166D3B 50%);   
}
#PS .img-bg > img {
    width: 450px;
    height: 360px;
}

/* TDI Card */
#TDI .img-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #0952a3 50%);   
}

#TDI .img-bg > img {
    width: 360px;
    height: 360px;
}

/* DAPI Card */
#DAPI .img-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #9E00FF 50%);   
}

#DAPI .img-bg > img {
    width: 320px;
    height: 320px;
}

/* AFAP Card */
#AFAP .img-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #aa0000 50%);   
}

#AFAP .img-bg > img {
    width: 450px;
    height: 360px;
}

/* LS Card */
#LS .img-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #824100 50%);   
}

#LS .img-bg > img {
    width: 450px;
    height: 400px;
}

/* DC Card */
#DC .img-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #1D2D41 50%);   
}

#DC .img-bg > img {
    width: 450px;
    height: 450px;
}


/* "More .." link part */
.more-projects-container {
    display: flex;

    justify-content: center;

    width: 100%;
    height: 150px;
}
#more {
    font-family: 'Inter', sans-serif;
    font-weight: bold; 
    font-size: 32px;

    line-height: 1.5;
    letter-spacing: -0.01%;
    
    margin: 0;
    padding: 57px 5px 0px 5px;
}
#cursor {
    width: 72px;
    height: 48px;

    margin-top: 89px;
    margin-left: -10px;
}


/* Resume Section */
.resume-container {
    width: 100%;
    height: 1440px;

    display: flex;

    justify-content: center;
    align-items: center;
}
.resume-container > img {
    width: 1240px;
    height: 1120px;
}
#resume-smaller {
    display: none;
}

/* Podcast section */
#podcast-sec {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100vw;
    height: 100vh;

    padding: 0 14%;
}

#podcast-sec > .img-part {
    justify-content: start;
}
#podcast-sec > .img-part > img {
    width: 450px;
    height: 450px;

    border-radius: 20px;

    box-shadow: 0 0 0 20px #1C1C1B; /* Shadow positioned like an extra border */

    margin: 20px;

    opacity: 1;
}
#podcast-larger {
    display: none;
}

.description-part {
    width: 50%;

    gap: 0;
}
.description-part > h3 {
    line-height: 1.2em;

    margin-bottom: 19px;

    background: linear-gradient(to left, #7D7F78, #E1E5D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#date-uploaded {
    font-size: 16px;

    margin-bottom: 27px;
}

.icons-container {
    display: flex;

    gap: 16px;

    margin-top: 38px;
    margin-bottom: 57px;
}

#podcast-player {
    width: 100%;
}