:root {
  --bg: #efe6ff; /* light violet */
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;

  font-family: "Futura", "Trebuchet MS", sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 25%;
  transform: translate(-50%, 0%);
  z-index: 50;
  margin: 0 auto;
}

.nav ul {
  list-style: none;

  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;

  opacity: 0.95;
}
.nav a.active {
  font-weight: 500;
}

/* text block on the left */
.hero-content {
  animation: fadeInUp 0.9s ease both;
}

.name {
  font-size: 72px;
  line-height: 0.9;

  font-weight: 600;
  letter-spacing: 0.6px;
}

.role {
  margin-top: 18px;

  color: var(--muted);
  letter-spacing: 1px;
}

/* Side dots */
.side-dots {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 60000;
  align-items: flex-end;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--bs-dark);
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: background 0.1s ease, transform 0.1s ease;
}

.dot::after {
  content: attr(data-label);
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  color: var(--bs-dark);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.1s ease, transform 0.1s ease;
}

/* hover/focus state */
.dot:hover,
.dot:focus {
  transform: scale(1.2);
  background: var(--bs-dark);
}
.dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-8px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.experience-title {
  font-size: 42px;
  font-style: italic;
}

.education-title {
  font-size: 42px;
  font-style: italic;
}

.contact-title {
  font-size: 42px;
  font-style: italic;
}
.contact-line {
  color: var(--muted);
  text-align: center;
}
.contact-socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.contact-socials .social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid;

  transition: background 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}
.contact-socials .social-icon svg {
  width: 18px;
  height: 18px;
}
.contact-socials .social-icon:focus-visible,
.contact-socials .social-icon:hover {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.6);
}
.contact-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.contact-field.full {
  grid-column: 1/-1;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.25);
  padding: 12px 14px;

  border-radius: 4px;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 212, 189, 0.8);
  border-color: transparent;
}
.contact-form textarea {
  resize: none;
  min-height: 140px;
}
.contact-submit {
  margin-top: 10px;
  grid-column: 1/-1;
  padding: 14px 24px;

  border-radius: 4px;
  border: 2px solid;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.about-panel {
  min-height: 90vh;
  padding: 110px 24px 96px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-content {
  max-width: 720px;
  text-align: center;
}
.about-title {
  font-size: 48px;
  font-style: italic;
}
.about-paragraph {
  line-height: 1.8;
  margin: 0 0 28px;
  color: var(--muted);
}
.about-highlight {
  font-weight: 700;
  margin-bottom: 0;
}

/* fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-image {
    width: 55%;
    height: 70%;
  }
  .hero-content {
    max-width: 45%;
    margin-left: 5%;
  }
  .name {
    font-size: 58px;
  }
}

.max-vh-100 {
  max-height: 100vh;
}

.object-fit-cover {
  object-fit: cover;
}

/* Hide scrollbar while maintaining scroll functionality */
.overflow-scroll {
  /* Hide scrollbar for webkit browsers (Chrome, Safari, Edge) */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer and Edge */
}

.overflow-scroll::-webkit-scrollbar {
  display: none; /* Webkit browsers */
}

/* CSS Scroll Snapping */
.content-container {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.content {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* CSS Scroll Snapping */
.content-container {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.content {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
