/* ----------------- ESTILOS BÁSICOS ----------------- */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fuente más moderna */
  line-height: 1.6;
  margin: 0;
  background-color: #f4f4f4;
  color: #2c3e50;
}

header {
  background-color: #2c3e50;
  color: #fff;
  padding-bottom: 10px;
}

/* ----------------- INTRO / HERO ----------------- */

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.intro-text {
  text-align: center;
  max-width: 320px;
}

.intro-text h1 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.intro-text p {
  margin: 0;
  font-size: 1rem;
  color: #bdc3c7;
}

/* ----------------- NAV ----------------- */

nav {
  background-color: #34495e;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #e74c3c; /* Color de acento al pasar el mouse */
  text-decoration: none;
}

/* ----------------- SLIDERS ----------------- */

.slider,
.slider-video {
  width: 250px;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  background-color: #000;
  border: 2px solid #fff;
}

.slider figure,
.slider-video figure {
  display: flex;
  position: relative;
  width: 1250px; /* 5 elementos x 250px */
  margin: 0;
  animation: slide 25s infinite; /* Un poco más rápido */
}

.slider img,
.slider-video video {
  width: 250px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slide {
  0%   { left: 0; }
  20%  { left: 0; }
  25%  { left: -250px; }
  45%  { left: -250px; }
  50%  { left: -500px; }
  70%  { left: -500px; }
  75%  { left: -750px; }
  95%  { left: -750px; }
  100% { left: -1000px; }
}

/* ----------------- CONTENIDO PRINCIPAL ----------------- */

main {
  padding: 20px 0;
}

section {
  padding: 30px;
  background-color: #fff;
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

section h2 {
  margin-top: 0;
  color: #2c3e50;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 10px;
}

.service-list ul {
    padding-left: 20px;
}
.service-list li {
    margin-bottom: 10px;
}

/* ----------------- CONTACTO & FORMULARIO ----------------- */

/* Estilos botones WhatsApp */
.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s, background-color 0.2s;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

.contact-methods {
    text-align: center;
    margin-bottom: 20px;
}

hr {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

/* Estilos del Formulario */
.form-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Para que el padding no rompa el ancho */
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical; /* Permite cambiar tamaño solo verticalmente */
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

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

.emails-info {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.emails-info a {
    color: #2980b9;
}

/* ----------------- FOOTER ----------------- */

footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* ----------------- RESPONSIVE ----------------- */

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
  }
  
  .slider, .slider-video {
      width: 100%;
      max-width: 300px; 
  }
  
  .intro-text h1 {
    font-size: 1.5rem;
  }
}
/* ----------------- BLOG / CONSEJOS (ADSENSE) ----------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.blog-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-card h3 {
  margin-top: 0;
  color: #2980b9;
  font-size: 1.2rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.blog-card a {
  display: inline-block;
  color: #e74c3c;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
}

.blog-card a:hover {
  text-decoration: underline;
  color: #c0392b;
}
/* Estilos botones TikTok */
.btn-tiktok {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  border: 1px solid #333333;
}

.btn-tiktok:hover {
  background-color: #222222;
  transform: translateY(-2px);
  /* Efecto visual con los colores de marca de TikTok */
  box-shadow: -2px 2px 0px #00f2fe, 2px -2px 0px #fe0979; 
}