.strikethrough {
  text-decoration: line-through;
  text-decoration-color: #333;
  text-decoration-thickness: 1px;
}

/* Complete redesign to match original Irene Kopelman layout exactly */
@font-face {
  font-family: "C_tesis";
  src: url("assets/fonts/C_tesis-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  font-size: 16px;
}

/* Header - exactly like original */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.artist-name {
  font-family: "C_tesis", serif;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.artist-name a {
  text-decoration: none;
  color: inherit;
}

.artist-name a:hover {
  color: #666;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-link.active {
  color: #000;
  font-weight: bold;
}

.nav-link:hover {
  color: #666;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
}

.lang-link {
  text-decoration: none;
  color: #999;
  font-size: 14px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.lang-link.active {
  color: #333;
}

.lang-link:hover {
  color: #333;
}

/* Navigation styles for separate pages */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left .artist-name {
  font-family: "C_tesis", serif;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-right a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-family: "C_tesis", serif;
  /* Updated navigation to use custom font */
  transition: color 0.3s ease;
}

.nav-right a.active {
  color: #000;
  font-weight: bold;
}

.nav-right a:hover {
  color: #666;
}

.nav-right .language-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 20px;
}

.nav-right .lang-option {
  color: #999;
  font-size: 14px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-right .lang-option.active {
  color: #333;
}

.nav-right .lang-option:hover {
  color: #333;
}

.nav-right .separator {
  color: #999;
  font-size: 14px;
}

/* Main content */
main {
  margin-top: 80px;
}

.section {
  display: none;
  min-height: calc(100vh - 80px);
}

.section.active {
  display: block;
}

/* Home section - exactly like original with centered image */
#home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.hero-image {
  max-width: 500px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Home gallery styles */
.home-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 50px 30px;
}

.gallery-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  /* Aumentado el ancho máximo */
  margin: 0 auto;
  overflow: hidden;
  /* Altura fija para evitar saltos cuando cambian las imágenes */
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Mantiene la proporción completa */
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image.active {
  opacity: 1;
  position: relative;
}

.gallery-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  /* Asegura que la imagen completa sea visible */
  transition: opacity 1s ease-in-out;
}

/* Responsive design - Mobile ajustado */
@media (max-width: 768px) {
  .home-gallery {
    padding: 40px 20px;
    min-height: calc(100vh - 120px);
  }

  .gallery-container {
    margin-bottom: 30px;
    height: 60vh;
    /* Altura menor en móvil */
    max-width: 100%;
  }

  .gallery-image img {
    max-width: 95%;
    max-height: 95%;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    height: 50vh;
  }

  .gallery-image img {
    max-width: 90%;
    max-height: 90%;
  }
}

/* Projects grid styles for procesos.html */
.projects-grid {
  margin-top: 80px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.project-item {
  text-align: center;
  /* Added hover effects for clickable project items */
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.project-item:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.project-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-item a:hover .project-info h3 {
  color: #666;
}

.project-info h3 {
  font-family: "C_tesis", serif;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.project-info p {
  font-size: 14px;
  color: #666;
}

/* Publications grid styles for publicaciones.html */
.publications-grid {
  margin-top: 80px;
  padding: 60px 40px;
  display: flex;
  /* Changed publications grid to single column layout */
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.publication-item {
  display: flex;
  /* Updated publication item to display as horizontal row */
  align-items: flex-start;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.publication-item:last-child {
  border-bottom: none;
}

.publication-item img {
  width: 150px;
  height: auto;
  flex-shrink: 0;
  margin-bottom: 0;
}

.publication-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  /* Updated publication item to display as horizontal row */
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  transition: opacity 0.3s ease;
}

.publication-item a:hover {
  opacity: 0.8;
}

.publication-item a:hover .publication-info h3 {
  color: #666;
}

.publication-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.publication-info h3 {
  font-family: "C_tesis", serif;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.publication-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.3;
}

.publication-info p:last-child {
  margin-bottom: 0;
}

/* Bio content styles for bio.html */
.bio-content {
  margin-top: 80px;
  padding: 60px 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.bio-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

.bio-text h2 {
  font-family: "C_tesis", serif;
  font-size: 20px;
  font-weight: normal;
  margin: 40px 0 20px 0;
  letter-spacing: 3px;
}

.bio-text h3 {
  font-family: "C_tesis", serif;
  font-size: 18px;
  font-weight: bold;
  margin: 30px 0 15px 0;
}

/* Content sections */
.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.content-text h2 {
  font-family: "C_tesis", serif;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 40px;
  letter-spacing: 3px;
  text-align: center;
}

.content-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.content-text h3 {
  font-family: "C_tesis", serif;
  font-size: 18px;
  font-weight: bold;
  margin: 30px 0 15px 0;
}

.content-text h4 {
  font-family: "C_tesis", serif;
  font-size: 16px;
  font-weight: bold;
  margin: 25px 0 10px 0;
}

/* Process content specific styles */
.definition-block {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.definition-block h3 {
  font-family: "C_tesis", serif;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.quote {
  font-style: italic;
  color: #666;
  font-size: 14px;
}

.method-reflection {
  margin: 40px 0;
  padding: 20px;
  background-color: #fafafa;
}

.method-title {
  text-align: center;
}

.method-title h2 {
  font-family: "C_tesis", serif;
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 4px;
  color: #333;
}

.vision-section {
  margin-top: 40px;
}

.vision-section h3 {
  font-family: "C_tesis", serif;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

/* Publications */
.publications-list {
  margin-bottom: 40px;
}

.publication {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.publication a {
  color: #333;
  text-decoration: underline;
  font-size: 16px;
  line-height: 1.6;
}

.publication span {
  font-size: 16px;
  line-height: 1.6;
}

/* Contact */
.content-text a {
  color: #333;
  text-decoration: underline;
}

/* Hidden content */
.hidden {
  display: none;
}

/* Instagram posts styles */
.instagram-posts {
  margin-top: 40px;
}

.instagram-post {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 5px;
}

.instagram-post h4 {
  font-family: "C_tesis", serif;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  main {
    margin-top: 120px;
  }

  #home {
    padding: 40px 20px;
  }

  .content-container {
    padding: 40px 20px;
  }

  .artist-name {
    font-size: 16px;
  }

  .hero-image {
    max-width: 100%;
  }

  .home-gallery {
    padding: 40px 20px;
  }

  .gallery-container {
    margin-bottom: 30px;
  }

  .navigation {
    padding: 15px 20px;
    flex-direction: column;
    gap: 20px;
  }

  .nav-right {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }



  .projects-grid,
  .publications-grid {
    margin-top: 120px;
    padding: 40px 20px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bio-content {
    margin-top: 120px;
    padding: 40px 40px;
  }

  .publications-grid {
    margin-top: 120px;
    padding: 40px 20px;
    gap: 25px;
  }

  .publication-item {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px 0;
    align-items: center;
  }

  .publication-item img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .publication-item a {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .publication-info {
    text-align: center;
    width: 100%;
    align-items: center;
  }

  .publication-info h3 {
    text-align: center;
    margin-bottom: 12px;
  }

  .publication-info p {
    text-align: center;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .main-nav {
    font-size: 14px;
    gap: 15px;
  }

  .content-text h2 {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .method-title h2 {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .nav-right {
    font-size: 14px;
    gap: 15px;
  }

  .projects-grid,
  .publications-grid {
    gap: 25px;
  }

  .project-info h3,
  .publication-info h3 {
    font-size: 14px;
  }

  .bio-text h2 {
    font-size: 18px;
    letter-spacing: 2px;
  }
}

/* PDF Viewer Page Styles */
.pdf-viewer-page {
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  font-family: "C_tesis", serif;
}

.pdf-header {
  background: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-link {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link:hover {
  color: #666;
}

.project-title {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}

.pdf-container {
  display: flex;
  height: calc(100vh - 80px);
  background: white;
}

.pdf-thumbnail {
  margin-bottom: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: all 0.2s ease;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pdf-thumbnail:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pdf-thumbnail.active {
  border-color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pdf-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.page-number {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  background: white;
}

.pdf-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  overflow: auto;
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: white;
}

.pdf-fallback {
  width: 100%;
  max-width: 800px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.pdf-fallback img {
  width: 100%;
  height: auto;
  display: block;
}

/* PDF Viewer Mobile Styles */
@media (max-width: 768px) {
  .pdf-header {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .pdf-container {
    flex-direction: column;
  }

  .pdf-thumbnail {
    min-width: 100px;
    margin-bottom: 0;
  }

  .pdf-main {
    padding: 1rem;
    min-height: 80vh;
  }

  .pdf-viewer {
    width: 100% !important;
    height: 90vh;
  }
}