* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'EB Garamond', serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

/* Navegación */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-logo a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-logo a:hover {
  color: #00FFA3;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00FFA3;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00FFA3;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Container principal */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 150px 40px 80px;
  position: relative;
}

.header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.profile-section {
  position: sticky;
  top: 150px;
}

.profile-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-wrapper:hover {
  transform: scale(1.05) rotate(2deg);
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: #1a1a1a;
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s ease;
  filter: grayscale(20%);
}

.profile-wrapper:hover .profile-image {
  filter: grayscale(0%);
  border-color: rgba(0, 255, 163, 0.6);
}

.profile-accent {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b9029 0%, #709d65 100%);
  top: -20px;
  right: -20px;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.camera-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #58ff42 0%, #496d52 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(88, 255, 66, 0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.camera-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b6433 0%, #5f9f6b 100%);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.social-link:hover svg {
  transform: scale(1.2) rotate(10deg);
}

.header-content {
  padding-top: 40px;
}

.name {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #e7e9e8 0%, #449053 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: 1.5rem;
  color: #567756;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.description {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #b0b0b0;
  margin-bottom: 40px;
  max-width: 700px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Responsive Header */
@media (max-width: 1024px) {
  .floating-photos {
    display: none;
  }

  .header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .profile-section {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .name {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 30px;
  }

  .nav-links {
    display: none;
  }

  .container {
    padding: 120px 20px 40px;
  }

  .name {
    font-size: 2.5rem;
  }

  .title {
    font-size: 1.2rem;
  }

  .description {
    font-size: 1rem;
  }

  .profile-wrapper,
  .profile-image,
  .profile-accent {
    width: 220px;
    height: 220px;
  }
}

/* ============================================
           SECCIONES ABOUT (2 y 3)
           ============================================ */

.about-section {
  position: relative;
  padding: 100px 10%;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}

/* Texto con el mismo estilo que la sección principal */
.about-text {
  position: relative;
  z-index: 2;
  padding-right: 40px;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #e7e9e8 0%, #449053 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  line-height: 1.1;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #b0b0b0;
  max-width: 650px;
}

/* Contenedor multimedia */
.about-media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 0;
}

/* Bloques visuales */

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vertical */
.foto-vertical,
.video-vertical {
  grid-column: span 2;
  grid-row: span 2;
}

/* Horizontal */
.video-horizontal {
  grid-column: span 3;
  grid-row: span 1;
}

/* Efecto collage con desplazamientos */
.foto-vertical:nth-child(1) {
  transform: translate(-30px, -20px);
  z-index: 2;
}

.video-horizontal {
  transform: translate(1px, -60px);
  z-index: 1;
}

.foto-vertical:nth-child(3) {
  transform: translate(-20px, -40px);
  z-index: 2;
}

/* Nueva foto horizontal */


.foto-horizontal {
  grid-column: span 3;
  grid-row: span 1;
  transform: translate(380px, -405px); /*  mueve la foto a la derecha y hacia arriba */
  z-index: 2;
}

/* Sección 3 - Texto a la derecha */
.about-section:last-child .about-text {
  padding-right: 0;
  padding-left: 40px;
}

/* Responsive About Sections */
@media (max-width: 900px) {
  .about-section {
    padding: 60px 5%;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2.5rem;
  }

  .about-text p {
    max-width: 100%;
  }

  .about-media {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .foto-vertical:nth-child(1),
  .video-horizontal,
  .foto-vertical:nth-child(3),
  .foto-horizontal {
    transform: none;
  }
}

@media (max-width: 600px) {
  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-media {
    grid-auto-rows: 150px;
  }
}










/* Título central "Street ENERGY" */
.street-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  line-height: 1;
}

.street-title span {
  display: block;
  font-family: 'Brush Script MT', cursive;
  font-size: 3.5rem;
  font-weight: 700;
}

/* Segunda fila (texto + fotos) */
.street-media-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
  flex-wrap: wrap;
}

.street-media-row .media img {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}


