body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #0f172a;
    color: #f1f5f9;
    transition: background 0.3s, color 0.3s;
}

/* HEADER */
.header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background-color: #0b0c10; position: sticky; top: 0; z-index: 10; }
.logo { font-size: 1.8rem; color: #fff; }
.header nav a { color: #bbb; margin-left: 30px; transition: 0.3s; }
.header nav a:hover { color: #00ffaa; border-bottom: 2px solid #00ffaa; }

/* HEADER PIC */
.header-container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.header-pic { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 3px solid #60a5fa; transition: transform 0.3s; }
.header-pic:hover { transform: scale(1.05) rotate(3deg); }

/* MAIN */
main { max-width: 1000px; margin: 2rem auto; padding: 0 1rem; }
section { margin-bottom: 3rem; }
section h2 { border-bottom: 2px solid #38bdf8; padding-bottom: 0.5rem; margin-bottom: 1rem; }

/* SKILLS */
.skills-container { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill { background: #1e293b; padding: 0.5rem 1rem; border-radius: 0.5rem; transition: 0.2s; }
.skill:hover { transform: scale(1.05); background: #2563eb; }

/* PROJECTS */
.project-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.project { background: #1e293b; padding: 1rem; border-radius: 0.5rem; transition: transform 0.2s, box-shadow 0.3s; }
.project:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* FEATURED PROJECTS */
.featured-container { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.featured-card { background: #1e293b; padding: 1rem; border-radius: 0.5rem; transition: transform 0.2s; }
.featured-card:hover { transform: scale(1.05); background: #2563eb; }

/* FOOTBALL */
.football-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.football-pic { width: 300px; height: 200px; object-fit: cover; border-radius: 0.5rem; }

/* CONTACT */
.contact-form { max-width: 500px; margin: 30px auto; display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { padding: 12px; border: 2px solid #ddd; border-radius: 8px; }
.contact-form button { padding: 12px; background: #00ffaa; color: #000; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { background: #00ddaa; }

/* SOCIAL ICONS */
.social-icons { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.social-icons img { width: 40px; height: 40px; cursor: pointer; border-radius: 50%; transition: transform 0.3s; }
.social-icons img:hover { transform: scale(1.15); }

/* PAGE TRANSITIONS */
.page { display: none; animation: fade 0.5s ease; }
.active-page { display: block; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 1s, transform 1s; }
.fade-in.show { opacity: 1; transform: translateY(0); }
@keyframes fade { from { opacity:0; transform:translateY(10px);} to {opacity:1; transform:translateY(0);} }

/* FOOTER */
footer { text-align: center; padding: 1rem; background: #010817; color: rgb(6, 86, 191); }

/* DARK MODE */
body.dark-mode { background: #f1f5f9; color: #0f172a; }
body.dark-mode header { background: linear-gradient(90deg, #93c5fd, #2563eb); }
body.dark-mode .header nav a { color: #0f172a; }
body.dark-mode .skill, body.dark-mode .project, body.dark-mode .featured-card { background: #dbeafe; color: #0f172a; }
body.dark-mode footer { background: #1e293b; color: #f1f5f9; }
body.dark-mode .contact-form input, body.dark-mode .contact-form textarea { background: #f1f5f9; border: 2px solid #0f172a; color: #0f172a; }
body.dark-mode .contact-form button { background: #2563eb; color: #f1f5f9; }

/* CURRICULUM VITAE BUTTON */
.resume-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;
  min-height: 44px;

  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;

  border-radius: 10px;
  cursor: pointer;

  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

/* Light mode */
.resume-btn.outline {
  border: 2px solid #111;
  background: #111;
  color: #f6efef;
}

.resume-btn.solid {
  background: #111;
  color: #fff;
}

/* Hover & active */
.resume-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #266dd6;
}

.resume-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Dark mode */
.dark .resume-btn.outline {
  border-color: #f5f5f5;
  color: #f5f5f5;
}

.dark .resume-btn.solid {
  background: #f5f5f5;
  color: #111;
}

.resume-actions {
  display: flex;
  justify-content: center;   /* centers horizontally */
  margin-top: 28px;
}
