/* RESET */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; cursor: none; } html { scroll-behavior: smooth; } body { background: #000; color: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* NAV */ nav { position: fixed; top: 0; left: 0; right: 0; height: 60px; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; background: rgba(0,0,0,0.8); border-bottom: 1px solid #222; z-index: 1000; backdrop-filter: blur(6px); } nav .logo { font-weight: 900; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.15em; color: #fff; user-select: none; } nav ul { list-style: none; display: flex; gap: 2rem; } nav ul li a { color: #fff; font-weight: 600; font-size: 0.9rem; text-decoration: none; position: relative; transition: color 0.3s ease; user-select: none; } nav ul li a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 1.5px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; } nav ul li a:hover::after, nav ul li a.active::after { transform: scaleX(1); transform-origin: left; } /* SECTIONS */ section { padding: 100px 2rem 60px; max-width: 900px; margin: 0 auto; opacity: 0; transform: translateY(30px); transition: all 0.8s ease; } section.visible { opacity: 1; transform: translateY(0); } /* TYPOGRAPHY */ h1, h2 { font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; } h1 { font-size: 3.5rem; line-height: 1.1; } h2 { font-size: 2rem; } p { color: #bbb; font-size: 1rem; margin-bottom: 2rem; max-width: 600px; } /* BUTTONS */ a.button { display: inline-block; padding: 0.65rem 1.7rem; border: 2px solid #fff; text-transform: uppercase; font-weight: 700; font-size: 0.9rem; color: #fff; background: transparent; transition: background 0.3s ease, color 0.3s ease; } a.button:hover { background: #fff; color: #000; } /* COVER LOADER */ #cover { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; display: flex; justify-content: center; align-items: center; z-index: 3000; transition: opacity 0.5s ease; } #cover .cover-content h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1.5rem; } .loading-bar { width: 200px; height: 6px; background: #222; border-radius: 4px; overflow: hidden; } .loading-bar div { height: 100%; width: 0; background: linear-gradient(90deg,#fff,#888); animation: load 1s forwards; } @keyframes load { to { width: 100%; } } /* CUSTOM CURSOR */ .cursor { position: fixed; top: 0; left: 0; width: 12px; height: 12px; background: #fff; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border 0.25s ease, transform 0.15s ease; z-index: 2000; will-change: transform, width, height, background, border; } .cursor.text-hover { width: 3px; height: 24px; background: #fff; border-radius: 2px; } .cursor.interact-hover { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 2px solid #fff; border-radius: 50%; } .cursor.click-glow { box-shadow: 0 0 20px 6px rgba(255,255,255,0.4); transition: box-shadow 0.3s ease; } /* TEAM */ .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; } .team-member { background: #111; padding: 20px; border-radius: 12px; transition: transform 0.4s ease, opacity 0.6s ease, box-shadow 0.3s ease; opacity: 0; transform: translateY(30px); cursor: pointer; position: relative; } .team-member.visible { opacity: 1; transform: translateY(0); } .team-member img { width: 100%; border-radius: 50%; margin-bottom: 1rem; } .team-member h3 { font-size: 1.1rem; margin-bottom: 0.3rem; } .team-member p { margin: 0; font-size: 0.9rem; color: #bbb; } .team-member:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(255,255,255,0.1); } .skills-container { margin-top: 10px; } .skill { margin-bottom: 8px; } .skill p { font-size: 0.85rem; margin-bottom: 2px; } .progress-bar { width: 100%; height: 8px; background: #222; border-radius: 4px; overflow: hidden; } .progress-bar div { height: 100%; width: 0; background: #fff; border-radius: 4px; transition: width 1s ease; } .hidden { display: none; } /* STATS */ .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; padding: 80px 20px; border-top: 1px solid #222; } .stat h3 { font-size: 2.5rem; font-weight: 900; } .stat p { margin-top: 10px; font-size: 0.95rem; color: #bbb; } .stat { opacity: 0; transform: translateY(40px); transition: all 0.6s ease; } .stat.visible { opacity: 1; transform: translateY(0); } /* PROJECTS */ .project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; } .project-item { background: #111; padding: 20px; border-radius: 12px; box-shadow: 0 8px 20px rgba(255,255,255,0.05); transition: transform 0.4s ease, opacity 0.6s ease, box-shadow 0.3s ease; opacity: 0; transform: translateY(30px); cursor: pointer; } .project-item.visible { opacity: 1; transform: translateY(0); } .project-item:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(255,255,255,0.1); } .project-item img { width: 100%; border-radius: 8px; margin-bottom: 1rem; } /* BLOG */ .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; } .blog-card { background: #111; padding: 20px; border-radius: 12px; cursor: pointer; overflow: hidden; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; } .blog-card:hover { transform: scale(1.02); box-shadow: 0 8px 20px rgba(255,255,255,0.1); } .blog-card h4 { font-size: 1.1rem; margin-bottom: 5px; } .blog-card p { color: #bbb; font-size: 0.9rem; line-height: 1.3em; max-height: 5.2em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; } /* MODAL (fixed for scroll + full post view) */ .blog-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); display: flex; justify-content: center; align-items: center; padding: 40px; z-index: 4000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .blog-modal.active { opacity: 1; pointer-events: all; } .blog-modal-content { max-width: 800px; max-height: 90vh; overflow-y: auto; overflow-x: hidden; background: #111; padding: 30px; border-radius: 12px; line-height: 1.6; scrollbar-width: thin; scrollbar-color: #555 #111; } .blog-modal-content::-webkit-scrollbar { width: 8px; } .blog-modal-content::-webkit-scrollbar-thumb { background: #555; border-radius: 4px; } .blog-modal-content h2 { margin-bottom: 10px; color: #fff; } .blog-modal-content p { margin-bottom: 1rem; color: #ccc; white-space: pre-wrap; word-wrap: break-word; } /* SCROLL TO TOP BUTTON */ #scrollTopBtn { position: fixed; bottom: 20px; right: 20px; background: #fff; color: #000; border: none; padding: 10px 14px; border-radius: 50%; cursor: pointer; display: none; z-index: 5000; font-weight: bold; } /* RESPONSIVE */ @media (max-width: 600px) { h1 { font-size: 2.5rem; } h2 { font-size: 1.6rem; } } /* FIX: show custom cursor in modal */
/* PROFILE CARD */
.profile-card {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 8px 20px rgba(255,255,255,0.05);
  margin-top: 20px;
}
.profile-header {
  flex: 0 0 150px;
  text-align: center;
}
.profile-header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
.profile-header h3 {
  font-size: 1.2rem;
  margin: 0;
}
.skills-container {
  flex: 1;
}
.skill-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.skill-row p {
  margin: 0;
  width: 100px;
  font-size: 0.9rem;
}
.skill-row .progress-bar {
  flex: 1;
  height: 8px;
  background: #222;
  border-radius: 4px;
}
.skill-row .progress-bar div {
  height: 100%;
  background: #fff;
  border-radius: 4px;
}
.skill-row span {
  width: 40px;
  font-size: 0.8rem;
  color: #888;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background: #000;
  color: #555;
  font-size: 0.8rem;
  border-top: 1px solid #222;
}

/* Modal and cursors */
.blog-modal,
.blog-modal-content,
.blog-modal-content * {
  cursor: default !important;
}

