
:root{
  --bg: #ffffff;
  --text: #1b1b1b;
  --muted: #666;
  --rule: #e7e7e7;
  --link: #0b57d0;
  --max: 120ch;

  --border: #e7e7e7;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 14px;

  --gutter: 24px;

  --container: 1200px;
  --radius: 14px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-family: Georgia, "Times New Roman", Times, serif;
}

a{
  color: var(--link);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
a:hover{ text-decoration-thickness: .12em; }

img{ max-width: 100%; height: auto; display: block; }

section{
  padding: 56px var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.title{
  margin: 0 0 .35rem;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section_text_p1,
.section_text_p2,
.experience-sub-title,
.nav-links a,
.btn,
.details-container h3,
.project-title,
.logo,
footer{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.section_text_p1{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}

.section_text_p2{
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: .35rem;
}

#desktop-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  padding: 14px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container{
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header{
  border-bottom: 1px solid var(--border);
  align-items: center;
  padding: 12px 0;
  justify-items: center;
}

/* DESKPTOP NAV */
.nav-links {
    display: flex;
}

.nav-links {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}



.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

.nav-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: 20px;
}
.nav-links a:hover{ color: var(--text); }

.top-nav{
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.top-nav a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.top-nav a:hover{ color: var(--text); }

.brand{
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px 
}

.logo{
  font-weight: 700;
  letter-spacing: .01em;
}

#hamburger-nav{
  border-bottom: 1px solid var(--border);
  padding: 14px var(--gutter);
  background: var(--bg);
}

.hamburger-menu{ position: relative; }

.hamburger-icon{
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-icon span{
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  display: block;
}

.menu-links{
  list-style: none;
  margin: 12px 0 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--card);
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  min-width: 200px;
}

.menu-links li{ margin: 0; padding: 0; }

.menu-links a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.menu-links a:hover{
  color: var(--text);
  background: rgba(17, 24, 39, .05);
}

.menu-links.open{ display: block; }

#profile{
  display: grid;
  grid-template-columns: 200px 1fr 400px;
  gap: 50px;
  align-items: center;
}

#about, #experience, #profile {
  height: 80vh;
}

#about, #experience {
  height: 100vh;
}

.section_pic-container img{
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  width: 200px;
  height: 200px;
}

.section_pic-container {
    display: grid;
    grid-template-rows: 1fr 100px ;
}

#socials-container{
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.icon{
  width: 28px;
  height: 28px;
  cursor: pointer;
}

#profile a[style]{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.btn-container{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn{
  appearance: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #111827;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
}

.btn:hover{
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

.btn:active{ transform: translateY(0); }

.btn-color-1{
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.btn-color-1:hover{ background: #0b0f1a; }

.btn-color-2{
  background: #fff;
  color: #111827;
}

.dot{
  opacity: 0.7;
}


.section-container{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}

.about-pic{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.details-container{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-containers{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.details-container{
  padding: 18px;
}

.text-container{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.experience-details-container{ margin-top: 18px; }

.article-container{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

article{
  display: flex;
  gap: 10px;
  align-items: center;
}

article h3{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

article p{
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

#projects {
    position: relative;
}


.project-img {
    border-radius: 2rem;
    width: 400px;
    height: 290px;
    margin: auto 0;
}

.project-title {
    margin: 1rem;
    color: black;
}

.project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
}

.project-details-container {
  padding: 1.5rem;
  flex: 1;

  display: flex;
  flex-direction: column;      
  align-items: center;         
  justify-content: center;    

  text-align: center;
}

.divide{
  position: relative;
}

.divide::after{
  content: "";
  display: block;
  width: 60%;             
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin: 1rem auto 0;    
}



.contact-info-upper-container{
  display: flex;
  padding: 18px;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}


.contact-icons{
  display: flex;
  gap: 2rem;             
  justify-content: center;
  align-items: center;
}

.contact-icons a{
  display: flex;
  align-items: center;
  gap: 0.5rem;              
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.95rem;
}

.contact-icon{
  width: 28px;
  height: 28px;
}

.arrow{
  width: 28px;
  height: 28px;
  margin: 24px auto 0;
  opacity: .7;
}
.arrow:hover{ opacity: 1; }

footer{
  border-top: 1px solid var(--border);
  padding: 28px var(--gutter);
  color: var(--muted);
}

footer .nav-links{
  justify-content: center;
  margin-bottom: 10px;
}

@media (max-width: 980px){
  section{ padding: 42px 16px; }

  .section-container{
    grid-template-columns: 1fr;
  }

  #profile{
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-containers{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px){
  #desktop-nav{ display: none; }
}
@media (min-width: 901px){
  #hamburger-nav{ display: none; }
}

