:root {
  --dark: #2d3142;
  --steel: #4f5d75;
  --muted: #bfc0c0;
  --white: #ffffff;
  --accent: #ef8354;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: var(--dark);
  color: var(--white);
}

/* HERO */
.hero {
  height: 100vh;
  background: url("assets/bg.jpg") center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(45,49,66,0.9),
    rgba(79,93,117,0.85)
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 4rem 8%;
}

.hero-content span {
  color: var(--accent);
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

/* SECTIONS */
section {
  padding: 5rem 8%;
}

h2 {
  color: var(--accent);
  margin-bottom: 1.2rem;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* REACTOR */
.reactor {
  text-align: center;
}

.core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  margin: auto;
  display: grid;
  place-items: center;
  position: relative;
}

.pulse {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.skills {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.skill {
  padding: 1rem 1.6rem;
  background: var(--steel);
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.skill:hover {
  background: var(--accent);
  transform: translateY(-6px);
}

/* VALUES */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--steel);
  padding: 2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  background: var(--accent);
}

/* MODAL */
.info-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
}

.info-modal.active {
  opacity: 1;
  pointer-events: all;
}

.info-card {
  background: var(--dark);
  padding: 2.2rem;
  max-width: 520px;
  width: 90%;
  border-radius: 14px;
  border-left: 4px solid var(--accent);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
}

/* TOP HEADER */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 6%;
  display: flex;
  background: rgba(45,49,66,0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-link img {
  height: 40px;
  transition: transform 0.3s;
}

.logo-link:hover img {
  transform: scale(1.08);
}

.logo-hint {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-arrow {
  color: var(--accent);
  animation: arrowMove 1.2s infinite;
}

@keyframes arrowMove {
  50% {
    transform: translateX(6px);
  }
}

/* SCROLL INDICATOR – FINAL */
.scroll-indicator {
  position: fixed;
  right: 26px;
  bottom: 50%;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 999;
}

.scroll-indicator.show {
  opacity: 1;
}

.scroll-core {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.scroll-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse 2s infinite;
}

.scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  transform: rotate(45deg);
}

footer {
  text-align: center;
  padding: 2rem;
  background: #1f2230;
}



