/* ------------------ Base (dark) ------------------ */

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
}

/* ------------------ Navbar (glass) ------------------ */

.navbar {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 1px;
    border-radius: 14px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 14px 22px;
    z-index: 1000;

    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);

}

.nav-left{
    justify-self: start;
}

.nav-center{
    justify-self: center;
    display: flex;
    gap: 18px;
}

.logo{
    font-weight: 700;
    text-decoration: none;
    color: #e5e7eb;
}

.nav-center a{
    text-decoration: none;
    color: rgba(229, 231, 235, 0.85);
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 10px;
}

.nav-center a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

/* ------------------ Content spacing (so navbar doesn't cover it) ------------------ */

main {
  padding-top: 78px; /* match navbar height */
  display: flex;
  justify-content: center;
}

#app {
  max-width: 1100px;
  padding: 0 20px;
  width: 100%;
}

/* ------------------ Images ------------------ */

.project-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* ------------------ Home ------------------ */

.welcome-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.profile-photo{
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 24px;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.welcome-name{
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.welcome-role{
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.7;
    margin-bottom: 16px;
    min-height: 1.2rem;
}

.welcome-text{
    opacity: 0.8;
    font-size: 1.2rem;
}

/* ------------------ About ------------------ */

.about-section{
    padding-top: 40px;
}

.about-section h1{
    margin-bottom: 30px;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}
.about-section p{
    max-width: 90ch;
    line-height: 1.7;
    font-size: 1.05rem;
    color: rgba(229, 231, 235, 0.85);
    margin: 0 0 14px 0;
}

.about-section h1::after{
    content: "";
    display: block;
    width: 850px;
    height: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    margin-bottom: 60px;
}

/* ------------------ Projects ------------------ */

.projects-section{
    padding-top: 40px;
}

.projects-section h1{
    margin-bottom: 20px;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.projects-section h1::after{
    content: "";
    display: block;
    width: 852px;
    height: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.projects-section p{
    margin: 0 0 14px 0;
    max-width: 90ch;
    line-height: 1.7;
    font-size: 1.02rem;
    color: rgba(229, 231, 235, 0.85);
}

.projects-card{
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.see-more-btn{
    display: inline-block;
    margin-top: 14px;
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.see-more-btn:hover{
    background: rgba(255, 255, 255, 0.16);
}

/* ------------------ Project details ------------------ */

.details-section{
    padding-top: 40px;
}

.details-section h1{
    margin-bottom: 20px;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.details-section h1::after{
    content: "";
    display: block;
    width: 1100px;
    height: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.details-p{
    margin: 0 0 14px 0;
    max-width: 120ch;
    line-height: 1.7;
    font-size: 1.02rem;
    color: rgba(229, 231, 235, 0.85);
}

.btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.btn:hover{
    background: rgba(255, 255, 255, 0.16);
}

.details-section .details-p > section {
    margin-top: 40px;
}

.details-section .details-p > section:first-of-type {
    margin-top: 0;
}

.details-section h2 {
    margin: 0 0 14px 0;
}




/* ------------------ Education ------------------ */

.education-section{
    padding-top: 40px;
}

.education-section h1{
    margin-bottom: 30px;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.education-p{
    max-width: 90ch;
}

.education-card{
    line-height: 1.7;
    font-size: 1.02rem;
    color: rgba(229, 231, 235, 0.85);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.education-section h1::after{
    content: "";
    display: block;
    width: 852px;
    height: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

/* ------------------ Professional experiences ------------------ */

.professional-section{
    padding-top: 40px;
}

.professional-section h1{ 
    margin-bottom: 30px;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.professional-p{
    max-width: 90ch;
}

.professional-section h1::after{
    content: "";
    display: block;
    width: 852px;
    height: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.professional-section h4{
    margin-bottom: -10px;
}

.professional-card{
    line-height: 1.7;
    font-size: 1.02rem;
    color: rgba(229, 231, 235, 0.85);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ------------------ Contacts  ------------------ */

.contact-section{
    padding-top: 40px;
    text-align: center;
}

.contact-section h1{ 
    margin-bottom: 30px;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.contact-section h1::after{
    content: "";
    display: block;
    width: 100%;
    max-width: 850px;
    height: 2px;
    margin: 12px auto 0 auto;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    
}

.contact-actions{
    margin-top: 40px;
    display: flex;
    flex-direction: column;  
    align-items: center;      
    gap: 16px;
}

.contact-btn{
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-weight: 600;
    transition: all 0.2s ease; 
}

.contact-btn:hover{
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}