/* Reset & Fonts */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #111;
  background-image: url("noise.51a05f55.png");
  background-repeat: repeat;
  background-size: 200px 200px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  scroll-behavior: smooth; 
  scroll-padding-top: 80px; /* Adjust based on your header/nav height */  
}

/* Layout Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem;
  position: relative;
}

:root {
  --btn-primary: #d1a113; /* Base Yellow */
  --btn-secondary: #e6b800; /* Slightly Lighter Yellow */
  --btn-tertiary: #c99c0b; /* Darker Golden Yellow */
}
::selection{
  background-color: #c99c0b;
  color: black;
}
/* Resume Download Button with Gradient Effect */
.btn-download {
  display: inline-block;
  padding: 10px 20px;
  background-size: 200%;
  background-image: linear-gradient(to right, var(--btn-primary) 0%, var(--btn-secondary) 51%, var(--btn-tertiary) 100%);
  border: 2px solid var(--btn-primary);
  color: #111;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.1s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Shine Effect */
.btn-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-30deg);
  transition: left .6s ease-in-out;
}

.btn-download:hover::before {
  left: 120%;
}

/* Button Hover Effect */
.btn-download:hover {
  background-position: right center;
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.5);
}


/* Projects List */
.projects-list {
  text-align: left;
  font-size: 1.1em;
  font-weight: 500;
}

.projects-list a {
  color: #d1a113;
  text-decoration: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #1a1a1a;
  padding: 5rem 2rem 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 1000;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

nav.open {
  right: 0;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a:hover {
  opacity: 1;
}

/* Section Titles */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid #d1a113;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
section {
  margin: 1rem 0 !important;
  padding: 0 1rem !important;
}
}
/* Paragraphs and Lists */


.professional-summary{
  margin-bottom: 1rem;
  color: #ccc;
  font-weight: 300;
}

.section-list {
  list-style: disc;
  margin-bottom: 2rem;
}
.section-list {
  list-style: none;
  margin-bottom: 2rem;
}
#skills .section-list li {
  font-size: 0.9rem;
  margin-bottom: .5rem;
  color: #bbb;
}

#strengths .section-list li {
  font-size: 0.9rem;
  margin-bottom: .5rem;
  color: #bbb;
}

/* Experience Section */
.experience-item {
  margin-bottom: 3rem;
}

.experience-item h3 {
  margin-bottom: 0.5rem;
}

.experience-item span {
  display: block;
  color: #999;
  margin-bottom: 1rem;
}

.experience-item ul {
  padding-left: 1.2rem;
}

.experience-item li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Contact Info */
.contact-info {
  color: #bbb;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  text-align: left;
  font-size: 0.9rem;
  color: #555;
}

/* Links */
a {
  color: #d1a113;
  text-decoration: none;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out, filter 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Navigation Button */
.menu-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle i {
  transition: transform 0.3s ease;
}

.menu-toggle.open i {
  transform: rotate(90deg);
}

/* Education Section */
#education .section-list {
  list-style: none;
  padding-left: 0;
}

#education .section-list li {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #bbb;
}

#education .section-list li strong {
  display: block;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

#education .section-list li span {
  color: #d1a113;
  display: block;
  margin-bottom: 0.2rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .container {
    max-width: 95%;
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 1rem;
  }
  
  nav {
    width: 100%;
    right: -100%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p, .section-list, .contact-info, footer {
    text-align: left;
  }
}

/* Section spacing adjustments */
section {
  margin: 4rem 0;
  padding: 0 1rem;
}
