/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  scroll-behavior: smooth;
}

/* === BASE === */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #f1f1f1;
  line-height: 1.6;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
p {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #ccc;
}

/* === SECTIONS === */
section {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

/* === HERO === */
#hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}
#hero .tagline {
  font-size: 1.3rem;
  color: #aaa;
}

/* === BUTTON === */
.btn {
  background: #0071e3;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,113,227,0.4);
}

/* === BADGES === */
.badges-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.badges-container img {
  height: 100px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.badges-container img:hover {
  transform: scale(1.1);
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
  position: relative;
  color: white;
}
.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* === CERTIFICATIONS CARD HOVER === */
.certif-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.certif-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

/* === PROJECT GRID === */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.project-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.project-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.project-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* === ANIMATIONS === */
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
  }
  .badges-container img {
    height: 80px;
  }
  .modal-content {
    padding: 1rem;
  }
}
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #5865F2;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.discord-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}
