/* ---------- Global reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Native smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ---------- Body ---------- */
body {
  font-family: 'League Spartan', sans-serif;
  background: #000;
  color: #FFD700;
  cursor: none;
}

/* ---------- Typography ---------- */
h1,
h2,
.section-title,
.experience-title,
.education-title,
.hobby-title {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
}

p,
li,
.kv-line,
.project-card p,
.education-subtitle,
.experience-subtitle,
.experience-date {
  font-family: 'Open Sans', sans-serif;
}

/* ---------- Navigation ---------- */
nav {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

nav a {
  color: #FFD700;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  transition: color 0.25s, transform 0.2s;
}

nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Hero video ---------- */
.video-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 1.25rem 0;
}

footer h1 {
  font-size: 2rem;
  color: #FFD700;
  letter-spacing: 0.5px;
}

footer p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  opacity: 0.9;
  color: #ffffff;
}

/* ---------- Section base ---------- */
section {
  width: 100%;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.12);
}

/* ---------- About ---------- */
.about-me {
  padding: 4rem 2rem;
  text-align: center;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 90%;
  margin: 0 auto;
}

.image-container {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFD700;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.2);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  max-width: 900px;
  font-size: 1.2rem;
  line-height: 1.7;
}

.highlight {
  color: #FFD700;
  font-weight: 800;
}

.white-text {
  color: #fff;
  font-weight: 800;
}

/* ---------- Projects ---------- */
.projects {
  padding: 4rem 2rem;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  flex: 1 1 calc(30% - 2rem);
  max-width: 350px;
  min-width: 300px;
  background: #101010;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.55);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-info {
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Project links ---------- */
.project-links {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.project-links a {
  font-size: 0.8rem;
  color: #FFD700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ---------- Experience ---------- */
.experience {
  padding: 4rem 2rem;
}

.experience-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-title {
  font-size: 1.5rem;
}

.experience-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.9;
}

.experience-date {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
}

.experience-details {
  margin-left: 2rem;
  list-style: disc;
}

.experience-details li {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.inline-link {
  color: #FFD700;
  text-decoration: underline;
}

/* ---------- Education ---------- */
.education {
  padding: 3rem 2rem;
}

.education-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.education-subtitle,
.education-date {
  color: #fff;
}

/* ---------- Skills & Certifications ---------- */
.skills,
.certifications {
  padding: 4rem 2rem;
}

.kv {
  max-width: 900px;
  margin: 0 auto;
}

.kv-line {
  font-size: 1.1rem;
  line-height: 1.8;
}

.kv-key {
  font-weight: 800;
}

.kv-val {
  color: #fff;
  font-weight: 700;
}

.cert-list {
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cert-list li {
  color: #fff;
  font-size: 1.05rem;
}

/* ---------- Hobbies ---------- */
.hobbies {
  padding: 4rem 2rem;
}

.hobbies-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hobby-title {
  font-size: 1.35rem;
  color: #FFD700;
}

.hobby-item p {
  color: #fff;
}

/* ---------- Contact ---------- */
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.cv-anchor {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: underline;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.icon {
  width: 60px;
  height: 60px;
  transition: transform 0.25s;
}

.icon:hover {
  transform: scale(1.12);
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.7);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

@media (hover: none) {
  .cursor {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .video-container {
    height: 300px;
  }
  .project-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .image-container {
    width: 200px;
    height: 200px;
  }
  .about-content p {
    font-size: 1rem;
  }
}

/* ---------- Certifications link fix ---------- */
.certifications .kv-link {
  color: #FFD700;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.certifications .kv-link:hover {
  color: #ffffff;
}

.cv-anchor {
  color: #FFD700;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cv-anchor:hover {
  color: #ffffff;
}