/* Estilos base heredados */
@import url('../css/styles.css');

/* Estilos específicos para la página de ubicación */
.location-main {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-info, .map-container {
    flex: 1;
}

.contact-info h2, .map-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card {
    background-color: rgb(97, 255, 83);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

.info-card p {
    flex: 1;
}

.map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.transportation {
    background-color: rgb(207, 131, 131);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.transportation h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transport-method {
    margin-bottom: 1.5rem;
}

.transport-method h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Animaciones específicas */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-card:nth-child(1) { animation: fadeInUp 0.5s ease-out; }
.info-card:nth-child(2) { animation: fadeInUp 0.5s ease-out 0.2s forwards; opacity: 0; }
.info-card:nth-child(3) { animation: fadeInUp 0.5s ease-out 0.4s forwards; opacity: 0; }
.info-card:nth-child(4) { animation: fadeInUp 0.5s ease-out 0.6s forwards; opacity: 0; }
.map-container { animation: fadeInUp 0.5s ease-out 0.8s forwards; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
    .location-main {
        flex-direction: column;
    }
}