/* style.css */
:root {
    --bg: #121212;
    --fg: #f5f5f5;
    --accent: #e63946;
    --accent-light: #ff6b81;
    --panel: #1f1f1f;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    display: flex;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--fg);
    min-height: 100vh;
  }
  
  /* SIDEBAR */
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    border-right: 1px solid #333;
  }
  .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent);
    transition: transform 0.3s ease;
  }
  .profile-pic:hover {
    transform: scale(1.05);
  }
  .sidebar h2 {
    margin-bottom: 2rem;
    color: var(--accent);
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .nav-links a {
    padding: 0.6rem 1rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: var(--fg);
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: var(--accent);
    color: var(--bg);
  }
  .social {
    margin-top: auto;
  }
  .social a {
    display: block;
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: var(--fg);
    text-decoration: none;
    transition: color 0.3s;
  }
  .social a:hover {
    color: var(--accent-light);
  }
  
  /* MAIN CONTENT */
  .main-content {
    margin-left: 240px;
    padding: 2rem;
    width: calc(100% - 240px);
  }
  
  /* HERO */
  .hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(230,57,70,0.1), transparent);
    border-radius: 8px;
    animation: fadeIn 1s ease-out both;
  }
  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
  }
  .hero h1 span {
    color: var(--accent);
  }
  .hero p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
  }
  .btn {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
  }
  .btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
  }
  
  /* SECTION HEADERS */
  section {
    margin-top: 3rem;
  }
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    animation: fadeIn 0.6s ease both;
  }
  
  /* PROJECTS GRID */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  .project-card {
    background: var(--panel);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
  }
  .project-card img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
  }
  .card-content {
    padding: 1rem;
  }
  .card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
  }
  .card-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    color: white;
  }
  
  /* DL STYLING */
  dl dt {
    margin-top: 1rem;
    font-weight: bold;
  }
  dl dd {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    opacity: 0.9;
  }
  
  /* GALLERY IMAGES */
  #gallery .projects-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s;
  }
  #gallery .projects-grid img:hover {
    transform: scale(1.05);
  }
  
  /* CONTACT & CREDITS LINKS */
  #contact a {
    color: var(--accent);
    text-decoration: none;
  }
  #contact a:hover {
    text-decoration: underline;
  }
  
  /* ANIMATIONS */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  