:root {
    /* Nueva paleta con azul cielo como color principal */
    --azul-cielo: #87CEEB;
    --azul-cielo-oscuro: #5F9EA0;
    --azul-cielo-suave: #E1F5FE;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --texto-oscuro: #333333;
    --acento: #FFA500;  /* Naranja como color de acento */
}

/* Estilos generales */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--texto-oscuro);
    background-color: var(--gris-claro);
    line-height: 1.6;
}

/* Header */
.hero.is-primary {
    background: linear-gradient(135deg, var(--azul-cielo) 0%, var(--azul-cielo-oscuro) 100%);
    color: var(--blanco);
}

/* Estilos para el icono personalizado del menú */
.navbar-custom-toggle {
    cursor: pointer;
    display: block;
    position: relative;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.5rem;
    background: none;
    border: none;
}

.custom-hamburger {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Cuando el menú está activo */
.is-active .custom-hamburger {
    transform: rotate(90deg);
}

/* Ocultar el toggle original de Bulma */
.navbar-burger {
    display: none !important;
}

/* Estilos para móvil */
@media screen and (min-width: 1024px) {
    .navbar-custom-toggle {
        display: none;
    }
}

/* Tarjetas */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--azul-cielo-suave);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(135, 206, 235, 0.2);
}

.card-header {
    background-color: var(--azul-cielo-suave);
    padding: 1rem;
    border-bottom: 1px solid var(--azul-cielo);
}

/* Botones */
.button.is-primary {
    background-color: var(--azul-cielo);
    border-color: transparent;
    color: var(--blanco);
}

.button.is-primary:hover {
    background-color: var(--azul-cielo-oscuro);
}

/* Secciones */
.section {
    padding: 3rem 1.5rem;
}

.section-light {
    background-color: var(--azul-cielo-suave);
}

/* Timeline */
.timeline-marker {
    background-color: var(--azul-cielo) !important;
    border: 3px solid var(--azul-cielo-suave);
}

/* Footer */
.footer {
    background-color: var(--azul-cielo-oscuro);
    color: var(--blanco);
    padding: 2rem 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }
    
    .navbar-menu {
        background-color: var(--azul-cielo) !important;
    }
}

/* Slider de una sola imagen */
.slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 400px; /* Altura fija (ajusta según necesites) */
}

.slider-item {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al contenedor */
}

/* Puntos indicadores (opcionales) */
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.is-active {
    background: var(--azul-cielo);
}

/* Optimización para la imagen de fondo */
.hero.is-primary {
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

/* Efecto opcional para mejorar la legibilidad */
.hero-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-body > .container {
    position: relative;
    z-index: 1;
}

/* Estilos para el módulo de contacto */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.has-rounded-corners {
    border-radius: 8px !important;
}

/* Efecto hover para botones y enlaces */
.button.is-primary.is-outlined:hover {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

a.has-text-grey:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* Ajustes para móviles */
@media screen and (max-width: 768px) {
    .map-container {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }
    
    #contacto .columns.is-vcentered {
        flex-direction: column;
    }
    
    #contacto .column.is-6 {
        width: 100%;
    }
}


/* Estilos para el módulo de programas mejorado */
.program-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-header {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.has-background-warning .program-icon {
    color: rgba(0,0,0,0.8);
}

.program-body {
    padding: 1.5rem;
    flex-grow: 1;
    background: white;
}

.program-body p {
    margin-bottom: 1rem;
    color: #333;
}

.program-body ul {
    margin-top: 1rem;
    list-style-type: none;
}

.program-body li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
    color: #555;
}

.program-body li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Asegurar altura uniforme */
.columns.is-variable.is-6 {
    margin-left: -1rem;
    margin-right: -1rem;
}

.columns.is-variable.is-6 > .column {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .program-header {
        padding: 1.2rem;
    }
    
    .program-body {
        padding: 1.2rem;
    }
    
    .program-icon {
        font-size: 2rem;
    }
    
    .title.is-3 {
        font-size: 1.5rem;
    }
}

/* Estilo para el botón de donaciones */
.button.is-success {
    background-color: #2ecc71;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
}

.button.is-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

/* Asegurar que los botones no se superpongan en móviles */
@media screen and (max-width: 768px) {
    .navbar .buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .navbar .button {
        flex-grow: 1;
        justify-content: center;
    }
}

/* Estilos para el módulo de donaciones */
#donaciones {
    background: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.9)), 
                url('img/donation-bg.jpg') no-repeat center center/cover;
}

.donation-box {
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary);
}

.impact-stats {
    margin: 2rem 0;
}

.impact-item {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.impact-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--primary);
    border-radius: 50%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
}

.testimonial-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-top: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.testimonial-content p {
    margin-bottom: 0.5rem;
}

.quick-amounts .button {
    transition: all 0.3s ease;
}

.amount-btn {
    border-color: var(--primary);
    color: var(--primary);
}

.amount-btn:hover, .amount-btn.is-primary {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

#donation-form .button.is-success {
    background-color: #2ecc71;
    transition: all 0.3s ease;
}

#donation-form .button.is-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.transparency-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

/* Efectos psicológicos */
#donation-form input:focus, #donation-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.125em rgba(46, 134, 171, 0.25);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .donation-box {
        margin-top: 2rem;
    }
}



/* Estilos optimizados para el módulo de donaciones - PMH Honduras */
:root {
  --verde-pastoral: #48c78e;
  --azul-celeste: #3e8ed0;
  --verde-suave: #f0fdf4;
  --azul-claro: #f0f9ff;
  --degradado-primario: linear-gradient(135deg, var(--verde-pastoral) 0%, var(--azul-celeste) 100%);
}

/* Estructura principal */
#donaciones {
  background-color: var(--verde-suave);
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Títulos y texto */
#donaciones .title.is-2 {
  background: var(--degradado-primario);

  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
}

#donaciones .subtitle {
  color: #4a5568;
  font-weight: 400;
}

/* Tarjetas de contacto */
#donaciones .card {
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: white;
}

#donaciones .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#donaciones .card-content {
  padding: 2rem 1.5rem;
}

/* Botones */
#donaciones .button {
  font-weight: 600;
  border-radius: 8px;
  padding: 1.25em 1.75em;
  transition: all 0.3s ease;
  border: none;
  margin-top: 0.5rem;
}

#donaciones .button.is-success {
  background-color: var(--verde-pastoral);
}

#donaciones .button.is-info {
  background-color: var(--azul-celeste);
}

#donaciones .button:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

/* Notificación destacada */
#donaciones .notification.is-primary.is-light {
  background-color: rgba(72, 199, 142, 0.1);
  border-left: 4px solid var(--verde-pastoral);
  font-style: italic;
  color: #2d3748;
}

/* Iconos */
#donaciones .icon.is-large {
  transition: transform 0.3s ease;
}

#donaciones .icon.is-large:hover {
  transform: scale(1.1);
}

/* Responsividad mejorada */
@media screen and (max-width: 768px) {
  #donaciones {
    padding: 2rem 0;
  }
  
  #donaciones .column.is-8 {
    padding: 0 1rem;
  }
  
  #donaciones .box {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
  
  #donaciones .columns.is-vcentered {
    flex-direction: column;
  }
  
  #donaciones .column.is-6 {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  #donaciones .title.is-2 {
    font-size: 1.75rem;
  }
  
  #donaciones .subtitle.is-4 {
    font-size: 1.25rem;
  }
}

/* Efecto de "pulse" para destacar */
@keyframes subtlePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.highlight-pulse {
  animation: subtlePulse 4s infinite ease-in-out;
}

/* Mejoras de accesibilidad */
#donaciones a:focus, 
#donaciones button:focus {
  outline: 2px solid var(--azul-celeste);
  outline-offset: 2px;
}

#donaciones .content a {
  color: var(--azul-celeste);
  text-decoration: underline;
}

/* Efectos hover */
#donaciones .card:hover .icon.has-text-success {
  color: var(--verde-pastoral) !important;
}

#donaciones .card:hover .icon.has-text-info {
  color: var(--azul-celeste) !important;
}

/* Box principal */
#donaciones .box {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--verde-pastoral);
}

/* Estilos para el módulo de donaciones */
#donaciones-container {
    transition: all 0.3s ease;
}

.donate-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donate-button:hover {
    transform: scale(1.05);
}

.donate-button:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.donate-button:hover:after {
    left: 100%;
}

.close-donations {
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .donate-button {
        font-size: 0.875rem;
        padding: 0.75em 1em;
    }
}