/* Sobre Nosotros Styles - Estudio Artesana */

/* Standard black background with white text for entire site */
body {
  background: #000;
  color: #fff;
}

.hero-section {
  position: relative;
  padding: 120px 0 80px;
  color: var(--white);
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
}

.about-content {
  padding: 80px 0 60px;
  background: #000;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-section {
  padding-top: 0;
  margin-top: 0;
}

/* Images on the left - take up 2/3 of the space */
.image-collage {
  order: -1; /* Move images to the left */
  margin-top: 3rem; /* Add space after header */
}

.image-collage .collage-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 180px);
  gap: 15px;
  max-width: none;
  height: auto;
}

.collage-item {
  position: relative;
  width: 100%;
  height: 100%;
  background: #333;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #444;
  transition: all 0.3s ease;
}

/* Create varied sizes for more interesting layout - 9 images in 3x4 grid */
.collage-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 1;
}

.collage-item:nth-child(2) {
  grid-column: span 1;
  grid-row: span 2;
}

.collage-item:nth-child(3) {
  grid-column: span 1;
  grid-row: span 1;
}

.collage-item:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}

.collage-item:nth-child(5) {
  grid-column: span 2;
  grid-row: span 1;
}

.collage-item:nth-child(6) {
  grid-column: span 1;
  grid-row: span 1;
}

.collage-item:nth-child(7) {
  grid-column: span 1;
  grid-row: span 1;
}

.collage-item:nth-child(8) {
  grid-column: span 1;
  grid-row: span 1;
}

.collage-item:nth-child(9) {
  grid-column: span 2;
  grid-row: span 1;
}

.collage-item:hover {
  border-color: var(--secondary-color);
  transform: scale(1.02);
}

/* Text on the right */
.story-section .section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.2;
}

.story-text p {
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.story-text strong {
  color: var(--secondary-color);
}

.story-text .quote {
    padding: 25px;
    background: rgba(192, 192, 192, 0.1);
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
    color: #fff;
    font-style: italic;
    font-size: 1.15rem;
    border-radius: 0 8px 8px 0;
}

.story-text .highlighted-text {
    background: rgba(192, 192, 192, 0.15);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--secondary-color);
}

.collage-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loading-placeholder .placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  gap: 8px;
}

.values-section {
  padding: 80px 0;
  background: #111;
  border-top: 1px solid #333;
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.value-card {
    background: rgba(192, 192, 192, 0.05);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--secondary-color);
    background: rgba(192, 192, 192, 0.1);
    transform: translateY(-5px);
}

.value-card h3 {
  color: #fff;
  margin: 15px 0 10px;
}

.value-card p {
  color: #ccc;
  line-height: 1.6;
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, #000 100%);
    border-top: 1px solid #333;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--accent-color);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .image-collage {
    order: 0; /* Reset order on mobile - put images after text */
  }
  
  .collage-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 160px);
  }
  
  .collage-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .collage-item:nth-child(9) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .about-content {
    padding: 40px 0;
  }
  
  .about-grid {
    gap: 40px;
  }
  
  .collage-grid {
    grid-template-rows: repeat(2, 160px);
  }
  
  .story-text p {
    font-size: 1rem;
  }
  
  .story-text .quote {
    padding: 20px;
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .collage-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
  
  .collage-item:nth-child(1),
  .collage-item:nth-child(2),
  .collage-item:nth-child(3),
  .collage-item:nth-child(4),
  .collage-item:nth-child(5),
  .collage-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  /* Show only 6 images on mobile view for better performance */
  .collage-item:nth-child(n+7) {
    display: none;
  }
  
  .story-section .section-title {
    font-size: 2rem;
  }
}

