/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevents mobile side-scrolling */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen;
  background-color: #0f172a;
  color: #e5e7eb;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

/* Custom Scrollbar for Sleek Look */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #38bdf8; border-radius: 10px; }

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Ensure all elements fit on mobile screens */
img, div, section {
  max-width: 100%;
}

/* Headings */
h1, h2, h3 {
  color: #f8fafc;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-top: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
}

/* Text */
p {
  margin-bottom: 1.25rem;
  color: #cbd5f5;
}

/* Lists */
ul {
  text-align: left;
  display: table;
  margin: 0 auto 1.5rem auto;
  padding-left: 20px;
}

li { margin-bottom: 0.5rem; }

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

a:hover { text-decoration: underline; }

/* Buttons / Nav links */
.nav {
  margin-top: 1rem;  /* reduced from 2rem */
  margin-bottom: 4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  border: 1px solid #38bdf8;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background-color: #38bdf8;
  color: #0f172a;
  text-decoration: none;
}

/* Video Placeholder Styling */
.video-placeholder {
  background-color: #1e293b;
  border: 1px dashed #38bdf8;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
}

.video-placeholder p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 0.9rem;
  color: #94a3b8;
}

section {
  border-bottom: none !important;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
}

/* Footer */
footer {
  width: 100%;
  text-align: center;
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid #1e293b;
}

.footer-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #38bdf8;
  font-weight: bold;
}

/* --- THE BADGE STYLING --- */

/* This centers the group of badges */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* This creates the actual 'button' look for each skill */
.badge {
  background-color: #1e293b;   /* Darker background */
  border: 1px solid #38bdf8;   /* Your light blue border */
  color: #38bdf8;              /* Light blue text */
  padding: 4px 12px;           /* Space inside the box */
  border-radius: 50px;         /* This makes it look like a 'pill' */
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;         /* Keeps the skill on one line */
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.profile-image {
  width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 2rem auto;
  display: block;
}


.wrestling-image {
  width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 2rem auto;
  display: block;
}

.project-video {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  aspect-ratio: 16 / 9;
}

.project-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
