/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Montserrat", sans-serif;
    background: url('CS.png') no-repeat center center fixed;
    background-size: cover;
    background-color: #e1d1c6;
    color: #5C2C06;
  }
  
  /* ------------------ NAVIGATION ------------------ */
  nav.desktop-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
  }
  
  nav.desktop-nav a {
    color: #5C2C06;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
  }
  
  nav.desktop-nav a:hover {
    background-color: #FFE5EC;
    color: #8B4513;
  }
  
  .mobile-nav {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 999;
  }
  
  .nav-toggle {
    width: 50px;
    height: 50px;
    background-color: #5C2C06;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .nav-lines {
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: relative;
  }
  
  .nav-lines::before,
  .nav-lines::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
    left: 0;
  }
  
  .nav-lines::before {
    top: -6px;
  }
  
  .nav-lines::after {
    top: 6px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #FFE5EC;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 4rem;
    opacity: 0;
    pointer-events: none;
  }
  
  .nav-menu.open {
    width: 250px;
    height: 360px;
    border-radius: 50% / 40%;
    opacity: 1;
    pointer-events: auto;
    padding-top: 4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  
  .nav-menu a {
    color: #5C2C06;
    text-decoration: none;
    margin: 0.75rem 0;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  /* ------------------ RESUME SECTION ------------------ */
  .resume-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    color: #5C2C06;
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
  
  #resume-typewriter::after {
    content: '|';
    animation: blink 0.7s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  .resume-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: auto;
    width: 90%;
    max-width: 1000px;
    background: #FFE5EC;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .resume-slider {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #5C2C06 #FFE5EC;
  }
  
  .resume-slider::-webkit-scrollbar {
    height: 8px;
  }
  
  .resume-slider::-webkit-scrollbar-thumb {
    background-color: #5C2C06;
    border-radius: 4px;
  }
  
  .resume-slider::-webkit-scrollbar-track {
    background-color: #FFE5EC;
  }
  
  .resume-card {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .resume-card:hover {
    transform: scale(1.05);
  }
  
  .resume-card img {
    max-height: 500px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
    display: block;
  }
  
  .arrow {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #5C2C06;
    transition: transform 0.3s;
  }
  
  .arrow:hover {
    transform: scale(1.2);
  }
  
  .resume-download {
    text-align: center;
    margin-top: 2rem;
  }
  
  .resume-download img {
    width: 40px;
  }
  
  /* ------------------ FOOTER ------------------ */
  footer {
    text-align: center;
    padding: 3rem 1rem 5rem;
  }
  
  .icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  
  .icons > div {
    display: flex;
    align-items: center;
  }
  
  .icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .icons img:hover {
    transform: scale(1.15);
  }
  
  footer .copyright {
    font-size: 12px;
    color: #5C2C06;
  }
  
  /* ------------------ SCROLL REVEAL ------------------ */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
  }
  
  .reveal.show {
    opacity: 1;
    transform: translateY(0px);
  }
  
  /* ------------------ RESPONSIVE ------------------ */
  @media (max-width: 800px) {
    nav.desktop-nav {
      display: none;
    }
  
    .mobile-nav {
      display: block;
    }
  
    .resume-slider-wrapper {
      flex-direction: column;
      padding: 1rem;
    }
  
    .resume-card img {
      max-width: 90%;
      height: auto;
    }
  
    .icons {
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 1rem;
      justify-content: center;
    }
  
    .copyright {
      padding: 3rem;
      font-size: 10px;
    }
  
    .resume-title {
      font-size: 32px;
    }
  
    .nav-menu a {
      font-size: 0.95rem;
    }
  
    .icons img {
      width: 28px;
      height: 28px;
    }
  }
  