/* =========================================
   1. RESET & GENERAL
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #000;
  color: white;
  overflow-x: hidden;
}

/* =========================================
   2. NAVEGACIÓN (HEADER FIXED)
   ========================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-img-nav{
  width: 75px;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* =========================================
   3. HERO SECTION (LOGO IZQ | TEXTO DER)
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.03), rgba(0,0,0,0.9));
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  width: 90%;
}

.hero-logo-large {
  width: 350px;
  height: 350px;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeLeft 1.2s ease forwards;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

.hero-text p {
  font-size: 1.1rem;
  color: #ccc;
  letter-spacing: 2px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.5s;
}

/* HERO CONTENT LAYOUT */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  width: 90%;
}

.hero-logo-main {
  width: 350px;
  height: 350px;
  object-fit: contain;
  opacity: 0;
  animation: fadeLeft 1.2s ease forwards;
}

/* =========================================
   4. SECCIONES DE CONTENIDO (SOBRE MÍ / PINTURAS)
   ========================================= */
.container {
  max-width: 900px;
  margin: auto;
  padding: 100px 20px;
  text-align: center;
}

.about { background: #111; }

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px;
}

/* CONTENEDOR DE COLUMNAS */
.container-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  background: linear-gradient(to bottom, #000, #050505);
}

.main-column-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  letter-spacing: 3px;
}

/* GRID DE 3 COLUMNAS */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.column-item h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.column-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  text-align: left;
}

/* GRID DE IMÁGENES INFERIOR */
.images-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.images-footer-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.7);
}

.images-footer-grid img:hover {
  transform: translateY(-10px);
  filter: brightness(1);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .columns-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .column-item p {
    text-align: center;
  }
}

.content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  padding: 60px 0;
}

.content img {
  width: 400px;
  height: auto;
  object-fit: cover;
}

.text {
  max-width: 700px;
  color: white; /* Cambiado a blanco para fondo oscuro */
}

.text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
}

/* =========================================
   5. GALERÍA Y LIGHTBOX
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1200px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.4s;
}

.gallery-grid img:hover { transform: scale(1.03); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 2000;
}

.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox-img { max-width: 85%; max-height: 75%; object-fit: contain; }

.lightbox-caption {
  margin-top: 20px;
  color: white;
  background: rgba(255,255,255,0.1);
  padding: 10px 25px;
  border-left: 3px solid white;
  max-width: 80%;
  text-align: center;
}

/* =========================================
   6. VIDEOS
   ========================================= */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  width: 100%;
}

video {
  width: 100%;
  background: #111;
  border: 1px solid #333;
}

/* =========================================
   7. MINICUENTOS SECTION
   ========================================= */
.minicuentos-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.5) 0%, rgba(20, 20, 20, 0.5) 100%);
}

.minicuentos-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.section-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 60px;
  font-size: 1.1rem;
  font-weight: 300;
}

.minicuentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.minicuento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.minicuento-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.minicuento-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.card-content p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.read-more:hover {
  border-bottom-color: white;
  padding-left: 5px;
}

.cuentos-cta {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 15px 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: scale(1.05);
}

/* =========================================
   8. ANIMACIONES Y REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1.2s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   8. FOOTER
   ========================================= */
.main-footer {
  background: #050505;
  padding: 80px 60px 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand .logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 4px; margin-bottom: 15px; }
.footer-brand p { color: #888; font-size: 0.9rem; line-height: 1.6; }
.main-footer h4 { font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 25px; text-transform: uppercase; }
.footer-nav ul { list-style: none; }
.footer-nav a, .social-links a { color: #888; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-nav a:hover, .social-links a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #444;
  font-size: 0.8rem;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  nav {
    padding: 20px 40px;
  }

  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero-wrapper {
    gap: 40px;
    width: 95%;
  }

  .hero-logo-large {
    width: 300px;
    height: 300px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .columns-grid {
    grid-template-columns: 1fr 1fr;
  }

  .minicuentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  nav {
    padding: 15px 30px;
  }

  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 0.75rem;
  }

  .logo-img-nav {
    width: 60px;
  }

  .hero {
    height: 80vh;
  }

  .hero-wrapper,
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-logo-large,
  .hero-logo-large {
    width: 250px;
    height: 250px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .content {
    flex-direction: column;
    text-align: center;
  }

  .content img {
    width: 100%;
    height: 400px;
  }

  .columns-grid {
    grid-template-columns: 1fr;
  }

  .column-item {
    padding: 30px 20px;
  }

  .column-item h3 {
    font-size: 1.3rem;
  }

  .column-item p {
    font-size: 0.9rem;
  }

  .minicuentos-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
    gap: 15px;
  }

  nav ul {
    gap: 8px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.65rem;
  }

  .logo-img-nav {
    width: 50px;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .overlay {
    background: radial-gradient(circle at center, rgba(255,255,255,0.02), rgba(0,0,0,0.95));
  }

  .hero-wrapper,
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    width: 95%;
  }

  .hero-logo-large,
  .hero-logo-large {
    width: 180px;
    height: 180px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    letter-spacing: 1px;
  }

  .about {
    padding: 40px 20px;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .about p {
    font-size: 0.85rem;
  }

  .section {
    padding: 100px 15px 60px;
  }

  .main-column-title {
    font-size: 1.8rem;
  }

  .column-item {
    padding: 20px 15px;
  }

  .column-item h3 {
    font-size: 1.1rem;
  }

  .column-item p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .images-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .images-footer-grid img {
    height: 250px;
  }

  .content {
    gap: 20px;
    padding: 30px 15px;
    align-items: center;
  }

  .content img {
    width: 100%;
    height: 300px;
  }

  .content h2 {
    font-size: 1.3rem;
  }

  .content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .minicuentos-section {
    padding: 40px 15px;
  }

  .minicuentos-section h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .minicuento-card {
    border-radius: 6px;
  }

  .card-image {
    height: 200px;
  }

  .card-content {
    padding: 20px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.8rem;
  }

  .read-more {
    font-size: 0.8rem;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 0.8rem;
  }

  .main-footer {
    padding: 40px 20px 20px;
  }

  .footer-content {
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-brand .logo {
    font-size: 1.2rem;
  }

  .footer-brand p {
    font-size: 0.75rem;
  }

  .main-footer h4 {
    font-size: 0.75rem;
    margin-bottom: 15px;
  }

  .footer-nav a,
  .social-links a {
    font-size: 0.75rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }
}
  

  .hero-wrapper {
    gap: 20px;
  }

  .hero-logo-large {
    width: 200px;
    height: 200px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .hero-text p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .about {
    padding: 40px 20px;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .about p {
    font-size: 0.85rem;
  }

  .section {
    padding: 100px 15px 60px;
  }

  .main-column-title {
    font-size: 1.8rem;
  }

  .column-item {
    padding: 20px 15px;
  }

  .column-item h3 {
    font-size: 1.1rem;
  }

  .column-item p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .images-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .images-footer-grid img {
    height: 250px;
  }

  .content {
    gap: 20px;
    padding: 30px 15px;
    align-items: center;
  }

  .content img {
    width: 100%;
    height: 300px;
  }

  .content h2 {
    font-size: 1.3rem;
  }

  .content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .minicuentos-section {
    padding: 40px 15px;
  }

  .minicuentos-section h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .minicuento-card {
    border-radius: 6px;
  }

  .card-image {
    height: 200px;
  }

  .card-content {
    padding: 20px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.8rem;
  }

  .read-more {
    font-size: 0.8rem;
  }

  .btn-primary {
    padding: 12px 30px;
    font-size: 0.8rem;
  }

  .main-footer {
    padding: 40px 20px 20px;
  }

  .footer-content {
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-brand .logo {
    font-size: 1.2rem;
  }

  .footer-brand p {
    font-size: 0.75rem;
  }

  .main-footer h4 {
    font-size: 0.75rem;
    margin-bottom: 15px;
  }

  .footer-nav a,
  .social-links a {
    font-size: 0.75rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }


@media (max-width: 480px) {
  nav {
    padding: 10px 12px;
  }

  nav ul {
    gap: 5px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.6rem;
  }

  .logo-img-nav {
    width: 40px;
  }

  .hero {
    height: 60vh;
    min-height: 500px;
  }

  .hero-wrapper,
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    width: 95%;
  }

  .hero-logo-large {
    width: 130px;
    height: 130px;
  }

  .hero-text h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .hero-text p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .about {
    padding: 30px 15px;
  }

  .about h2 {
    font-size: 1.2rem;
  }

  .about p {
    font-size: 0.75rem;
  }

  .section {
    padding: 80px 10px 40px;
  }

  .main-column-title {
    font-size: 1.5rem;
  }

  .column-item {
    padding: 15px 10px;
  }

  .column-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .column-item p {
    font-size: 0.75rem;
  }

  .images-footer-grid img {
    height: 200px;
  }

  .content {
    gap: 15px;
    padding: 20px 10px;
    flex-direction: column;
  }

  .content img {
    width: 100%;
    height: 200px;
  }

  .content h2 {
    font-size: 1.1rem;
  }

  .content p {
    font-size: 0.75rem;
  }

  .minicuentos-section {
    padding: 30px 10px;
  }

  .minicuentos-section h2 {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }

  .card-image {
    height: 150px;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .card-content p {
    font-size: 0.7rem;
    margin-bottom: 12px;
  }

  .read-more {
    font-size: 0.7rem;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 0.75rem;
  }

  .main-footer {
    padding: 30px 12px 15px;
  }

  .footer-content {
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-brand .logo {
    font-size: 1rem;
  }

  .footer-brand p {
    font-size: 0.7rem;
  }

  .main-footer h4 {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }

  .footer-nav a,
  .social-links a {
    font-size: 0.7rem;
  }

  .footer-bottom p {
    font-size: 0.65rem;
  }
}