* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f5f5f5;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-top: 10px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 10;
  background-color: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
}

.logo {
  color: #f5f5f5;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #aaaaaa;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #f5f5f5;
}

.reel {
  background-color: #0a0a0a;
  padding: 150px 20px 100px 20px;
  text-align: center;
}

.reel h2 {
  color: #f5f5f5;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.reel-item {
  cursor: pointer;
}

.reel-item.placeholder {
  cursor: default;
}

.reel-thumb {
  aspect-ratio: 4 / 5;
  background-color: #1a1a1a;
  border: 1px dashed #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.reel-thumb p {
  color: #666666;
  font-size: 0.85rem;
  font-weight: 300;
}

.reel-item:not(.placeholder):hover .reel-thumb {
  transform: scale(1.04);
  border-color: #555555;
}

.servicios {
  background-color: #0a0a0a;
  padding: 150px 20px 100px 20px;
  text-align: center;
}

.servicios h2 {
  color: #f5f5f5;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 60px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-card {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  padding: 40px 25px;
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.servicio-card:hover {
  border-color: #555555;
  transform: translateY(-5px);
}

.servicio-card h3 {
  color: #f5f5f5;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 15px;
}

.servicio-card p {
  color: #999999;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

.portfolio {
  background-color: #0a0a0a;
  padding: 150px 20px 100px 20px;
  text-align: center;
}

.portfolio h2 {
  color: #f5f5f5;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 60px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.portfolio-placeholder {
  aspect-ratio: 4 / 3;
  background-color: #1a1a1a;
  border: 1px dashed #3a3a3a;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-placeholder {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  text-align: left;
}

.portfolio-name {
  color: #f5f5f5;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.portfolio-ver {
  color: #999999;
  font-size: 0.8rem;
  font-weight: 300;
}

.sobre-mi {
  background-color: #0a0a0a;
  padding: 150px 20px 100px 20px;
}

.sobre-mi-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.foto-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #1a1a1a;
  border: 1px dashed #3a3a3a;
}

.sobre-mi-texto h2 {
  color: #f5f5f5;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.sobre-mi-texto p {
  color: #bbbbbb;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.contacto {
  background-color: #0a0a0a;
  padding: 150px 20px 120px 20px;
  text-align: center;
}

.contacto h2 {
  color: #f5f5f5;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.contacto-intro {
  color: #999999;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #f5f5f5;
  color: #0a0a0a;
  text-decoration: none;
  padding: 16px 40px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #cccccc;
}

.contacto-divider {
  color: #555555;
  font-size: 0.85rem;
  font-weight: 300;
  margin: 40px 0;
}

.contacto-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacto-form input,
.contacto-form textarea {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  color: #f5f5f5;
  padding: 14px 16px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #666666;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: #555555;
}

.contacto-form button {
  background-color: #f5f5f5;
  color: #0a0a0a;
  border: none;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto-form button:hover {
  background-color: #cccccc;
}

.whatsapp-gate {
  max-width: 400px;
  margin: 0 auto;
}

.pre-whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pre-whatsapp-form input {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  color: #f5f5f5;
  padding: 14px 16px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
}

.pre-whatsapp-form input::placeholder {
  color: #666666;
}

.pre-whatsapp-form input:focus {
  outline: none;
  border-color: #555555;
}

.pre-whatsapp-form button {
  background-color: #f5f5f5;
  color: #0a0a0a;
  border: none;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pre-whatsapp-form button:hover {
  background-color: #cccccc;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  width: 90%;
  max-width: 400px;
}

.lightbox-video-wrapper {
  position: relative;
  padding: 177.78% 0 0 0;
}

.lightbox-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-close {
  position: fixed;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 101;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .servicios-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .reel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sobre-mi-grid {
    grid-template-columns: 1fr;
  }

}

.form-success {
  display: none;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #141414;
  border: 1px solid #3a3a3a;
  color: #f5f5f5;
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center;
}

.form-success.active {
  display: block;
}

