/* Base styles */
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #333;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;  /* Enable vertical scroll snap (each section as a page):contentReference[oaicite:4]{index=4} */
  /* Note: 'mandatory' snapping may skip content if a section is taller than one screen:contentReference[oaicite:5]{index=5} */
  overflow-y: auto;
  transition: background 0.3s, color 0.3s;
  font-size: 18px;
  line-height: 1.7;
}
/* Dark theme (toggled via .dark on body) */
.dark {
  background-color: #D2B48C;
  color: #5C4033;
}
.dark h2 {
  color: #5C4033;
}
.dark .timeline-content span {
  color: #aaa;
}

/* Full-page section styles */
section {
  scroll-snap-align: start;       /* Snap each section to start of viewport:contentReference[oaicite:6]{index=6} */
  min-height: 100vh;             /* Each section takes at least one full viewport height */
}
.hero {
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #343434);
  color: white;
  /* Center content vertically in hero section */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.hero-img {
  width: 180px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 4px solid #ffcb05;
}
.hero-title {
  font-size: 3.5rem;
  color: #ffcb05;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: 1.5rem;
  margin-top: 0.8rem;
}
.scroll-nav {
  margin-top: 1rem;
}
.scroll-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  background-color: #ffcb05;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.9rem;
}
.scroll-nav a:hover {
  background-color: #e0b704;
}

/* Section content layout */
.section {
  padding: 2rem 2rem;
  max-width: 900px;
  margin: auto;
}
h2 {
  font-size: 2rem;
  border-left: 6px solid #ffcb05;
  padding-left: 1rem;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}

/* Technical Skills List */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}
.skill-item {
  flex: 1 1 250px;
}
.skill-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-heading h3 {
  margin: 0;
}
.skill-heading img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Project Showcase */
.project-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.project-text {
  flex: 1 1 300px;
}
.project-img {
  flex: 1 1 300px;
  max-width: 400px;
  width: 100%;
  border: 3px solid #eee;
  border-radius: 12px;
}
.image {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 2rem auto;
  border: 3px solid #eee;
  border-radius: 12px;
}

/* Timeline styles */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 4px solid #ffcb05;
  padding-left: 2rem;
  margin-top: 2rem;
}
.timeline-item {
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.15rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: #ffcb05;
  border-radius: 50%;
}
.timeline-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #1a1a1a;
}
.timeline-content span {
  display: block;
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 0.3rem;
}
.timeline-content p {
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 1rem;
  /* Ensure footer can snap into view if scrolling to bottom */
  scroll-snap-align: start;
  font-size: 1rem;
}

/* Resume download button */
.resume-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background-color: #ffcb05;
  color: #1a1a1a;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Theme toggle button */
#theme-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #eee;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}


