/* === Portfolio Site Styles === */

:root {
  --green: #00ff88;
  --black: #0a0a0a;
  --gray: #222;
  --white: #f5f5f5;
  --fade-duration: 300ms;
}

html, body {
  height: 100%;
  background-color: var(--black);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
  opacity: 1;
  transition: opacity var(--fade-duration) ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.fade {
  opacity: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 2rem;
  background-color: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logo img { 
height: 50px;
width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a.current-page {
  color: var(--green);
}

.nav-links a:hover {
  color: var(--green);
}

.section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: linear-gradient(circle from top left, #000000, #008000);
}

@media (max-width: 900px) {
  .section p {
    max-width: 80%;
    margin: 0 auto;
  }
}

.hero {
  position: relative;
  width: 100vw;
  height: 100%;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.welcome-text {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;

  /* Animated rainbow gradient */
  background: linear-gradient(
    270deg,
    #ff0000,
    #ff7f00,
    #ffff00,
    #00ff00,
    #0000ff,
    #4b0082,
    #8f00ff
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShift 8s ease infinite;
}

/* Gradient animation */
@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.quote-box {
  max-width: 500px;
  margin: 30px auto;
  padding: 25px 30px 20px 50px;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ff66, 0 0 30px #00ff66;
  font-family: 'Georgia', serif;
  position: relative;
  border: 1px solid #00ff66;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00ff66, 0 0 40px #00ff66;
}

/* Floating quote icon */
.quote-icon {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: #00ff66;
  text-shadow: 0 0 5px #00ff66, 0 0 15px #00ff66, 0 0 30px #00ff66;
  transform: rotate(-10deg);
}

.quote {
  font-size: 1.2rem;
  color: #00ff66;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.author {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #33ff99;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.icon-row a {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: transparent;
  color: #00ff55;
  box-shadow: 0 0 8px #00ff55;
  transition: all 0.25s ease;
  text-decoration: none;
}

.icon-row i {
  font-size: 1.2rem;
}

.icon-row a:hover {
  color: #000000;
  background: #00ff55;
  box-shadow: 0 0 12px #00ff55, 0 0 20px #00ff55;
  transform: scale(1.15);
}

footer {
  background-color: var(--gray);
  text-align: center;
  padding: 1rem;
  color: var(--white);
  font-size: 0.9rem;
  text-shadow: 0 0 5px #00ff55;
}

footer p {
  margin-top: 1rem;
}

@media (max-width: 500px) {
  .icon-row {
    gap: 1rem;
  }
}
