/* 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 ------------------ */
  
  /* Full Nav for Desktop (visible >800px) */
  nav.desktop-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    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;
  }
  
  /* Collapsible Mobile Nav (hidden >800px) */
  .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;
  }
  
  /* ------------------ TITLE & WELCOME ------------------ */
  .title-section {
    text-align: center;
    margin-top: 8rem;
  }
  
  .title-section h1 {
    font-size: 48px;
    font-weight: 900;
    color: #5C2C06;
  }
  
  .title-section h2 {
    font-size: 20px;
    color: #8B4513;
    font-weight: 500;
    margin-top: 0.5rem;
  }
  
  .welcome {
    text-align: center;
    font-size: 24px;
    margin: 4rem 1rem;
    font-weight: 600;
  }
  
  #typewriter-text::after {
    content: '|';
    animation: blink 0.7s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* ------------------ 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 img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 14rem;
  }
  
  .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;
    }
  
    .title-section h1 {
      font-size: 28px;
    }
  
    .title-section h2 {
      font-size: 16px;
    }
  
    .welcome {
      font-size: 20px;
    }
  
    .nav-menu a {
      font-size: 0.95rem;
    }
  
    .icons img {
      width: 28px;
      height: 28px;
      margin-top: 14rem;
    }
  }
  