/* Header */
header {
  background-color: #0d7c7d;
  color:#ffffff;
  padding: 25px 0;
}

.container-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.9rem;
  margin: 0;
  font-weight: 700;
}

.subtitulo {
  font-size: 0.95rem;
  color: #d9f1f2;
  font-style: italic;
  margin-top: 4px;
}

nav .menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav .menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav .menu li a:hover {
  color: #75736b;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav .menu {
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
  }

  .menu-toggle {
    display: block;
    font-size: 1.6rem;
    cursor: pointer;
    margin-top: 10px;
  }
}

/* 🕊 Estilo general para la página de planes internos */
.container {
  max-width: 700px;
  margin: 60px auto;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.page-title {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.page-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #4a90e2;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-subtext {
  font-size: 1rem;
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* 🧭 Progreso del plan */
.plan-progress {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background-color: #f5f9ff;
  border: 1px solid #d1e5ff;
  position: relative;
}

#day-title {
  font-size: 1.5rem;
  color: #1a60c7;
  margin-bottom: 15px;
}

#reading-text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.plan-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.plan-actions button {
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: bold;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.plan-actions button:hover {
  background-color: #357ab7;
}

.plan-actions button#markReadBtn {
  background-color: #2ecc71;
}

.plan-actions button#markReadBtn:hover {
  background-color: #27ae60;
}

/* 🌈 Responsive */
@media (max-width: 500px) {
  .plan-actions {
    flex-direction: column;
  }

  .container {
    padding: 25px 20px;
  }

  .page-title {
    font-size: 2rem;
  }

  #reading-text {
    font-size: 1rem;
  }
}

/* ✨ Animación suave al actualizar el día */
.plan-progress {
  animation: fadeIn 0.6s ease;
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 📊 Barra de progreso */
.progress-bar-container {
  width: 100%;
  height: 16px;
  background-color: #e5e5e5;
  border-radius: 8px;
  margin: 20px auto 30px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #4a90e2;
  width: 0%;
  transition: width 0.4s ease;
  border-radius: 8px;
}

.footer {
  background-color: #2c7a7b;
  color: white;
  padding: 50px 20px 30px;
  font-size: 0.95em;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-info, .footer-contacto, .footer-redes {
  flex: 1 1 280px;
}

.footer h4, .footer h5 {
  margin-bottom: 12px;
}

.footer a {
  color: #f0fdfd;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #2c7a7b(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.85em;
}

.contact-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.icon-item i {
  font-size: 1.8rem;
  color: #ffffff;
  background-color: #4a90e2;
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px#2c7a7b(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.icon-item i:hover {
  transform: scale(1.15);
}

.icon-item span {
  font-size: 0.95rem;
  color:#2c7a7b;;
  font-weight: 500;
}
.footer {
  background-color: #2c7a7b;;
  color: #f5f5f5;
  padding: 50px 20px 30px;
  font-size: 0.95rem;
  margin-top: 60px;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-info,
.footer-contacto,
.footer-redes {
  flex: 1 1 250px;
  min-width: 240px;
}

.footer-info h4,
.footer-contacto h5,
.footer-redes h5 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-info p,
.footer-contacto p {
  margin-bottom: 10px;
  color: #cccccc;
}

.footer-contacto svg,
.footer-redes svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  fill: #ffffff;
}

.footer-contacto a,
.footer-redes a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.footer-redes a svg {
  margin-right: 0;
}

.footer-redes a:hover,
.footer-contacto a:hover {
  color: #4a90e2;
  transform: scale(1.05);
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  color: #ffffff;
  font-size: 0.85rem;
  border-top: 1px solid #444;
  padding-top: 20px;
}

