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

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

body {
  font-family: 'Inter', sans-serif;
  font-family: "Segoe UI", sans-serif;
  line-height: 1;
  background-color: #f4f4f4;
  color: #333;
  padding: 10px;
}

html {
  scroll-behavior: smooth;
}

/* ==== LOGO ==== */
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1a1a1a;
  text-decoration: none;
}

.logo span {
  color: #e40098;
}

/* ==== HEADER ==== */
header {
  background: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==== NAV ==== */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links li a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0072ce;
}

/* ==== SECCIONES GENERALES ==== */
section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.section {
  padding: 50px 0;
}

.bg-light {
  background-color: #f4f6f9;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.section-text {
  font-size: 1.2rem;
  color: #141212;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ==== CARDS Y GRID ==== */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #fff;
  padding: 50px;
  border: 1px solid #ddd;
  text-align: center;
  font-weight: 500;
}

/* ==== NOTICIAS ==== */
.news-item {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.news-item h3 {
  font-size: 1.3rem;
  color: #80147a;
}

/* ==== FORMULARIOS ==== */
form input, form textarea {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 5px;
}

form button {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #d8d1d1;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* ==== HERO ==== */
.hero-banner-rect {
  background-color: #000000;
  text-align: center;
  padding: 1px 0;
}

.hero-banner-rect img {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: inline-block;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(22, 12, 12, 0.1);
}

.hero-video {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-modern {
  background: linear-gradient(to right, #f0f4f8, #ffffff);
  padding: 20px;
  text-align: center;
}

.hero-modern h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.hero-modern p {
  font-size: 1.2rem;
  color: #0c0a0a;
  max-width: 500px;
  margin: 0 auto 30px;
}

.hero-modern .btn-primary {
  padding: 12px 25px;
  font-size: 1rem;
}

/* ==== INSTAGRAM PROMO ==== */
.instagram-promo {
  background-color: #ffffff;
  text-align: center;
  padding: 20px 10px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
  gap: 20px;
}

.instagram-promo .insta-link {
  flex: 1;
  text-align: center;
  color: #E1306C;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.instagram-promo .insta-link:hover {
  color: #c2175d;
}

.instagram-promo img.banner-instagram {
  flex-shrink: 0;
  width: 100px !important;
  max-width: 100px !important;
  height: auto !important;
  display: block;
  margin: 15px auto 0;
  border-radius: 8px;
}

/* ==== SECCIÓN SOBRE MÍ ==== */
.seccion-quien-soy {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.seccion-quien-soy .imagen img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}

.seccion-quien-soy .texto {
  flex: 1;
}

.seccion-quien-soy .imagen,
.seccion-quien-soy .texto {
  opacity: 1 !important; /* siempre visible */
}

@media (max-width: 768px) {
  .seccion-quien-soy {
    flex-direction: column;
    text-align: center;
  }
}

/* ==== ANIMACIONES ==== */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 1;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 1;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==== FOOTER ==== */
footer {
  text-align: center;
  margin-top: 20px;
}
.seccion-quien-soy .imagen,
.seccion-quien-soy .texto {
  opacity: 1 !important;
}
/* Para que el contenido no quede angosto */
body, html {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 100%;
  width: 100%;
  padding: 0 10px; /* un poco de espacio a los lados */
  box-sizing: border-box;
}

/* Para que las imágenes no se desborden */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* --- Ajustes generales para móviles --- */

/* Asegura que el contenido use todo el ancho disponible */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* evita scroll horizontal */
}

/* Contenedores */
.container, main, section {
  max-width: 100%;
  width: 100%;
  padding: 0 10px; /* margen lateral mínimo */
  box-sizing: border-box;
}

/* Imágenes adaptables */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ajuste de tipografía en pantallas pequeñas */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Si tu banner o imagen principal es muy grande */
  .banner, .hero img {
    width: 100%;
    height: auto;
  }
}
