/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía */
body {
  font-family: 'Julius Sans One', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Julius Sans One', sans-serif;
  color: #000;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Julius Sans One', serif;
  margin-bottom: 1rem;
}

/* Header */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(244, 237, 229, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(238, 238, 238, 0.3);
  z-index: 10;
}

/* Burger menu styles */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  position: relative;
}
.burger-bar {
  width: 28px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.burger-x {
  position: absolute;
  top: 9px;
  left: 9px;
  display: none;
  pointer-events: none;
}
.burger.open .burger-bar {
  opacity: 0;
}
.burger.open .burger-x {
  display: block !important;
}

/* Responsive nav menu */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70vw;
    max-width: 320px;
    background: rgba(244, 237, 229, 0.98);
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.77,0,.18,1);
    z-index: 15;
    opacity: 0;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-header {
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 900px) {
  .nav-menu a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 1.2rem;
  }
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #000;
  font-weight: bold;
}

/* Imagen central */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #111 url('../assets/Ana-Cozar-Moises-Fdez-Acosta-book-moifernandez-YX484rg3PyU8j5or.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  filter: grayscale(100%);
  z-index: -1;
  transition: background-position 0.3s, background-size 0.3s;
}

@media (min-width: 768px) {
  .background-image {
    background-position: center -30vh;
  }
}


/* Header y menú */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
}
.menu {
  display: flex;
  gap: 1rem;
}
.menu a {
  text-decoration: none;
  color: #555;
}
.menu a.active,
.menu a:hover {
  color: #000;
}

.page-content {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #fff;
}

/* Secciones */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* HERO SECCIÓN */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Un poco más oscuro para mejor contraste */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6rem 2rem 2rem 2rem; /* Más padding superior para dejar espacio al navbar */
}

/* ICONOS REDES */
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons svg {
  width: 32px;
  height: 32px;
  fill: white;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.social-icons__link {
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.social-icons__link:hover {
  transform: scale(1.1);
}

/* TEXTO CENTRAL */
.hero-text {
  text-align: center;
  color: #f5f5f5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.hero-text .frase {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 8rem;
  position: relative;
  top: -6rem;
}

.hero-text h1 {
  font-size: 4rem;
  letter-spacing: 0.15em;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  .background-image {
    background-position: center center;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background-size: cover;
  }

  .hero {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text .frase {
    font-size: 1rem;
    margin: 4rem 1rem 6rem;
    top: -2rem;
  }

  .social-icons svg {
    width: 20px;
    height: 20px;
  }

  .overlay {
    padding: 5.5  rem 1.5rem 2rem 1.5rem;
  }

  #creacion-audiovisual h1 {
    margin-bottom: 1.5rem;
  }
}

section {
  margin-bottom: 0;
}

/* Secciones después del hero */
.bio, .actriz, .contacto, .creacion-audiovisual, .publicaciones {
  background: white;
  color: #333;
  padding: 2rem 0;
  width: 100%;
  margin: 0;
  font-family: 'Abhaya Libre', serif;
  font-size: 18px;
}

.bio > *, .actriz > *, .contacto > *, .creacion-audiovisual > *, .publicaciones > * {
  margin: 0 auto;
  padding: 0 2rem;
}

section h1, section h2 {
  margin-bottom: .5rem;
  padding-bottom: .25rem;
  text-align: center;
}

.actriz, .contacto {
  background-color: rgb(244,238,231);
}

/* Específicamente para el título ACTRIZ */
.actriz h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.actriz h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
ul {
  list-style: none;
}
ul li {
  margin-bottom: .5rem;
}

/* Teatro section - smaller font size for list items */
.actriz h3 {
  margin: 12px 0;
}
.actriz h4 {
  font-size: 16px;
}
.actriz h4, ul>li {
  font-size: 14px;
}
.list-styled {
  list-style: inside;
}
.video-reel {
  display: flex;
  justify-content: center;
  max-width: 1167px;
  padding: 0;
  margin: 0 auto 30px;
}

/* Bio content layout */
.bio-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.bio-text {
  flex: 0 0 50%;
}

.bio-text p {
  margin-bottom: 1rem;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.bio-image {
  flex: 0 0 50%;
}

.bio-image img {
  width: 100%;
  height: auto;
}

/* Responsive para bio */
@media (max-width: 768px) {
  .bio-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .bio-image {
    flex: none;
    max-width: 220px;
    margin: 0 auto;
  }
  .bio-text {
    font-size: 16px;
  }
  .actriz h1 {
    font-size: 2.2rem;
  }
  .actriz, .bio, .contacto, .creacion-audiovisual, .publicaciones {
    padding: 1.2rem 0;
    font-size: 16px;
  }
  .bio > *, .actriz > *, .contacto > *, .creacion-audiovisual > *, .publicaciones > * {
    padding: 0 1rem;
  }
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 180px);
    padding: 0 0.5rem;
    gap: 10px;
  }
  .gallery > div {
    min-height: 120px;
  }
  .contacto-content {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 1rem;
  }
  .contacto-image {
    max-width: 180px;
    margin: 0 auto;
  }
  .contacto-form {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
  .submit-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
  .video-reel, iframe {
    max-width: 100vw !important;
    width: 100% !important;
    height: 220px !important;
  }
  section h1, section h2 {
    font-size: 1.3rem;
    padding-bottom: 0.1rem;
  }
}

/* Contacto */
.contacto a {
  color: BLACK;
  text-decoration: none;
}

/* Contacto content layout */
.contacto-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.contacto-image {
  flex: 0 0 45%;
}

.contacto-image img {
  width: 100%;
  height: auto;
}

.contacto-form {
  flex: 0 0 45%;
}

.contacto-info {
  margin-bottom: 2rem;
}

.contacto-info p {
  margin-bottom: 1rem;
}

/* Formulario de contacto */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 0.75rem 2rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #000;
}


/* Responsive para contacto */
@media (max-width: 768px) {
  .contacto-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contacto-image {
    flex: none;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .submit-btn {
    align-self: stretch;
  }
}



/* GALLERY */

.gallery {
  box-sizing: border-box;
  display: grid;
  max-width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
  
  /* Mobile: 2x4 grid */
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 200px);
}

/* Tablet: 4x2 grid */
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    padding: 0 2rem;
  }
}

/* Desktop: 4x2 grid with larger images */
@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    max-width: 1200px;
    padding: 0;
  }
}


.gallery > div {
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Modal para imagen ampliada */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1001;
}

.close-modal:hover {
  color: #ccc;
}

/* Flechas de navegación del modal */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  padding: 0 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  user-select: none;
  z-index: 1001;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

/* Responsive para navegación del modal */
@media (max-width: 768px) {
  .modal-nav {
    font-size: 24px;
    padding: 8px 12px;
  }
  
  .modal-prev {
    left: 10px;
  }
  
  .modal-next {
    right: 10px;
  }
  
  .close-modal {
    top: 15px;
    right: 20px;
    font-size: 35px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* CREACIÓN AUDIOVISUAL */

.creacion-audiovisual h2 {
  text-align: start;
}


.imdb-button {
  display: inline-block;
  padding: 3px 8px;
  background: #f5c518;
  color: #222;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 10px;
  margin-left: 35px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Contenedor de laureles sobre el video */
.laurels-container {
  width: 100%;
  margin: 0 auto 10px auto;
}
.laurels-strip {
  background: #d2c6b6;
  /* Un beige más oscuro, coherente con la web */
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  max-width: 500px;
  min-width: 220px;
  width: 95%;
}
.laurel-img {
  height: 50px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
  background: transparent;
  transition: transform 0.2s;
}
.laurel-img:hover {
  transform: scale(1.07) rotate(-2deg);
}
@media (max-width: 900px) {
  .laurels-strip {
    width: 100%;
    gap: 10px;
    padding: 18px 10px 14px 10px;
  }
  .laurel-img {
    height: 45px;
    max-width: 70px;
  }
}
@media (max-width: 600px) {
  .laurels-strip {
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 2px 8px 2px;
  }
  .laurel-img {
    height: 45px;
    max-width: 48px;
  }
}



/* Botón scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(244, 237, 229, 0.9);
  color: #333;
  border: 2px solid rgba(51, 51, 51, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(244, 237, 229, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(51, 51, 51, 0.2);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top svg {
  transition: transform 0.2s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}