@view-transition {
    navigation: auto;
  }
.navbar {
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: #3E5690;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-hero {
    height: 70vh;
    margin-top: 0;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.hero-partners {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: right;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    font-weight: 400;
}

.partners-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-partners .partner-item {
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    width: 120px;
    filter: brightness(1.5);
    transition: all 0.3s ease;
}

.hero-partners .partner-item:hover {
    transform: scale(1.05);
    filter: brightness(1.8);
}

.hero-partners .partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.project-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.project-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-status.finalizado {
    background: var(--primary-green);
    color: white;
}
.project-status.en-curso {
    background: var(--primary-blue);
    color: white;
}

.project-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.project-date {
    font-size: 1.2rem;
    opacity: 0.9;
}

.project-content {
    padding: 4rem 0;
    background: var(--light-gray);
}

.project-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.project-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-section {
    margin-bottom: 0rem;
    background: white;
    padding: .1rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 2rem;
}


h1{
    font-family: Arial, sans-serif!important;
}
.project-section h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.project-section h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.objective-specific {
    padding-top: 2rem;
}	

.objective-specific ul {
    list-style: none;
    padding: 0;
}

.objective-specific li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.objective-specific li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.ods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ods-item {
    text-align: center;
}

.ods-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.impact-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.impact-item p {
    margin: 0;
    color: var(--text-color);
    flex: 1;
}

.impact-number {
    font-size: 3rem;
    color: var(--primary-blue);
    font-weight: 300;
    display: block;
    margin-bottom: 1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
}

.partner-item {
    text-align: center;
}

.partner-item img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 2.5rem;
    }

    .project-section {
        padding: 2rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-partners {
        bottom: 10px;
        right: 10px;
    }
    
    .partners-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .partners-container {
        gap: 10px;
        max-width: 90vw;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-partners .partner-item {
        height: 40px;
        width: 80px;
        padding: 5px;
    }
}

/* Galería de imágenes */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
}

/* Contenedor de donación derecho */
.project-donation-sidebar {
    position: relative;

    height: fit-content;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.donation-card {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.donation-goal {
    text-align: center;
}

.goal-amount {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.progress-container {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 4px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.donate-button3 {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;

}
.donate-button:hover {
    background: var(--primary-blue-dark);
}

.donation-info {
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.donation-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .project-container {
        grid-template-columns: 1fr;
    }
    
    .project-donation-sidebar {
        position: relative;
        top: 0;
    }
}

/* Añadir estos estilos al final del archivo */

.sidebar-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sidebar-ods {
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.sidebar-ods h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sidebar-ods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sidebar-ods-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.location-info {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.location-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.location-info .ranking {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #888;
}

.events-section {
    margin: 2rem 0;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.event-date {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.date-day {
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.date-month {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    text-transform: uppercase;
}

.date-year {
    font-size: 1rem;
    opacity: 0.8;

}

.event-content {
    padding: 1.5rem;
}

.event-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.info-row i {
    color: var(--primary-blue);
    width: 20px;
    font-size: 1.1rem;
}

.event-activities h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.activities-list {
    list-style: none;
    padding: 0;
}

.activities-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.activities-list li:last-child {
    border-bottom: none;
}

.activities-list i {
    color: var(--primary-blue);
    width: 20px;
    font-size: 1.1rem;
}

.event-header h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}
.container-date {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin: 0;

}

@media (max-width: 768px) {
    .event-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .event-date {
        margin-bottom: 1rem;
        min-width: 120px;
    }

    .date-day {
        font-size: 2rem;
    }
}

.status-badge.en-desarrollo {
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.9rem;
}

.phase-section .phase-status {
    margin-bottom: 2rem;
}

.phase-details ul {
    list-style: none;
    padding: 0;
}

.phase-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.phase-details i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.partners-intro {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.timeline-section {
    margin: 0rem 0;
}

.timeline-details {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.timeline-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.timeline-content h4 {
    color: var(--primary-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 0;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .timeline-details {
        flex-direction: column;
        gap: 1rem;
    }
 
}

@font-face {
    font-family: 'GALISCKA';
    src: url('../assets/font/GALISCKA-Regular-BF65ce4e25cffd9.otf') format('opentype'),
         url('../assets/font/GALISCKA-Regular-BF65ce4e261cfed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1{
    font-family: 'GALISCKA', Arial, sans-serif;
}

/* Estilos para la sección de transparencia */
.transparency-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transparency-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.transparency-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transparency-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.transparency-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.transparency-button i {
    font-size: 1.2em;
    color: #666;
}

/* Barras de progreso personalizadas para proyectos en curso */
.project-progress-custom {
  display: flex;
    align-items: center;
  gap: 24px;
  border: none;
}

.project-allies-custom {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 120px;
  margin-left: 16px;
}
.project-allies-custom img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}
.project-img-custom {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  display: block;
}
.project-info-custom {
  flex: 1;
  min-width: 0;
}
.progress-label {
  font-size: 1rem;
  margin-bottom: 2px;
  margin-top: 8px;
  letter-spacing: 0.01em;
  font-weight: bold;
}
.progress-bar-custom {
  width: 100%;
  margin-bottom: 12px;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
  height: 22px;
  position: relative;
}
.progress-bar-custom.progress-bg-green {
  background: #93b48779;
}
.progress-bar-custom.progress-bg-purple {
  background: #bbd7eb5d;
}
.progress-bar-custom.progress-bg-blue {
  background: #E8E8F0;
}
.progress-fill-green {
  background: #93B487;
  height: 100%;
  border-radius: 12px;
}
.progress-fill-purple {
  background: #99caec;
  height: 100%;
  border-radius: 12px;
}
.progress-fill-blue {
  background: #3C5D94;
  height: 100%;
  border-radius: 12px;
}
.progress-label-green {
  color: #7ea371;
}
.progress-label-purple {
  color: #47799c;
}
.progress-label-blue {
  color: #3C5D94;
}
.progress-right {
  float: right;
}

@media (max-width: 600px) {
  .project-progress-custom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .project-img-custom {
    margin-bottom: 10px;
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .project-progress-custom {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-allies-custom {
    flex-direction: row;
    margin-left: 0;
    margin-top: 16px;
    gap: 16px;
  }
}

.project-title-custom {
  color: #333;
  margin-bottom: 0;
}
.project-location-custom {
  color: #333;
  font-weight: bold;
  margin-bottom: 8px;
}

.project-card[data-status="en-curso"] {
  grid-column: 1/-1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 32px auto;
  display: block;
  border: none;
  box-shadow: none;
}

.project-allies-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3C5D94;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
} 

.project-allies-custom div{
    display: flex;
    flex-wrap: wrap;
    width: 250px;
    justify-content: center;
}
