@import url('../resources/main.css');

/* hero section */
.hero-section{
    width: 100%;
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    flex-direction: column;
    gap: 2rem;
    
}
.hero-section::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(50, 50, 50, 0.4);

}
.hero-section h1{
    color: white;
    z-index: 2;
    font-weight: 700;
    font-size: clamp(28px,2vw,58px);
    text-align: center;

}
.hero-section p{
    color: white;
    z-index: 2;
    font-weight: 700;
    text-align: center;
    font-size: clamp(20px,2vw,48px);

}

.main_contents{
    display: flex;
    flex-direction: row;
   justify-content: center;
   width: 100%;
   max-width: 1400px;
   margin: 0 auto;
   gap: 2rem;
   
}
.main_contents aside{
flex-basis:40%;

}
.side-nav{
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 5px;
    position: sticky;
    top: 0;
    border: 1px solid var(--dark-color);
    box-shadow: 2px 4px 5px rgba(50, 50, 50, 0.4);
}
.side-nav li{
    list-style: none;
    padding: 5px;
margin-bottom: 8px;
padding-bottom: 5px;
border-bottom: 1px solid var(--text-color);
}
.side-nav li a{
    color: var(--text-color);
    text-transform: uppercase;
font-size: clamp(18px,2em,20px);
}

main{
flex-basis: 100%;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background: var(--light-primary);
    box-shadow: var(--box-shadow);
}


.main_contents  h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.main_contents  h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-top: 10px;
}


.main_contents  p {
    line-height: 1.6;
    font-size: 1rem;
    color: var(--dark-color);
}



.supervisor {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--box-shadow);
}

.supervisor h3 {
    color: var(--primary-color);
}

/* === Publications Section === */
.publication {
    padding: 10px;
    border-left: 4px solid var(--primary-color);
    background: #fff;
    margin-bottom: 10px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
}

.publication p {
    font-size: 0.95rem;
    color: var(--dark-color);
}

.publication em {
    font-weight: bold;
    color: var(--secondary-color);
}



@media (max-width: 768px) {
    .main_contents  main {
        width: 95%;
        padding: 15px;
    }
    .main_contents {
        flex-direction: column;
    }

    .main_contents  h2 {
        font-size: 1.5rem;
    }

    .main_contents  h3 {
        font-size: 1.2rem;
    }

    .main_contents  p {
        font-size: 0.95rem;
    }

    .main_contents  ul li {
        font-size: 0.95rem;
    }
}