/* Global */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #04001e;
  color: white;
  overflow: hidden;
}

/* Header */
.header {
  background-color: #04001e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.header-left .logo img {
  height: 40px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header-left .logo img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #7ed957);
}

/* Navigation */
.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.header-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-nav ul li a:hover {
  color: #7ed957;
  text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

/* Content wrapper */
.content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Circles */
.circleS {
  position: absolute;
  width: 330px;
  height: 330px;
  top: 42%;       /* lower */
  left: 38%;      /* left */
  opacity: 0;
  mix-blend-mode: lighten;
  animation: moveLeftToCenter 2.5s ease forwards;
}

.circleB {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 22%;       /* higher */
  left: 44.5%;    /* right */
  opacity: 0;
  mix-blend-mode: lighten;
  animation: moveRightToCenter 2.5s ease forwards;
}

@keyframes moveRightToCenter {
  0% { transform: translateX(150px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes moveLeftToCenter {
  0% { transform: translateX(-150px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Center vertical line with dots */
.center-line {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  opacity: 0;
  animation: fadeInLine 2s ease forwards;
  animation-delay: 1.2s;
}

.center-line .line {
  width: 1px;
  height: 240px;
  background: white;
}

.center-line .dot {
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  margin: 8px 0;
}

@keyframes fadeInLine {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Text block */
.intro-text {
  position: relative;
  z-index: 3;
  color: white;
}

/* Prevent selection and copy for intro-text elements */
.intro-text h1,
.intro-text h2,
.intro-text p ,
.circleS ,
.circleB ,
.footer {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
  user-select: none;         /* Standard */
  pointer-events: none;      /* Prevent mouse-based copy */
}

/* Name (big, right circle) */
.intro-text h1 {
  position: relative;
  top: -80%;
  left: 80%;
  font-size: 3.5rem;
  font-weight: 350;
  margin: 0;
  opacity: 0;
  animation: slideInRight 2s ease forwards;
  animation-delay: 1.5s;
}

/* Subtitle (medium, left circle) */
.intro-text h2 {
  position: relative;
  top: 52%;
  right: 80%;
  font-size: 2.0rem;
  font-weight: 200;
  margin: 0;
  opacity: 0;
  animation: slideInLeft 2s ease forwards;
  animation-delay: 1.8s;
  text-align: right;
}

/* Skills (small, under divider) */
.intro-text p {
  position: relative;
  top: 20%;
  left: 65%;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 2s ease forwards;
  animation-delay: 2.1s;
}

/* Animations for text */
@keyframes slideInRight {
  0% { transform: translateX(200px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
  0% { transform: translateX(-200px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(-10px); opacity: 1; }
}

/* Footer Layout */
.footer {
  background-color: #04001e;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  font-size: 14px;
  position: relative;
}

.footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #7ed957;
  text-shadow: 0 0 6px rgba(255,255,255,0.7);
}

.footer-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;               /* align text + logo inline */
  align-items: center;         /* vertical alignment */
  gap: 6px;                    /* spacing between text and logo */
}

.footer-top {
  background-color: #04001e;
  padding: 6px 0;
  display: flex;
  justify-content: center;   /* center logo */
  align-items: center;
}

.footer-top img {
  height: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-top img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px #7ed957);
}

.footer-center small {
  margin: 0;
}

.linkedin-inline img {
  height: 18px;                /* slightly taller to match text */
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.linkedin-inline:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px #7ed957);
}