/* Base */
body {
  margin: 0;
  font-family: 'Migra', serif;
  color: #f1e4e4;
  background: radial-gradient(circle at center, #161515 0%, #2c2a2a 100%);
  overflow-x: hidden;
}

/* Footer */
.site-footer {
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  padding: 2rem 1rem;
  color: #aaa;
  font-size: 0.875rem;
  border-top: 1px solid #333;
  margin-top: 4rem;
}

/* Hero */
.about-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.about-hero-text {
  position: absolute;
  bottom: 15%;
  left: 10%;
  z-index: 2;
}

.about-hero-text h1 {
  font-size: 5rem;
  line-height: 1.1;
  font-family: 'Migra', serif;
  color: #EB676C;
  animation: glitch 2s infinite;
}

.about-hero-text p {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 1rem;
  line-height: 1.8;
}

/* Glitch effect */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

/* Side nav */
.side-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.side-nav a {
  padding: 12px 20px;
  border: 2px solid #EB676C;
  background-color: transparent;
  color: #EB676C;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  min-width: 100px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.side-nav a.logo-nav {
  padding: 0 !important;
  border: none !important;
  background: none !important;
  min-width: auto !important;
}

.side-nav a {
  position: relative;
  border: 2px solid #EB676C;
  color: #EB676C;
  background-color: transparent;
  background-image: linear-gradient(#EB676C, #EB676C);
  background-size: 100% 0%;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.3s ease, background-size 0.38s ease-in-out;
}

.side-nav a:hover {
  background-size: 100% 100%;
  color: #000000;
}

.side-nav a.active {
  background-size: 100% 100%;
  color: black;
  font-weight: bold;
}

.logo-nav {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  width: 50px;
  height: auto;
  object-fit: contain;
  filter: brightness(85%);
  transition: transform 0.3s ease;
  display: block;
}

.logo-image:hover {
  transform: scale(1.1);
}

.nav-vertical-line {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 80px;
  width: 2px;
  background-color: white;
  opacity: 0.3;
  z-index: 500;
}

/* About content */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* Blocks */
.about-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(40px);
  padding-right: 80px; 
}

.about-block:nth-child(even) {
  flex-direction: row-reverse;
}

.about-text h3 {
  font-size: 6rem;
  line-height: 0.9;
  color: #EB676C;
  margin: 0 0 1rem;
}

.about-text .outline {
  -webkit-text-stroke: 2px #EB676C;
  color: transparent;
}

.about-text p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.7;
  max-width: 480px;
}

/* Media styling */
.about-media img,
.about-media video {
  width: 100%;
  max-width: 550px;
  border: 3px solid #333;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s;
  transform: scale(0.85);
  transform-origin: center;
}

.about-media img:hover,
.about-media video:hover {
  transform: scale(1.0);
}

/* Link */
.link {
  color: #EB676C;
  text-decoration: underline;
}
.link:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .about-block {
    flex-direction: column !important;
    text-align: center;
  }
  .about-text h3 {
    font-size: 3.5rem;
  }
  .about-media img, .about-media video {
    max-width: 100%;
  }
}

/* Video styling */
.about-video {
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  position: relative;
}

/* let default controls exist but hide with opacity */
.about-video::-webkit-media-controls {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.about-video:hover::-webkit-media-controls {
  opacity: 1;
}

/* Optional wrapper for custom volume/play button */
.video-container {
  position: relative;
  display: inline-block;
}

.volume-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}
.volume-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Say Hi section */
.about-sayhi {
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  background: #1c1b1b;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  margin-top: 2rem;
}

.sayhi-text {
  font-size: 1.0rem;
  color: #eee;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sayhi-text .highlight {
  color: #EB676C;
  font-weight: 600;
}

.sayhi-email a {
  color: #EB676C;
  font-size: 1.0rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sayhi-email a:hover {
  color: white;
}
