/* Reset + Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000000;
  color: #fff;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  scroll-snap-align: start;
  position: relative;
  padding: 10px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* If JS is disabled or not running, ensure sections are visible */
html.no-js section {
  opacity: 1 !important;
  transform: none !important;
}

/* Debug badge */
.debug-badge { position: fixed; right: 14px; bottom: 14px; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 0.9rem; z-index: 9999; }

/* Import component styles */
@import url('header.css');
@import url('hero.css');
@import url('projects.css');
@import url('timeline.css');

/* Contact Section */
.contact {
  background: #000000;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 500px;
}

input, textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: none;
}

button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background: #1e1e1e;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #1a3357;
}

/* Responsive */
@media (max-width: 600px) {
  .profile-pic { width: 120px; height: 120px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .shpe-logo { width: 80px; }
  .project img { max-width: 90%; }
  .project h2 { font-size: 1.6rem; }
  .project p { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .project img { max-width: 800px; }
}